forked from AuroraMiddleware/gtk
f906e82a93
2005-08-26 Matthias Clasen <mclasen@redhat.com> * gtk/updateiconcache.c: Add a separate --ignore-theme-index option to avoid overloading --force. (JP Rosevaar)
47 lines
1.8 KiB
Groff
47 lines
1.8 KiB
Groff
.\" ** You probably do not want to edit this file directly **
|
|
.\" It was generated using the DocBook XSL Stylesheets (version 1.69.1).
|
|
.\" Instead of manually editing it, you probably should edit the DocBook XML
|
|
.\" source for it and then use the DocBook XSL Stylesheets to regenerate it.
|
|
.TH "GTK\-UPDATE\-ICON\-CACH" "1" "08/26/2005" "" ""
|
|
.\" disable hyphenation
|
|
.nh
|
|
.\" disable justification (adjust text to left margin only)
|
|
.ad l
|
|
.SH "NAME"
|
|
gtk\-update\-icon\-cache \- Icon theme caching utility
|
|
.SH "SYNOPSIS"
|
|
.HP 22
|
|
\fBgtk\-update\-icon\-cache\fR [\-\-force] [\-\-index\-only] [\-\-ignore\-theme\-index] [\-\-quiet] {iconpath}
|
|
.SH "DESCRIPTION"
|
|
.PP
|
|
\fBgtk\-update\-icon\-cache\fR
|
|
creates mmap()able cache files for icon themes.
|
|
.PP
|
|
If expects to be given the path to a icon theme directory containing an
|
|
\fIindex.theme\fR, e.g.
|
|
\fI/usr/share/icons/hicolor\fR, and writes a
|
|
\fIicon\-theme.cache\fR
|
|
containing cached information about the icons in the directory tree below the given directory.
|
|
.PP
|
|
GTK+ can use the cache files created by
|
|
\fBgtk\-update\-icon\-cache\fR
|
|
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.
|
|
.SH "OPTIONS"
|
|
.TP
|
|
\-\-force, \-f
|
|
Overwrite an existing cache file even if it appears to be uptodate.
|
|
.TP
|
|
\-\-ignore\-theme\-index, \-t
|
|
Don't check for the existence of 'index.theme' in the icon theme directory. Without this option,
|
|
\fBgtk\-update\-icon\-cache\fR
|
|
refuses to create an icon cache in a directory which does not appear to be the toplevel directory of an icon theme.
|
|
.TP
|
|
\-\-index\-only, \-i
|
|
Don't include image data in the cache.
|
|
.TP
|
|
\-\-quiet, \-q
|
|
Turn off verbose output.
|
|
.SH "BUGS"
|
|
.PP
|
|
None known yet.
|