-2

I'm running Ubuntu 14.04. I installed pencil and koala using sudo dpkg -i command, and they appear on the launcher but when I click on them nothing happens.

How can I fix this?

$ which pencil
/usr/bin/pencil
$ which koala
/usr/bin/koala
$ sudo ./koala
/usr/share/koala/koala: error while loading shared libraries: 
libudev.so.0: cannot open shared object file: No such file or directory
$ sudo ./pencil
/usr/bin/pencil: 4: /usr/bin/pencil: /usr/bin/xulrunner: not found
$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  ax25-node kde-l10n-engb libax25 linux-headers-3.13.0-32
  linux-headers-3.13.0-32-generic linux-image-3.13.0-32-generic
  linux-image-extra-3.13.0-32-generic openbsd-inetd
Use 'apt-get autoremove' to remove them.
Zanna
  • 70,465
Emjiz
  • 11

2 Answers2

1

I figured it out; I opened /usr/bin/pencil with nano, and changed /usr/bin/xulrunner --app "/usr/share/pencil/application.ini" to /usr/bin/firefox --app "/usr/share/pencil/application.ini"

Then I installed xulrunner for koala.

Zanna
  • 70,465
Emjiz
  • 11
0

Go to /usr/share/applications/your-app-that-doesnt-launch and right click on yourAppand go to Properties -> Permissions and check allow executing file as program if it is not checked. Done!!

Apurva
  • 441