6

Scenario #1: Manually removing launchers

I installed a few games from the recent Humble Indie Bundle and removed them today.

The games which were installed using a deb were successfully uninstalled and removed from the dash, however, the games that I installed using the .run format are still in my menu and dash even after uninstalling them... how do I remove those items?

Scenario #2: Adding custom launchers

I have created Wine shortcuts to card games on my Windows partition. I added these launchers in alacarte (Menu Editor) and they worked fine in Classic Gnome, however they are not appearing in the Games section of the Unity dash. Is it possible to add launchers for these games to the dash, or do I have to add the launchers to the desktop?

sarvesh.lad
  • 2,534

3 Answers3

6

Dash launchers are located in either /usr/share/applications/ or $HOME/.local/share/applications and have a .desktop extensions. To remove from the dash just delete the corresponding .desktop file from either of these folders. To add a launcher just create a new text document, save it with a suitable name (NAME.desktop) in one of those folders and here is a sample of what needs to go in it from the Chess game launcher file:

[Desktop Entry]
Name=Chess
Comment=Play the classic two-player boardgame of chess
Version=1.0
Exec=/usr/games/glchess
Terminal=false
Type=Application
Categories=GNOME;Game;BoardGame;
StartupNotify=true
Icon=gnome-glchess
MimeType=application/x-chess-pgn;
G    enericName=3D Chess Game
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=gnome-games
X-GNOME-Bugzilla-Component=BugBuddyBugs
X-GNOME-Bugzilla-Version=3.2.1
X-Ubuntu-Gettext-Domain=gnome-games
edm
  • 4,035
5

Don't know about scenario 1, haven't any HIB games, - I'd look thru any of the possible places - /usr/local/share;` ~/.local/share; /opt/

As far as 2 - try opening the .desktop you created in a text editor (your launcher is just a .desktop), & add a Categories= line

Something like this should suffice -

Categories=Game;

Typically game .desktops use this but the above should be ok

Categories=GNOME;GTK;Game;

A log out/in should show in Dash filter > games, if not then re-open the launcher in your text editor & try adding a %U to end of the Exec= line leaving a space after what's currently there. (shouldn't be needed in these cases

doug
  • 17,212
0

In the dash type in Main Menu and run that application. Find the launchers created. Since these are from HIB they are probably are under the Games section. You can either uncheck the check box to hide the launcher entries or delete them. If you are unable to find the launchers there they may be inside your ~/.local/share/applications/ folder.

new_user
  • 130