10139N/A<!
DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!
ENTITY cmd "gtk-update-icon-cache">
11904N/A<!
ENTITY suncopy "Copyright (c) 2003,2006,2007 Sun Microsystems, Inc. All Rights Reserved.">
10139N/A<
refentry id="gtk-update-icon-cache-1">
17616N/A<
refentrytitle>gtk-update-icon-cache</
refentrytitle><
manvolnum>1</
manvolnum>
11971N/A<
refmiscinfo class="date">21 Nov 2007</
refmiscinfo>
10139N/A<
refmiscinfo class="sectdesc">&man1;</
refmiscinfo>
10139N/A<
refmiscinfo class="software">&release;</
refmiscinfo>
10139N/A<
refmiscinfo class="arch">generic</
refmiscinfo>
10139N/A<
refmiscinfo class="copyright">&suncopy;</
refmiscinfo>
17616N/A<
indexterm><
primary>gtk-update-icon-cache</
primary></
indexterm>
17616N/A<
indexterm><
primary>Icon theme caching utility</
primary></
indexterm>
17616N/A<
refnamediv id="gtk-update-icon-cache-1-name">
17616N/A<
refname>gtk-update-icon-cache</
refname>
17616N/A<
refpurpose>Icon theme caching utility</
refpurpose>
10139N/A<
refsynopsisdiv id="gtk-update-icon-cache-1-synp"><
title>&synp-tt;</
title>
10139N/A<
cmdsynopsis><
command>&cmd;</
command>
10139N/A<
arg choice="opt"><
option>-force</
option></
arg>
13701N/A<
arg choice="opt"><
option>-help</
option></
arg>
10139N/A<
arg choice="opt"><
option>-ignore-theme-index</
option></
arg>
10139N/A<
arg choice="opt"><
option>-index-only</
option></
arg>
10139N/A<
arg choice="opt"><
option>-source=<
replaceable>name</
replaceable></
option></
arg>
10139N/A<
arg choice="opt"><
option>-quiet</
option></
arg>
11153N/A<
arg choice="opt"><
option>-validate</
option></
arg>
10139N/A<
arg choice="opt"><
option role="nodash"><
replaceable>iconpath</
replaceable></
option></
arg>
10139N/A<
refsect1 id="gtk-update-icon-cache-1-desc"><
title>&desc-tt;</
title>
17616N/A<
command>&cmd;</
command> creates cache files for icon themes that can be used
17616N/A<
citerefentry><
refentrytitle>mmap</
refentrytitle>
17616N/A<
manvolnum>2</
manvolnum></
citerefentry>.
10139N/AIt expects to be given the path to an icon theme directory containing an
17616N/Aicons in the directory tree below the given directory.
10139N/AGTK+ can use the cache files created by gtk-update-icon-cache to avoid a lot
10139N/Aof system call and disk seek overhead when the application starts. Since the
10139N/Aformat of the cache files allows them to be mmap()ed shared between multiple
10139N/Aapplications, the overall memory consumption is reduced as well.
10139N/A<
refsect1 id="glib-genmarshal-1-opts"><
title>&opts-tt;</
title>
17616N/AThe following options are supported:
10139N/A<
variablelist termlength="wide">
17616N/A<
term><
option>f</
option>, <
option>-force</
option></
term>
10139N/AOverwrite an existing cache file even if it appears to be up to date.
17616N/A</
para></
listitem></
varlistentry>
17616N/A<
term><
option>?</
option>, <
option>-help</
option></
term>
17616N/A</
para></
listitem></
varlistentry>
17616N/A<
term><
option>t</
option>, <
option>-ignore-theme-index</
option></
term>
11971N/AWithout this option, &cmd; refuses to create an icon cache in a directory which
10139N/Adoes not appear to be the toplevel directory of an icon theme.
17616N/A</
para></
listitem></
varlistentry>
17616N/A<
term><
option>i</
option>, <
option>-index-only</
option></
term>
17616N/A<
listitem><
para>Do not include image data in the cache
17616N/A</
para></
listitem></
varlistentry>
17616N/A<
term><
option>c</
option>, <
option>-source</
option>=<
replaceable>name</
replaceable></
term>
11153N/AOutput a C header file declaring a constant <
replaceable>name</
replaceable>
17616N/Awith the contents of the icon cache.
17616N/A</
para></
listitem></
varlistentry>
17616N/A<
term><
option>q</
option>, <
option>-quiet</
option></
term>
17616N/A</
para></
listitem></
varlistentry>
17616N/A<
term><
option>v</
option>, <
option>-validate</
option></
term>
17616N/A</
para></
listitem></
varlistentry>
11904N/A<
refsect1 id="gtk-update-icon-cache-1-oper"><
title>&oper-tt;</
title>
17616N/AThe following operands are supported:
10139N/A<
variablelist termlength="medium">
17616N/A<
term><
option role="nodash"><
replaceable>iconpath</
replaceable></
option></
term>
17616N/AThe path to an icon theme directory containing an
17616N/A</
para></
listitem></
varlistentry>
10139N/A<
refsect1 id="gtk-update-icon-cache-1-envr"><
title>&envr-tt;</
title>
17616N/A<
citerefentry><
refentrytitle>environ</
refentrytitle>
17616N/A<
manvolnum>5</
manvolnum></
citerefentry>
17616N/Afor descriptions of the following environment variables that affect the
17616N/Aexecution of <
command>&cmd;</
command>: NLSPATH.
10139N/A<
refsect1 id="gtk-update-icon-cache-1-exit"><
title>&exit-tt;</
title>
17616N/AThe following exit values are returned:
17616N/A<
variablelist termlength="xtranarrow"><
varlistentry>
17616N/A<
term><
returnvalue>0</
returnvalue></
term>
17616N/A</
para></
listitem></
varlistentry>
17616N/A<
term><
returnvalue>>0</
returnvalue></
term>
10139N/A<
refsect1 id="gtk-update-icon-cache-1-file"><
title>&file-tt;</
title>
17616N/AThe following files are used by this application:
10139N/A<
variablelist termlength="wide">
17616N/AThe command-line executable for the application.
17616N/A</
para></
listitem></
varlistentry>
17616N/A</
para></
listitem></
varlistentry>
17616N/ALocation of developer documentation
17616N/A</
para></
listitem></
varlistentry>
10139N/A<
refsect1 id="gtk-update-icon-cache-1-attr"><
title>&attr-tt;</
title>
17616N/A<
olink targetdocent="REFMAN5" localinfo="attributes-5">
17616N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle>
17616N/A<
manvolnum>5</
manvolnum></
citerefentry></
olink>
17616N/Afor descriptions of the following attributes:
17616N/A<
tgroup cols="2" colsep="1" rowsep="1">
17616N/A<
colspec colname="COLSPEC0" colwidth="1*">
10139N/A<
colspec colname="COLSPEC1" colwidth="1*">
17616N/A<
entry align="center" valign="middle">ATTRIBUTE TYPE</
entry>
17616N/A<
entry align="center" valign="middle">ATTRIBUTE VALUE</
entry>
17616N/A<
entry><
para>Availability</
para></
entry>
17616N/A<
entry colname="COLSPEC0"><
para>Interface stability</
para></
entry>
17616N/A<
entry colname="COLSPEC1"><
para>Committed</
para></
entry>
17616N/A</
tbody></
tgroup></
informaltable>
10139N/A<
refsect1 id="gtk-update-icon-cache-1-also"><
title>&also-tt;</
title>
10139N/A<!--Reference to another man page--> 10139N/A<!--Reference to a Help manual--> 10139N/A<
citerefentry><
refentrytitle>gdk-pixbuf-csource</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
citerefentry><
refentrytitle>gdk-pixbuf-query-loaders</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
citerefentry><
refentrytitle>gettext</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
citerefentry><
refentrytitle>glib-genmarshal</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
citerefentry><
refentrytitle>glib-gettextize</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
citerefentry><
refentrytitle>glib-mkenums</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
citerefentry><
refentrytitle>gobject-query</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
citerefentry><
refentrytitle>gtk-query-immodules-2.0</
refentrytitle><
manvolnum>1</
manvolnum></
citerefentry>,
10139N/A<
citerefentry><
refentrytitle>mmap</
refentrytitle><
manvolnum>2</
manvolnum></
citerefentry>.
11904N/A<
citerefentry><
refentrytitle>libgtk-x11-2.0</
refentrytitle><
manvolnum>3</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>attributes</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>,
11904N/A<
citerefentry><
refentrytitle>environ</
refentrytitle><
manvolnum>5</
manvolnum></
citerefentry>
17616N/ALatest version of the <
citetitle>GNOME Desktop User Guide</
citetitle> for your
10139N/A<
refsect1 id="gtk-update-icon-cache-1-note"><
title>¬e-tt;</
title>
17616N/AWritten by Brian Cameron, Sun Microsystems Inc., 2003, 2006, 2007.