I'm working to move more of my compouter usage to desktop Ubuntu, specifically Lubuntu 13.10, for both regular desktop applications and gaming (yeah Steam!). I've made pretty good success (Steam and my Steam games are running properly!) and I'm going to hold off on a dist-update to 14.04 for a bit yet. Right now, I'm trying to figure out .desktop files. I'm trying to launch a game openxcom , and from the terminal
works normally. I thought I could create a .desktop file for this game with this same commandline. Example:
openxcom -data ~/Programs/Games/XCom\ UFO\ Defense/XCOM
it seems like the aurgument "-data ~/Programs/Games/XCom\ UFO\ Defense/XCOM" is not being passed and I don't know why this should be or how to correct it. Ultimately I may want to add more games (or any other application) to my desktop, and need to pass these extra arguments. Any advice? Quick googling suggests this method should work, so I don't get it.
Comment=An open-source clone of the famous X-COM game
Exec=openxcom -data ~/Programs/Games/XCom\ UFO\ Defense/XCOM