Changed some names to be more accurate.
I have an app that I can run from terminal. The app exists in a folder in my home directory named ZereneStacker. The name of the app is also ZereneStacker. Right now, I only know how to run it from terminal and I do that like this.
cd ZereneStacker ./ZereneStacker.bsh
It runs fine this way.
I created a
.desktop file in
/usr/share/applications and named it
zerene.desktop. I made it executable. Here is the contents of
[Desktop Entry] Version=1.0 Name=Zerene Focus Stacker Comment=Focus Stacker GenericName=Focus Stacker Exec=./ZereneStacker.bsh Path=~/ZereneStacker Terminal=false Type=Application Categories=Photography StartupNotify=true
I stole most of this from another working
.desktop file. When I try and click on the icon in
/usr/share/applications, I get "There was an error launching this application". Since I know it loads fine when I do it form the terminal command line as outlined above, I know the problem is with what I did and not the program.
Sorry I tried to be generic in the original message to "simplify" only to have that backfire on me now.
.desktopfile you made? Also you meant
Path=~/ZereneStackerwith absolute paths.
Execentry is relative to the
Exec=./ZereneStacker.bshshould be fine.