Posted October 17, 2015
If you're on GNOME or some other DE that supports Desktop Actions, you can replace all of the Duke Nukem .desktop files installed in ~/.local/share/applications (Duke Nukem installs like 5) with the one that follows. NOTE: You need to replace each instance of $GOG_DIR with the full path of your "GOG Games" directory. The result is if you click on the shortcut, it will launch the game. If you right click on it, you can select the other options (like starting the editor).
[Desktop Entry]
Encoding=UTF-8
Value=1.0
Type=Application
Name=Duke Nukem 3D Atomic Edition
GenericName=Duke Nukem 3D Atomic Edition
Comment=Duke Nukem 3D Atomic Edition
Icon=$GOG_DIR/Duke Nukem 3D Atomic Edition/support/icon.png
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" ""
Categories=Game;
Path=$GOG_DIR/Duke Nukem 3D Atomic Edition
Actions=Server;Client;Settings;Editor;
[Desktop Action Server]
Name=Start server
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" "--server"
[Desktop Action Client]
Name=Start client
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" "--client"
[Desktop Action Settings]
Name=Change Settings
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" "--settings"
[Desktop Action Editor]
Name=Start editor
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" "--editor"
[Desktop Entry]
Encoding=UTF-8
Value=1.0
Type=Application
Name=Duke Nukem 3D Atomic Edition
GenericName=Duke Nukem 3D Atomic Edition
Comment=Duke Nukem 3D Atomic Edition
Icon=$GOG_DIR/Duke Nukem 3D Atomic Edition/support/icon.png
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" ""
Categories=Game;
Path=$GOG_DIR/Duke Nukem 3D Atomic Edition
Actions=Server;Client;Settings;Editor;
[Desktop Action Server]
Name=Start server
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" "--server"
[Desktop Action Client]
Name=Start client
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" "--client"
[Desktop Action Settings]
Name=Change Settings
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" "--settings"
[Desktop Action Editor]
Name=Start editor
Exec="$GOG_DIR/Duke Nukem 3D Atomic Edition/start.sh" "--editor"