pencil icon indicating copy to clipboard operation
pencil copied to clipboard

Pencil Project installation Issue on ubuntu 18.04 LTS

Open waynelwh opened this issue 5 years ago • 14 comments

  • Operating system:Ubuntu 18.04 LTS
  • Pencil version:3.0.4 The pencil project seems not available on ubuntu 18.04 LTS. I have download the Pencil_3.0.4_amd64.deb and tried to install it but it didn't work. I have only got a icon in the "Show Application" and there is nothing when I clicked it. Also, when I tried to find the related software in "Ubuntu Software", I couldn't find it in "installed". I therefore downloaded and installed it in Windows 10 and everything is fine.

waynelwh avatar Jul 06 '18 15:07 waynelwh

Go the the directory that .deb file exists in it and try sudo apt install ./Pencil_3.0.4_amd64.deb && sudo apt install -f I just installed it using apt today

DarkSuniuM avatar Jul 06 '18 19:07 DarkSuniuM

Thanks for your reply! I have tried your way to install but it doesn't have any difference. The software icon is in "Show Application" but it cannot be opened like it is just a icon there. Also, it still cannot be found in "installed" in "Ubuntu Software". Apart from this, I previously got problem when I tried opening setting since it would be crashed and going back to the login page. I suspect it may be caused by removing the pencil project but I am not so sure about this since the problem was solved by downloading the drivers(fyi: https://ubuntuforums.org/showthread.php?t=2391819).

waynelwh avatar Jul 07 '18 17:07 waynelwh

I resolved my problem executing the commando to install a missing library packages. Try it:

sudo apt install libgconf-2-4

cavalcanteJr avatar May 03 '19 19:05 cavalcanteJr

Thanks!! the below command worked for me. sudo apt install libgconf-2-4

eternalamit5 avatar Oct 11 '19 11:10 eternalamit5

I installed latest version ofpencil from deb file,

# dpkg -i pencil_3.1.0.ga_amd64.deb 
Selecting previously unselected package pencil.
(Reading database ... 430013 files and directories currently installed.)
Preparing to unpack pencil_3.1.0.ga_amd64.deb ...
Unpacking pencil (3.1.0.ga) ...
Setting up pencil (3.1.0.ga) ...
# 

But nothing happen when i run it from Application launcher menu.

I also try to run it from the command line:

$ pencil 

(pencil:10562): Gtk-WARNING **: 23:54:18.912: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(pencil:10562): Gtk-WARNING **: 23:54:18.912: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(pencil:10562): Gtk-WARNING **: 23:54:18.912: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
Hardware acceleration disabled for Linux.
Background web-printer started.
Shortcut main service started.
Shortcut: Super+F12 registered
RENDERER started.

Info (kubuntu):

# lsb_release  -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.4 LTS
Release:	18.04
Codename:	bionic

Also I have this package:

# sudo apt install libgconf-2-4
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libgconf-2-4 is already the newest version (3.2.6-4ubuntu1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I also try to install from source but after running with npm start command, I got exactly the same error as before:

$ npm start

> Pencil@ start /home/or/ws/prj/git/pencil
> electron ./app


(electron:14405): Gtk-WARNING **: 01:09:13.490: Theme parsing error: gtk.css:68:35: The style property GtkButton:child-displacement-x is deprecated and shouldn't be used anymore. It will be removed in a future version

(electron:14405): Gtk-WARNING **: 01:09:13.490: Theme parsing error: gtk.css:69:35: The style property GtkButton:child-displacement-y is deprecated and shouldn't be used anymore. It will be removed in a future version

(electron:14405): Gtk-WARNING **: 01:09:13.490: Theme parsing error: gtk.css:73:46: The style property GtkScrolledWindow:scrollbars-within-bevel is deprecated and shouldn't be used anymore. It will be removed in a future version
useHWAConfig:  undefined
Hardware acceleration disabled for Linux.
Background web-printer started.
Shortcut main service started.
Shortcut: Super+F12 registered
RENDERER started.

omidraha avatar Feb 01 '20 20:02 omidraha

@omidraha same issue here. did you find a solution?

foxMclion avatar Mar 19 '20 23:03 foxMclion

@omidraha same issue here. did you find a solution?

Unfortunately No, But I installed unofficial version of pencil by snap successfully:

sudo apt update
sudo apt install snapd
sudo snap install pencil-snap-demo

omidraha avatar Mar 20 '20 10:03 omidraha

@omidraha same issue here. did you find a solution?

Hey I couldn't start the software either, even after reinstalling. Then I tried to debug the software using strace, and Pencil magically started. And it starts seemingly normally after that. Not sure if it is just my laptop/system but do try HAHAHAHA.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic
strace pencil

GlasierXplor avatar May 10 '20 13:05 GlasierXplor

With Ubuntu 18.04 , Pencil works fine, but on 20.04 , I have the same problem : to start pencil I need to use strace ,

` lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal

`

sparkyx avatar May 21 '20 07:05 sparkyx

Same here, thanks for the tip on using strace. lsb_release -a LSB Version: core-11.1.0ubuntu2-noarch:printing-11.1.0ubuntu2-noarch:security-11.1.0ubuntu2-noarch Distributor ID: Ubuntu Description: Ubuntu 20.04 LTS Release: 20.04 Codename: focal

lmorandini avatar Jul 19 '20 00:07 lmorandini

@omidraha same issue here. did you find a solution?

Unfortunately No, But I installed unofficial version of pencil by snap successfully:

sudo apt update
sudo apt install snapd
sudo snap install pencil-snap-demo

How to uninstall this one ? I installed but now official version is started properly working on my ubuntu. Unable to uninstall this unofficial snap version. Please help !

rohankshirsagar26 avatar Sep 14 '20 04:09 rohankshirsagar26

$ sudo snap remove pencil-snap-demo

omidraha avatar Sep 14 '20 16:09 omidraha

@omidraha same issue here. did you find a solution?

Hey I couldn't start the software either, even after reinstalling. Then I tried to debug the software using strace, and Pencil magically started. And it starts seemingly normally after that. Not sure if it is just my laptop/system but do try HAHAHAHA.

$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 18.04.4 LTS
Release:        18.04
Codename:       bionic
strace pencil

This response work for me

mmjjonah avatar Jan 06 '21 08:01 mmjjonah

Go the the directory that .deb file exists in it and try sudo apt install ./Pencil_3.0.4_amd64.deb && sudo apt install -f I just installed it using apt today

Works like a charm in Debian 11! Thank you!

diegoricardo89 avatar Nov 13 '21 13:11 diegoricardo89