File: gtk-update-icon-cache.html

package info (click to toggle)
gtk%2B3.0 3.22.11-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 182,828 kB
  • ctags: 82,378
  • sloc: ansic: 1,165,043; xml: 9,259; makefile: 6,914; sh: 5,179; python: 402; perl: 370; cpp: 34; sed: 16
file content (110 lines) | stat: -rw-r--r-- 4,904 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>gtk-update-icon-cache: GTK+ 3 Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
<link rel="up" href="pt06.html" title="Part VI. GTK+ Tools">
<link rel="prev" href="gtk-query-immodules-3.0.html" title="gtk-query-immodules-3.0">
<link rel="next" href="gtk-encode-symbolic-svg.html" title="gtk-encode-symbolic-svg">
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts"></td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="pt06.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="gtk-query-immodules-3.0.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="gtk-encode-symbolic-svg.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="gtk-update-icon-cache"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle">gtk-update-icon-cache</span></h2>
<p>gtk-update-icon-cache — Icon theme caching utility</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsynopsisdiv">
<h2>Synopsis</h2>
<div class="cmdsynopsis"><p><code class="command">gtk-update-icon-cache</code>  [--force] [--ignore-theme-index] [ --index-only  |   --include-image-data ] [--source  <em class="replaceable"><code>NAME</code></em> ] [--quiet] [--validate]  <em class="replaceable"><code>PATH</code></em> </p></div>
</div>
<div class="refsect1">
<a name="id-1.7.7.5"></a><h2>Description</h2>
<p>
  <span class="command"><strong>gtk-update-icon-cache</strong></span> creates mmapable cache
  files for icon themes.
</p>
<p>
  It expects to be given the <em class="replaceable"><code>PATH</code></em> to a icon theme
  directory containing an <code class="filename">index.theme</code>, e.g.
  <code class="filename">/usr/share/icons/hicolor</code>, and writes a
  <code class="filename">icon-theme.cache</code> containing cached information about
  the icons in the directory tree below the given directory.
</p>
<p>
  GTK+ can use the cache files created by <span class="command"><strong>gtk-update-icon-cache</strong></span>
  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 mmaped
  shared between multiple applications, the overall memory consumption is
  reduced as well.
</p>
</div>
<div class="refsect1">
<a name="id-1.7.7.6"></a><h2>Options</h2>
<div class="variablelist"><table border="0" class="variablelist">
<colgroup>
<col align="left" valign="top">
<col>
</colgroup>
<tbody>
<tr>
<td><p><span class="term">--force, </span><span class="term">-f</span></p></td>
<td><p>Overwrite an existing cache file even if it appears to be
         uptodate.</p></td>
</tr>
<tr>
<td><p><span class="term">--ignore-theme-index, </span><span class="term">-t</span></p></td>
<td><p>Don't check for the existence of <code class="filename">index.theme</code>
     in the icon theme directory. Without this option, <span class="command"><strong>gtk-update-icon-cache</strong></span>
     refuses to create an icon cache in a directory which does not appear to
     be the toplevel directory of an icon theme.
    </p></td>
</tr>
<tr>
<td><p><span class="term">--index-only, </span><span class="term">-i</span></p></td>
<td><p>Don't include image data in the cache.
    </p></td>
</tr>
<tr>
<td><p><span class="term">--include-image-data</span></p></td>
<td><p>Include image data in the cache.
    </p></td>
</tr>
<tr>
<td><p><span class="term">--source, </span><span class="term">-c</span></p></td>
<td><p>Output a C header file declaring a constant
     <em class="replaceable"><code>NAME</code></em> with the contents of the icon
     cache.</p></td>
</tr>
<tr>
<td><p><span class="term">--quiet, </span><span class="term">-q</span></p></td>
<td><p>Turn off verbose output.
    </p></td>
</tr>
<tr>
<td><p><span class="term">--validate, </span><span class="term">-v</span></p></td>
<td><p>Validate existing icon cache.
    </p></td>
</tr>
</tbody>
</table></div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.25.1</div>
</body>
</html>