2
.\" Title: gtk-update-icon-cache
3
.\" Author: [FIXME: author] [see http://docbook.sf.net/el/author]
4
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
6
.\" Manual: [FIXME: manual]
7
.\" Source: [FIXME: source]
10
.TH "GTK\-UPDATE\-ICON\-C" "1" "10/10/2014" "[FIXME: source]" "[FIXME: manual]"
11
.\" -----------------------------------------------------------------
12
.\" * Define some portability stuff
13
.\" -----------------------------------------------------------------
14
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15
.\" http://bugs.debian.org/507673
16
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20
.\" -----------------------------------------------------------------
21
.\" * set default formatting
22
.\" -----------------------------------------------------------------
23
.\" disable hyphenation
25
.\" disable justification (adjust text to left margin only)
27
.\" -----------------------------------------------------------------
28
.\" * MAIN CONTENT STARTS HERE *
29
.\" -----------------------------------------------------------------
31
gtk-update-icon-cache \- Icon theme caching utility
33
.HP \w'\fBgtk\-update\-icon\-cache\fR\ 'u
34
\fBgtk\-update\-icon\-cache\fR [\-\-force] [\-\-ignore\-theme\-index] [\-\-index\-only | \-\-include\-image\-data] [\-\-source\ \fINAME\fR] [\-\-quiet] [\-\-validate] {iconpath}
37
\fBgtk\-update\-icon\-cache\fR
38
creates mmap()able cache files for icon themes\&.
40
It expects to be given the path to a icon theme directory containing an
41
index\&.theme, e\&.g\&.
42
/usr/share/icons/hicolor, and writes a
44
containing cached information about the icons in the directory tree below the given directory\&.
46
GTK+ can use the cache files created by
47
\fBgtk\-update\-icon\-cache\fR
48
to avoid a lot of system call and disk seek overhead when the application starts\&. Since the format of the cache files allows them to be mmap()ed shared between multiple applications, the overall memory consumption is reduced as well\&.
53
Overwrite an existing cache file even if it appears to be uptodate\&.
56
\-\-ignore\-theme\-index, \-t
58
Don\*(Aqt check for the existence of \*(Aqindex\&.theme\*(Aq in the icon theme directory\&. Without this option,
59
\fBgtk\-update\-icon\-cache\fR
60
refuses to create an icon cache in a directory which does not appear to be the toplevel directory of an icon theme\&.
65
Don\*(Aqt include image data in the cache\&.
68
\-\-include\-image\-data
70
Include image data in the cache\&.
75
Output a C header file declaring a constant
77
with the contents of the icon cache\&.
82
Turn off verbose output\&.
87
Validate existing icon cache\&.