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>
|
|
|
|
<refentrytitle>gtk-update-icon-cache</refentrytitle>
|
|
|
|
<manvolnum>1</manvolnum>
|
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
|
|
|
<refname>gtk-update-icon-cache</refname>
|
|
|
|
<refpurpose>Icon theme caching utility</refpurpose>
|
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
|
|
|
<command>gtk-update-icon-cache</command>
|
|
|
|
<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>
|
2005-08-23 15:18:08 +00:00
|
|
|
<para><command>gtk-update-icon-cache</command> creates mmap()able cache files for
|
2004-10-19 18:45:41 +00:00
|
|
|
icon themes.
|
|
|
|
</para>
|
|
|
|
<para>
|
2005-10-25 18:00:49 +00:00
|
|
|
It expects to be given the path to a icon theme directory containing an
|
2005-08-23 15:18:08 +00:00
|
|
|
<filename>index.theme</filename>, e.g. <filename>/usr/share/icons/hicolor</filename>,
|
|
|
|
and writes a <filename>icon-theme.cache</filename> containing cached information
|
2004-10-19 18:45:41 +00:00
|
|
|
about the icons in the directory tree below the given directory.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
GTK+ can use the cache files created by <command>gtk-update-icon-cache</command>
|
|
|
|
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.
|
|
|
|
</para>
|
2005-02-01 13:55:08 +00:00
|
|
|
</refsect1>
|
|
|
|
|
|
|
|
<refsect1><title>Options</title>
|
|
|
|
<variablelist>
|
|
|
|
<varlistentry>
|
|
|
|
<term>--force</term>
|
|
|
|
<term>-f</term>
|
2005-11-07 14:30:35 +00:00
|
|
|
<listitem><para>Overwrite an existing cache file even if it appears to be
|
|
|
|
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>
|
|
|
|
<listitem><para>Don't check for the existence of 'index.theme' in the icon theme
|
|
|
|
directory. Without this option, <command>gtk-update-icon-cache</command> refuses
|
|
|
|
to create an icon cache in a directory which does not appear to be the toplevel
|
|
|
|
directory of an icon theme.
|
|
|
|
</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>
|
|
|
|
<listitem><para>Output a C header file declaring a constant
|
|
|
|
<replaceable>name</replaceable> with the contents of the icon
|
|
|
|
cache.</para></listitem>
|
|
|
|
</varlistentry>
|
|
|
|
|
2005-02-01 13:55:08 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>--quiet</term>
|
|
|
|
<term>-q</term>
|
|
|
|
<listitem><para>Turn off verbose output.
|
|
|
|
</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>
|
|
|
|
|
|
|
|
|