I'm making some shortcuts to games I would normally run via terminal. For instance,
cd "$HOME/Unreal Tournament 2004/System/" ./ut2004-bin-linux-amd64
My work so far:
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Terminal=true Path=/home/nick/Unreal Tournament 2004/System/ Exec="/home/nick/Unreal Tournament 2004/System/ut2004-bin-linux-amd64" Name=UT2004 Icon=/home/nick/Unreal Tournament 2004/Help/UT2004Logo.png
Unlike Unreal, EDuke32 actually runs, however I can tell it does so in $HOME, and starts littering it with log files. UT2004 doesn't start with the .desktop file at all. I figure, both of these problems could be solved if there was a way to specify the starting path for each application. Unfortunately, I cannot
cd ... && ./... in the .desktop files.
How can I specify the "working directory" for each of these shortcuts?