This shows you the differences between two versions of the page.
|
xfce:xfce4-settings:appearance [2012/05/07 09:17] nick [DPI] |
xfce:xfce4-settings:appearance [2013/04/01 12:46] (current) nick [Icons] |
||
|---|---|---|---|
| Line 20: | Line 20: | ||
| Also here you can install new icon themes by dropping an icon tarball in the list or install a new theme using the distributions' package management. | Also here you can install new icon themes by dropping an icon tarball in the list or install a new theme using the distributions' package management. | ||
| + | |||
| + | ==== Icon Cache ==== | ||
| + | |||
| + | GTK+ has an utility to pack all the icon theme icons in a single cache file. This single file can me memory-mapped to this avoids a lot of disk seek overhead when loading icons and the file is shared between multiple applications, so the overall memory consumption is reduced as well. | ||
| + | |||
| + | For this to work each icon theme directory containing a ''index.theme'' file, should also have an ''icon-theme.cache''. Distributions will most likely generate this when installing a theme package, but for custom theme you'll have to create it yourself. | ||
| + | |||
| + | To generate a cache file for an icon-theme running the following command in a terminal emulator: | ||
| + | |||
| + | gtk-update-icon-cache /path/to/theme/directory/ | ||
| + | |||
| + | More information can be found in the [[https://developer.gnome.org/gtk2/2.24/gtk-update-icon-cache.html|gtk-update-icon-cache reference manual]]. | ||
| ===== Fonts ===== | ===== Fonts ===== | ||