Debian Codegraph @

docs/kbuildsycoca5/man-kbuildsycoca5.8.docbook

raw
1 <?xml version="1.0" ?>
2 <!DOCTYPE refentry PUBLIC "-//KDE//DTD DocBook XML V4.5-Based Variant V1.1//EN" "dtd/kdedbx45.dtd" [
3 <!ENTITY % English "INCLUDE"><!-- change language only here -->
4 ]>
5
6 <refentry lang="&language;">
7
8 <refentryinfo>
9 <title>&kde-frameworks;: KService</title>
10 <author>
11 <firstname>Darian</firstname>
12 <surname>Lanx</surname>
13 <contrib>Wrote the original documentation.</contrib>
14 <affiliation>
15 <address><email>[email protected]</email></address>
16 </affiliation>
17 </author>
18 <author>
19 <firstname>Alex</firstname>
20 <surname>Merry</surname>
21 <contrib>Updated the documentation for &kf5-full;.</contrib>
22 <affiliation>
23 <address><email>[email protected]</email></address>
24 </affiliation>
25 </author>
26
27 <date>2015-09-17</date>
28 <releaseinfo>Frameworks 5.15</releaseinfo>
29 <productname>KDE Frameworks</productname>
30
31 </refentryinfo>
32
33 <refmeta>
34 <refentrytitle><command>kbuildsycoca5</command></refentrytitle>
35 <manvolnum>8</manvolnum>
36 </refmeta>
37
38 <refnamediv>
39 <refname><command>kbuildsycoca5</command></refname>
40 <refpurpose>Rebuilds the KService desktop file system configuration cache</refpurpose>
41 </refnamediv>
42
43 <refsynopsisdiv>
44 <title>Synopsis</title>
45
46 <cmdsynopsis>
47 <command>kbuildsycoca5</command>
48 <group choice="opt" rep="repeat"><replaceable class="option">OPTIONS</replaceable></group>
49 </cmdsynopsis>
50
51 </refsynopsisdiv>
52
53
54
55 <refsect1>
56 <title>Description</title>
57
58 <para>
59 <command>kbuildsycoca5</command> builds binary cache of the data stored in
60 <literal role="extension">.desktop</literal> and &MIME; type <literal
61 role="extension">.xml</literal> files that the KService framework uses to find
62 plugins, applications and other services.
63 </para>
64
65 <para>
66 The KService library uses this database to efficiently provide the information
67 requested of it.
68 </para>
69
70 <para>
71 Users do not normally need to run this application directly; KService will run
72 it if necessary, when any of the files whose data is cached are changed.
73 </para>
74 </refsect1>
75
76
77
78 <refsect1>
79 <title>Options</title>
80 <variablelist>
81
82 <varlistentry>
83 <term><option>--global</option></term>
84 <listitem>
85 <para>Ignores any user-set files (in <varname>XDG_DATA_HOME</varname>). This is currently only supported on &UNIX; systems.</para>
86 </listitem>
87 </varlistentry>
88
89 <varlistentry>
90 <term><option>--noincremental</option></term>
91 <listitem>
92 <para>Rather than using the existing cache and only updating the information that has changed or been added, start with an empty cache. Ignored if <option>--global</option> is set.</para>
93 </listitem>
94 </varlistentry>
95
96 <varlistentry>
97 <term><option>--nosignal</option></term>
98 <listitem>
99 <para>Ordinarily, <command>kbuildsycoca5</command> sends a signal over &DBus; once the cache is updated to all the applications that use KService so that they are always working with the latest information. This option suppresses that behaviour.</para>
100 </listitem>
101 </varlistentry>
102
103 <varlistentry>
104 <term><option>--menutest</option></term>
105 <listitem>
106 <para>Test the generation of the application menu database. Does not actually build the cache.</para>
107 </listitem>
108 </varlistentry>
109
110 <varlistentry>
111 <term><option>--testmode</option></term>
112 <listitem>
113 <para>Use the QStandardPaths "test mode" to avoid interfering with user data. This is intended for use with unit tests.</para>
114 </listitem>
115 </varlistentry>
116
117 <varlistentry>
118 <term><option>--track <replaceable>menu-id</replaceable></option></term>
119 <listitem>
120 <para>Track a menu ID for debugging.</para>
121 </listitem>
122 </varlistentry>
123
124 <varlistentry>
125 <term><option>--author</option></term>
126 <listitem>
127 <para>
128 Show author information.
129 </para>
130 </listitem>
131 </varlistentry>
132
133 <varlistentry>
134 <term><option>--license</option></term>
135 <listitem>
136 <para>
137 Show license information.
138 </para>
139 </listitem>
140 </varlistentry>
141
142 <varlistentry>
143 <term><option>-h, --help</option></term>
144 <listitem>
145 <para>
146 Show a brief help text.
147 </para>
148 </listitem>
149 </varlistentry>
150
151 <varlistentry>
152 <term><option>-v , --version</option></term>
153 <listitem>
154 <para>
155 Show version information.
156 </para>
157 </listitem>
158 </varlistentry>
159
160 </variablelist>
161 </refsect1>
162
163
164
165 <refsect1>
166 <title>Files</title>
167 <variablelist>
168 <varlistentry>
169 <term><filename><varname>cachedir</varname>/ksycoca5_[lang]_[sha1-of-dirs]</filename></term>
170 <listitem>
171 <para>The KService cache generated by <command>kbuildsycoca5</command>. On &UNIX; systems, <varname>cachedir</varname>
172 is typically <filename class="directory"><envar>XDG_CACHE_HOME</envar></filename>.</para>
173 </listitem>
174 </varlistentry>
175 </variablelist>
176 </refsect1>
177
178
179
180 <refsect1>
181 <title>See Also</title>
182 <para>
183 <citerefentry><refentrytitle>kded5</refentrytitle><manvolnum>8</manvolnum></citerefentry>,
184 <citerefentry><refentrytitle>kdeinit5</refentrytitle><manvolnum>8</manvolnum></citerefentry>
185 </para>
186 </refsect1>
187
188
189
190 <refsect1>
191 <title>Bugs</title>
192 <para>Please use <ulink url="https://bugs.kde.org">&kde;'s bugtracker</ulink> to report bugs.</para>
193 </refsect1>
194
195 </refentry>
196
197
198