GNOME Bugzilla – Bug 300406
icons are not searched in $XDG_DATA_HOME/share/pixmaps
Last modified: 2005-04-12 22:42:13 UTC
Version details: gnome-vfs-2.10.0 Distribution/Version: Gentoo Linux unstable Create a desktop file in ~/.local/share/applications and copy icon to ~/.local/share/pixmaps. Run gnome-panel or nautilus open with dialog. Icons are not searched in $XDG_DATA_HOME/share/pixmaps, but only in $XDG_DATA_HOME/share/icons and $XDG_DATA_DIRS/share/{pixmaps,icons}. The problem is independent on XDG_DATA_HOME set/unset. Test file test.desktop (you need to copy any png file to test.png): [Desktop Entry] Name=Test Comment=Test comment GenericName=Test GenericName Categories=Application; Encoding=UTF-8 Exec=test StartupNotify=false Terminal=false Type=Application Icon=test MimeType=text/html; Notes: Depending on distribution, change of Categories can be required. $ grep XDG_DATA_ /usr/lib/*.so Binary file /usr/lib/libeel-2.so matches Binary file /usr/lib/libglib-2.0.so matches Binary file /usr/lib/libgnomevfs-2.so matches Binary file /usr/lib/libgtk-x11-2.0.so matches
That's not a bug. According to the icon theme specification (http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-0.9.html): " 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)."