Make Electron apps run on Ubuntu 19.10

Make Electron apps run on Ubuntu 19.10

With Electron, it’s easy to deploy your web application to the desktop, but it’s still a single page application. Software like Insomnia and Bootstrap Studio are a few samples of Electron build applications. These are not running out of the box in Ubuntu 19.

When trying to run Electon based apps on Ubuntu 19.10 you get the following error:

With Bootstrap Studio:

bootstrapstudio: error while loading shared libraries: libgconf-2.so.4: cannot open shared object file: No such file or directory

To overcome this you have to install the libgconf-2.so.4 library by entering the following command in a terminal session:

pr@mpt:/ sudo apt-get install libgconf-2-4

when entering:

pr@mpt:/ sudo apt-get install libgconf2-4

it runs into an error:

E: Package 'libgconf2-4' has no installation candidate

Make sure you type libgconf-2-4 and not libgconf2-4

After this your Electron based apps like Bootstrap Studio or Insomnia will run fine again.

Cinelerra video editor

When you install the free Cinelerra video editor you will also have a problem running it.

./cinelerra: error while loading shared libraries: libpng12.so.0: cannot open shared object file: No such file or directory

You can solve this by entering the following commands from a terminal session:

pr@mpt:/sudo add-apt-repository ppa:linuxuprising/libpng12
pr@mpt:/sudo apt-get update
pr@mpt:/sudo apt install libpng12-0

Now you can run Cinelerra.

Sources for this article

More from same category