Created
February 2, 2014 14:59
-
-
Save jonhoo/8769596 to your computer and use it in GitHub Desktop.
Dungeon Keeper Desktop Entry on Linux
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=Dungeon Keeper | |
Comment=Evil is Good | |
Exec=dosbox -conf ../dosboxDK.conf -conf ../dosboxDK_single.conf -noconsole -c exit | |
Icon=dungeon-keeper | |
Path=/home/user/.wine/drive_c/GOG Games/Dungeon Keeper Gold/DOSBOX | |
Terminal=false | |
Type=Application | |
Categories=Game; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd ~/.wine/drive_c/GOG Games/Dungeon Keeper Gold | |
convert gfw_high.ico ~/.local/share/icons/dungeon-keeper.png | |
cd ~/.local/share/icons | |
mv dungeon-keeper-8.png hicolor/16x16/apps/dungeon-keeper.png | |
mv dungeon-keeper-7.png hicolor/32x32/apps/dungeon-keeper.png | |
mv dungeon-keeper-6.png hicolor/48x48/apps/dungeon-keeper.png | |
mv dungeon-keeper-5.png hicolor/256x256/apps/dungeon-keeper.png | |
rm dungeon-keeper*.png |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Linux Mint 18 Mate, my desktop resolution does not automatically reset itself back to its native screen resolution after I run the game. So to fix this, I just append
&& sleep 5 && xrandr -s 0
to the end of the Exec parameter in the launcher:Exec=dosbox -conf ../dosboxDK.conf -conf ../dosboxDK_single.conf -noconsole -c exit && sleep 5 && xrandr -s 0
The
sleep 5
command creates a quick 5 second delay before applyingxrandr -s 0
to reset the screen. I added the delay because sometimes the screen wouldn't reset withxrandr -s 0
alone, but that's just my experience.Thanks