Menu launcher doesn't work with parameters
Posted: Tue Jan 29, 2013 3:10 am
Hi everybody.
I'm trying to create a menu launcher for the old Hexen game in my Linux Mint 13. In order to do this, I need to run DOSbox with some parameters. I've made the launcher directly on the desktop and it works fine, but adding it to the main menu seems to break the DOSbox parameters. It runs without they. This is the content of the launcher file:
If I run it from ~/Escritorio/Hexen.desktop and it works fine, but from ~/.local/share/applications/Hexen.desktop , the default path for menu launchers, runs dosbox without the specified parameters.
Is this a bug? I've made some mistake?
Thanks for your replies!
I'm trying to create a menu launcher for the old Hexen game in my Linux Mint 13. In order to do this, I need to run DOSbox with some parameters. I've made the launcher directly on the desktop and it works fine, but adding it to the main menu seems to break the DOSbox parameters. It runs without they. This is the content of the launcher file:
Code: Select all
#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Type=Application
Terminal=false
Categories=Games;
Icon=/media/Datos/Joan/Juegos/MS-DOS/Hexen/hexen.png
Name=Hexen - Beyond Heretic
Comment=Id Software, 1995
Exec=dosbox -c 'cd Hexen' -c 'hexen.EXE' -scaler normal3x
Is this a bug? I've made some mistake?
Thanks for your replies!