Icon Theme spec question
rephorm at rephorm.com
Mon Jan 29 07:19:58 PST 2007
According to the latest Icon Theme spec:
Icons and themes are looked for in a set of directories. By default,
apps should look in $HOME/.icons (for backwards compatibility), in
$XDG_DATA_DIRS/icons and in /usr/share/pixmaps (in that order).
Applications may further add their own icon directories to this list,
and users may extend or change the list (in application/desktop specific
I know that Gnome at least keeps icons in <prefix>/share/pixmaps, and
then includes this dir in their search path for icon images. So, on a
system that has Gnome installed in e.g. /opt/gnome, with
/opt/gnome/share in $XDG_DATA_DIRS, an implementation that includes the
required dirs (and no more) may use Gnome's menu, but not be able to
find the icons located in Gnome's pixmaps dir.
Would it make sense to require $XDG_DATA_DIRS/pixmaps as an additional
fallback to handle installations outside of /usr?
More information about the xdg