I had a look at the .desktop files on my 12.04 Ubuntu system, and many of them do not have a full path specification for their icon file. It is rather something like:
Icon=anjuta
or
Icon=vlc
or
Icon=application-x-clementine
Is there a common path where icons can be stored so that this can work ? If not, how does this work ? If I try to do the same thing with my own icons I have to specify the full path.
e.g.
Icon=/usr/local/share/my-icon.png
works fine, but
Icon=my-icon.png
will fail.
Any kind of help is welcome!
Best Answer
Yeah the lookup is pretty complicated. Here are the freedesktop icon specifications on directory layouts:
The full specifications are much more exhausti{ve,ng} than this but the crux of it is: there are set directories you can just stuff icons into and the desktop will find them. Which of those best applies to you depends on your problem and your patience :)