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" [
|
|
|
|
]>
|
2016-10-18 14:27:45 +00:00
|
|
|
<refentry id="gtk4-update-icon-cache">
|
2004-10-19 18:45:41 +00:00
|
|
|
|
2012-08-02 23:50:41 +00:00
|
|
|
<refentryinfo>
|
2016-10-18 14:27:45 +00:00
|
|
|
<title>gtk4-update-icon-cache</title>
|
2019-02-05 09:14:31 +00:00
|
|
|
<productname>GTK</productname>
|
2012-08-02 23:50:41 +00:00
|
|
|
<authorgroup>
|
|
|
|
<author>
|
|
|
|
<contrib>Developer</contrib>
|
|
|
|
<firstname>Matthias</firstname>
|
|
|
|
<surname>Clasen</surname>
|
|
|
|
</author>
|
|
|
|
</authorgroup>
|
|
|
|
</refentryinfo>
|
|
|
|
|
2004-10-19 18:45:41 +00:00
|
|
|
<refmeta>
|
2016-10-18 14:27:45 +00:00
|
|
|
<refentrytitle>gtk4-update-icon-cache</refentrytitle>
|
2011-02-09 05:21:37 +00:00
|
|
|
<manvolnum>1</manvolnum>
|
|
|
|
<refmiscinfo class="manual">User Commands</refmiscinfo>
|
2004-10-19 18:45:41 +00:00
|
|
|
</refmeta>
|
|
|
|
|
|
|
|
<refnamediv>
|
2016-10-18 14:27:45 +00:00
|
|
|
<refname>gtk4-update-icon-cache</refname>
|
2011-02-09 05:21:37 +00:00
|
|
|
<refpurpose>Icon theme caching utility</refpurpose>
|
2004-10-19 18:45:41 +00:00
|
|
|
</refnamediv>
|
|
|
|
|
|
|
|
<refsynopsisdiv>
|
|
|
|
<cmdsynopsis>
|
2016-10-18 14:27:45 +00:00
|
|
|
<command>gtk4-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>
|
2014-06-14 23:30:17 +00:00
|
|
|
<group>
|
|
|
|
<arg choice="plain">--index-only</arg>
|
|
|
|
<arg choice="plain">--include-image-data</arg>
|
|
|
|
</group>
|
2011-02-09 05:21:37 +00:00
|
|
|
<arg choice="opt">--source <arg choice="plain"><replaceable>NAME</replaceable></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>
|
2011-02-09 05:21:37 +00:00
|
|
|
<arg choice="plain"><replaceable>PATH</replaceable></arg>
|
2004-10-19 18:45:41 +00:00
|
|
|
</cmdsynopsis>
|
|
|
|
</refsynopsisdiv>
|
|
|
|
|
|
|
|
<refsect1><title>Description</title>
|
2010-05-08 05:18:53 +00:00
|
|
|
<para>
|
2016-10-18 14:27:45 +00:00
|
|
|
<command>gtk4-update-icon-cache</command> creates mmapable cache
|
2010-05-08 05:18:53 +00:00
|
|
|
files for icon themes.
|
2004-10-19 18:45:41 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2019-08-25 12:52:24 +00:00
|
|
|
It expects to be given the <replaceable>PATH</replaceable> to an icon theme
|
2011-02-09 05:21:37 +00:00
|
|
|
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>
|
2019-02-05 09:14:31 +00:00
|
|
|
GTK can use the cache files created by <command>gtk4-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
|
2011-02-09 05:21:37 +00:00
|
|
|
starts. Since the format of the cache files allows them to be mmaped
|
2010-05-08 05:18:53 +00:00
|
|
|
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>
|
2011-02-09 05:21:37 +00:00
|
|
|
<listitem><para>Don't check for the existence of <filename>index.theme</filename>
|
2016-10-18 14:27:45 +00:00
|
|
|
in the icon theme directory. Without this option, <command>gtk4-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>
|
|
|
|
|
2014-06-14 23:30:17 +00:00
|
|
|
<varlistentry>
|
|
|
|
<term>--include-image-data</term>
|
|
|
|
<listitem><para>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
|
2011-02-09 05:21:37 +00:00
|
|
|
<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>
|
|
|
|
|
|
|
|
</refentry>
|