PDA

View Full Version : Location to put application icons



Jordanwb
January 13th, 2010, 07:11 PM
I'm packaging a PyGTK program into a deb package. I've included the .desktop file so that the program shows up in the Applications menu under Games, but its icon is a boring grey box. If I were to edit the .desktop file for brasero:


[Desktop Entry]
Name=Brasero
GenericName=Disc Burner
Comment=Create and copy CDs and DVDs
Categories=GNOME;AudioVideo;DiscBurning;
MimeType=application/x-cd-image;application/x-cdrdao-toc;application/x-cue;application/x-toc;audio/x-scpls;audio/x-ms-asx;audio/x-mp3-playlist;audio/x-mpegu$
Exec=brasero %U
Icon=brasero
StartupNotify=true
Terminal=false
Type=Application
X-GNOME-FullName=Brasero Disc Burner
X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=brasero
X-GNOME-Bugzilla-Component=general
X-GNOME-Bugzilla-Version=2.29.4
X-Ubuntu-Gettext-Domain=brasero

The Icon line simply says brasero. But where is that actual image located so I can put one for the game?

*Edit* By the way the .desktop files go in /usr/share/applications/

Penguin Guy
January 16th, 2010, 05:43 PM
You should store all your program's custom icons in: /usr/share/icons/hicolor/<resolution>/<type>/<name>.png

coyotle
February 3rd, 2010, 12:02 PM
or /usr/share/pixmaps