Skip to content
This repository

icon destination #104

Closed
hasufell opened this Issue June 16, 2012 · 2 comments

2 participants

Julian Ospald IgnorantGuru
Julian Ospald

Modern applications should install their icons in a freedesktop.org compliant way and make use of icon cache too.

The order where applications should look for icons is defined here:
http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html
(where "$XDG_DATA_DIRS/icons" is preferred over pixmaps)

"$XDG_DATA_DIRS/icons would" also enable us to use icon cache:
http://developer.gnome.org/gtk/2.24/gtk-update-icon-cache.html

Distributions mostly handle the icon cache updates for packages.
This PATCH is compatible with current spacefm: https://gist.github.com/2942793

Julian Ospald

Or if you like to keep the old behavior as default, because people HAVE to update the icon cache in order for them to show up in spacefm, then you might consider a switch like this: https://gist.github.com/2942878

IgnorantGuru
Owner

f06b5b8 and b026ca1 add configure option --disable-pixmaps to move installation of icons to share/icons instead of share/pixmaps.

Due to the necessity of updating the cache, share/pixmaps is the default. However my debian packages and Arch AUR spacefm-git now use share/icons.

If you package spacefm using --disable-pixmaps, after install be sure to run:

gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
IgnorantGuru IgnorantGuru closed this July 25, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.