2008-07-10 03:27:56 +00:00
|
|
|
<?xml version="1.0"?>
|
|
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
|
|
|
|
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
|
|
|
]>
|
2004-10-19 18:45:41 +00:00
|
|
|
<refentry id="gtk-update-icon-cache">
|
|
|
|
|
|
|
|
<refmeta>
|
2011-01-04 02:31:55 +00:00
|
|
|
<refentrytitle>gtk-update-icon-cache</refentrytitle>
|
2004-10-19 18:45:41 +00:00
|
|
|
<manvolnum>1</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
2011-01-04 02:31:55 +00:00
|
|
|
<refname>gtk-update-icon-cache</refname>
|
2004-10-19 18:45:41 +00:00
|
|
|
<refpurpose>Icon theme caching utility</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2011-01-04 02:31:55 +00:00
|
|
|
<command>gtk-update-icon-cache</command>
|
2004-10-19 18:45:41 +00:00
|
|
|
<arg choice="opt">--force</arg>
|
2005-08-26 19:05:31 +00:00
|
|
|
<arg choice="opt">--ignore-theme-index</arg>
|
2005-11-07 14:30:35 +00:00
|
|
|
<arg choice="opt">--index-only</arg>
|
|
|
|
<arg choice="opt">--source<arg>name</arg></arg>
|
2005-02-01 13:55:08 +00:00
|
|
|
<arg choice="opt">--quiet</arg>
|
2007-06-11 03:41:27 +00:00
|
|
|
<arg choice="opt">--validate</arg>
|
2004-10-19 18:45:41 +00:00
|
|
|
<arg choice="req">iconpath</arg>
|
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1><title>Description</title>
|
2010-05-08 05:18:53 +00:00
|
|
|
<para>
|
2011-01-04 02:31:55 +00:00
|
|
|
<command>gtk-update-icon-cache</command> creates mmap()able cache
|
2010-05-08 05:18:53 +00:00
|
|
|
files for icon themes.
|
2004-10-19 18:45:41 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2010-05-08 05:18:53 +00:00
|
|
|
It expects to be given the path to a icon theme directory containing an
|
|
|
|
<filename>index.theme</filename>, e.g. <filename>/usr/share/icons/hicolor</filename>,
|
|
|
|
and writes a <filename>icon-theme.cache</filename> containing cached
|
|
|
|
information about the icons in the directory tree below the given directory.
|
2004-10-19 18:45:41 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2011-01-04 02:31:55 +00:00
|
|
|
GTK+ can use the cache files created by <command>gtk-update-icon-cache</command>
|
2010-05-08 05:18:53 +00:00
|
|
|
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.
|
2004-10-19 18:45:41 +00:00
|
|
|
</para>
|
2005-02-01 13:55:08 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1><title>Options</title>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>--force</term>
|
|
|
|
<term>-f</term>
|
2010-05-08 05:18:53 +00:00
|
|
|
<listitem><para>Overwrite an existing cache file even if it appears to be
|
2005-11-07 14:30:35 +00:00
|
|
|
uptodate.</para></listitem>
|
2005-02-01 13:55:08 +00:00
|
|
|
</varlistentry>
|
2005-08-23 15:18:08 +00:00
|
|
|
|
2005-08-26 19:05:31 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>--ignore-theme-index</term>
|
|
|
|
<term>-t</term>
|
2010-05-08 05:18:53 +00:00
|
|
|
<listitem><para>Don't check for the existence of 'index.theme' in the icon
|
2011-01-04 02:31:55 +00:00
|
|
|
theme directory. Without this option, <command>gtk-update-icon-cache</command>
|
2010-05-08 05:18:53 +00:00
|
|
|
refuses to create an icon cache in a directory which does not appear to
|
|
|
|
be the toplevel directory of an icon theme.
|
2005-08-26 19:05:31 +00:00
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-08-23 15:18:08 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>--index-only</term>
|
|
|
|
<term>-i</term>
|
|
|
|
<listitem><para>Don't include image data in the cache.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-11-07 14:30:35 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>--source</term>
|
|
|
|
<term>-c</term>
|
2010-05-08 05:18:53 +00:00
|
|
|
<listitem><para>Output a C header file declaring a constant
|
|
|
|
<replaceable>name</replaceable> with the contents of the icon
|
2005-11-07 14:30:35 +00:00
|
|
|
cache.</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-02-01 13:55:08 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>--quiet</term>
|
|
|
|
<term>-q</term>
|
2010-05-08 05:18:53 +00:00
|
|
|
<listitem><para>Turn off verbose output.
|
2005-02-01 13:55:08 +00:00
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
2007-06-11 03:41:27 +00:00
|
|
|
|
|
|
|
<varlistentry>
|
|
|
|
<term>--validate</term>
|
|
|
|
<term>-v</term>
|
|
|
|
<listitem><para>Validate existing icon cache.
|
|
|
|
</para></listitem>
|
|
|
|
</varlistentry>
|
2005-02-01 13:55:08 +00:00
|
|
|
</variablelist>
|
2004-10-19 18:45:41 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1><title>Bugs</title>
|
|
|
|
<para>
|
|
|
|
None known yet.
|
|
|
|
</para>
|
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
</refentry>
|