PDA

View Full Version : [ubuntu] Help with Launchers!!



garyzw
May 29th, 2012, 09:58 PM
How do I get my launchers(shortcuts) to show up under the proper filter in Unity Dash. In the picture I have some game launchers I would like to show up under games-- but how?

mc4man
May 29th, 2012, 10:54 PM
Open your launcher, (<whatever>.desktop), in a text editor & add this line

Categories=GNOME;GTK;Game;
Then maybe a log out in

If still no go copy & paste the contents of launcher in a reply here

garyzw
May 29th, 2012, 11:08 PM
I added the line but no go--this is the contents of launcher


[Desktop Entry]
Name=Caesar 3
Exec=env WINEPREFIX="/home/gary/.wine" wine C:\\\\windows\\\\command\\\\start.exe /Unix /home/gary/.wine/dosdevices/c:/users/Public/Start\\ Menu/Programs/GOG.com/Caesar\\ 3/Caesar\\ 3.lnk
Type=Application
StartupNotify=true
Path=/home/gary/.wine/dosdevices/c:/Program Files/GOG.com/Caesar 3/
Icon=1F02_gfw_high.0
Categories=GNOME;GTK;Game;

The file is in the /home/user/desktop-directories



Open your launcher, (<whatever>.desktop), in a text editor & add this line

Categories=GNOME;GTK;Game;
Then maybe a log out in

If still no go copy & paste the contents of launcher in a reply here

mc4man
May 29th, 2012, 11:32 PM
Wine can be a bit different - atm I don't have wine installed (on 12.10

2 things -
usually with wine I use different Exec=, you are using a wine created one, may or may not matter here

The .desktop should be moved to ~/.local/share/applications (.local is a hidden file in your home folder

Try moving it there, log out/in & see.
================================================== =============
If not maybe we could create a new .desktop that would behave better
If that becomes the way to go need the actual path to the .exe with exact .exe name

Path appears to be this, fill in red
/home/gary/.wine/dosdevices/c:/Program Files/GOG.com/Caesar 3/Something.exe

garyzw
May 29th, 2012, 11:39 PM
Moving the file to ~/.local/share/applications worked--thanks a bunch! :D

mc4man
May 29th, 2012, 11:41 PM
Curious -
when you launch your wine game - does it show in the launcher as it's own icon or does it show in a wine icon (wine glass

garyzw
May 30th, 2012, 12:09 AM
Some games it shows the wine icon--sometime the game icon on others-- if it shows the wine icon I change it in the properties.

Adding Categories=GNOME;GTK;Game; seems to only work with some of them-- I am trying to figure out why?



Curious -
when you launch your wine game - does it show in the launcher as it's own icon or does it show in a wine icon (wine glass

garyzw
May 30th, 2012, 12:34 AM
Thanks mc4man, your tips solved my problem. I got all my games to show up. Ubuntu should have an easier way to do this though. Some sort of menu editor would be a great help.