I'm not sure if this is necessarily an elementary issue or not, but I'm guessing it might somewhat be. I just installed Ghost's (Electron) Desktop App using Eddy (as I've successfully done with other apps) and everything seemed to install fine. However, when I click on the app icon in the dock the icon bounces up, but then nothing happens – no app loads up. Any thoughts on why that might be?
Alright, so, this is an Electon/Ghost bug and it's documented here.
Some suggestions are
- Running Ghost from the terminal using sudo, you can do this by issuing this command:
- Changing the permissions for a particular folder which seems to be the origin of the issue, to do this run
sudo chmod -R +rx /usr/lib/Ghost/resources/app
The thing is, this didn't work for me. Running Ghost now without priveleges starts it but it comes to a halt after few seconds.
- Another solution (a very hacky, dirty solution):
If you want to avoid having to run Ghost from the terminal, you could do this:
Install gksu by running
sudo apt install gksu
sudo dpkg-reconfigure gksu
gksu is a graphical interface that will ask for your password when running a program with admin privileges.
Next, create a .desktop file in the folder .local/share/applications named ghost-desktop.desktop with the following content
[Desktop Entry] Terminal=false Type=Application Name=Ghost Exec=gksu /usr/lib/Ghost/Ghost Icon=Ghost Comment=Desktop Client for Ghost StartupWMClass=ghost-desktop
Open a terminal and run
chmod +x .local/share/application/ghost-desktop.desktop
If I you ask me, I would just save myself the effort and just use solution #1.