I'm trying to create an application launcher for a program (unigine heaven), I've created a .desktop file which looks like this:
[Desktop Entry]
Version=1.0
Name=Unigine Heaven 4.0
Type=Application
Icon=heaven-icon.png
Exec=/home/**redacted**/Unigine_Heaven-4.0/heaven
Terminal=true
I've made the file executable, and tried to run it, and nothing happens. If i go into terminal inside /home/**redacted**/Unigine_Heaven-4.0/
and run ./heaven
, everything works as it should, I just can't get that terminal command to work within a .desktop file. Any ideas?
Edit: formatting for clarity
Exec=sh -c "cd /home/**redacted**/Unigine_Heaven-4.0; ./heaven"
? – Liso Oct 22 '17 at 06:52