missing a .desktop files howto

Rodney Dawes dobey.pwns at gmail.com
Thu Sep 4 10:01:53 PDT 2008


On Thu, 2008-09-04 at 11:28 -0500, D. Marlin wrote:
> Matej Tyc wrote:
> > Hello,
> > I am developing an application that could use a menu entry. I have 
> > learned that I have to drop an appropriate .desktop file to 
> > /usr/share/applications, but I have problems with icons.
> > If I write Icon=foo, then where to put the actual icon?
> 
> I'm not an expert on this, but one location where you can place an icon 
> is in $PREFIX/share/pixmaps, i.e.:
> 
>    /usr/share/pixmaps/
> 
> You'll find a lot of icons there.
> 
> As I understand it, there are alternate icon locations that make up the 
> search path, including paths for themes, but I don't know the full 
> search path right now.  Maybe someone else here can clue me in.  ;-)

The "pixmaps" directory is deprecated in favor of icon themes. See
the Icon Theme Specification (and the Icon Naming Specification). :)

-- Rodney




More information about the xdg mailing list