| 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 % Catalan "INCLUDE" |
| 4 |
><!-- change language only here --> |
| 5 |
]> |
| 6 |
|
| 7 |
<refentry lang="&language;"> |
| 8 |
|
| 9 |
<refentryinfo> |
| 10 |
<title |
| 11 |
>&kde-frameworks;: KService</title> |
| 12 |
<author |
| 13 |
><firstname |
| 14 |
>Darian</firstname |
| 15 |
> <surname |
| 16 |
>Lanx</surname |
| 17 |
> <contrib |
| 18 |
>Va escriure la documentació original.</contrib> |
| 19 |
<affiliation> |
| 20 |
<address |
| 21 |
><email |
| 22 |
>[email protected]</email |
| 23 |
></address> |
| 24 |
</affiliation> |
| 25 |
</author> |
| 26 |
<author |
| 27 |
><firstname |
| 28 |
>Alex</firstname |
| 29 |
> <surname |
| 30 |
>Merry</surname |
| 31 |
> <contrib |
| 32 |
>Ha actualitzat la documentació al &kf5-full;.</contrib> |
| 33 |
<affiliation> |
| 34 |
<address |
| 35 |
><email |
| 36 |
>[email protected]</email |
| 37 |
></address> |
| 38 |
</affiliation> |
| 39 |
</author> |
| 40 |
|
| 41 |
<date |
| 42 |
>17 de setembre de 2015</date> |
| 43 |
<releaseinfo |
| 44 |
>Frameworks 5.15</releaseinfo> |
| 45 |
<productname |
| 46 |
>Frameworks del KDE</productname> |
| 47 |
|
| 48 |
</refentryinfo> |
| 49 |
|
| 50 |
<refmeta> |
| 51 |
<refentrytitle |
| 52 |
><command |
| 53 |
>kbuildsycoca6</command |
| 54 |
></refentrytitle> |
| 55 |
<manvolnum |
| 56 |
>8</manvolnum> |
| 57 |
</refmeta> |
| 58 |
|
| 59 |
<refnamediv> |
| 60 |
<refname |
| 61 |
><command |
| 62 |
>kbuildsycoca6</command |
| 63 |
></refname> |
| 64 |
<refpurpose |
| 65 |
>Refà el cau de la configuració del sistema per als fitxers d'escriptori al KService</refpurpose> |
| 66 |
</refnamediv> |
| 67 |
|
| 68 |
<refsynopsisdiv> |
| 69 |
<title |
| 70 |
>Sinopsi</title> |
| 71 |
|
| 72 |
<cmdsynopsis |
| 73 |
><command |
| 74 |
>kbuildsycoca6</command |
| 75 |
> <group choice="opt" rep="repeat" |
| 76 |
><replaceable class="option" |
| 77 |
>OPCIONS</replaceable |
| 78 |
></group |
| 79 |
> </cmdsynopsis> |
| 80 |
|
| 81 |
</refsynopsisdiv> |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
<refsect1> |
| 86 |
<title |
| 87 |
>Descripció</title> |
| 88 |
|
| 89 |
<para |
| 90 |
>El <command |
| 91 |
>kbuildsycoca6</command |
| 92 |
> construeix el cau binari de les dades emmagatzemades als fitxers <literal role="extension" |
| 93 |
>.desktop</literal |
| 94 |
>, <literal role="extension" |
| 95 |
>.xml</literal |
| 96 |
> i tipus &MIME; que l'entorn de treball KService utilitza per a trobar connectors, aplicacions i altres serveis. </para> |
| 97 |
|
| 98 |
<para |
| 99 |
>La biblioteca KService empra aquesta base de dades per a proporcionar de manera eficient la informació requerida. </para> |
| 100 |
|
| 101 |
<para |
| 102 |
>Normalment, els usuaris no necessitaran executar aquesta aplicació directament. El KService l'executarà si cal, cada vegada que algun dels fitxers canviï les dades desades a la memòria cau. </para> |
| 103 |
</refsect1> |
| 104 |
|
| 105 |
|
| 106 |
|
| 107 |
<refsect1> |
| 108 |
<title |
| 109 |
>Opcions</title> |
| 110 |
<variablelist> |
| 111 |
|
| 112 |
<varlistentry> |
| 113 |
<term |
| 114 |
><option |
| 115 |
>--global</option |
| 116 |
></term> |
| 117 |
<listitem> |
| 118 |
<para |
| 119 |
>Ignora els fitxers definits per l'usuari (a <varname |
| 120 |
>XDG_DATA_HOME</varname |
| 121 |
>). Actualment, això només està suportat en sistemes &UNIX;.</para> |
| 122 |
</listitem> |
| 123 |
</varlistentry> |
| 124 |
|
| 125 |
<varlistentry> |
| 126 |
<term |
| 127 |
><option |
| 128 |
>--noincremental</option |
| 129 |
></term> |
| 130 |
<listitem> |
| 131 |
<para |
| 132 |
>En lloc d'utilitzar la memòria cau existent i només actualitzar la informació que ha canviat o que ha estat afegida, començarà amb una memòria cau buida. S'ignorarà si s'estableix l'opció <option |
| 133 |
>--global</option |
| 134 |
>.</para> |
| 135 |
</listitem> |
| 136 |
</varlistentry> |
| 137 |
|
| 138 |
<varlistentry> |
| 139 |
<term |
| 140 |
><option |
| 141 |
>--menutest</option |
| 142 |
></term> |
| 143 |
<listitem> |
| 144 |
<para |
| 145 |
>Prova la generació de la base de dades del menú d'aplicacions. En realitat no construeix la memòria cau.</para> |
| 146 |
</listitem> |
| 147 |
</varlistentry> |
| 148 |
|
| 149 |
<varlistentry> |
| 150 |
<term |
| 151 |
><option |
| 152 |
>--testmode</option |
| 153 |
></term> |
| 154 |
<listitem> |
| 155 |
<para |
| 156 |
>Utilitza el «mode de prova» QStandardPaths per a evitar interferir amb les dades de l'usuari. Això és per a ús amb les proves unitàries.</para> |
| 157 |
</listitem> |
| 158 |
</varlistentry> |
| 159 |
|
| 160 |
<varlistentry> |
| 161 |
<term |
| 162 |
><option |
| 163 |
>--track <replaceable |
| 164 |
>ID-menú</replaceable |
| 165 |
></option |
| 166 |
></term> |
| 167 |
<listitem> |
| 168 |
<para |
| 169 |
>Segueix un identificador de menú per a la depuració.</para> |
| 170 |
</listitem> |
| 171 |
</varlistentry> |
| 172 |
|
| 173 |
<varlistentry> |
| 174 |
<term |
| 175 |
><option |
| 176 |
>--author</option |
| 177 |
></term> |
| 178 |
<listitem> |
| 179 |
<para |
| 180 |
>Mostra la informació sobre l'autor. </para> |
| 181 |
</listitem> |
| 182 |
</varlistentry> |
| 183 |
|
| 184 |
<varlistentry> |
| 185 |
<term |
| 186 |
><option |
| 187 |
>--license</option |
| 188 |
></term> |
| 189 |
<listitem> |
| 190 |
<para |
| 191 |
>Mostra la informació sobre la llicència. </para> |
| 192 |
</listitem> |
| 193 |
</varlistentry> |
| 194 |
|
| 195 |
<varlistentry> |
| 196 |
<term |
| 197 |
><option |
| 198 |
>-h, --help</option |
| 199 |
></term> |
| 200 |
<listitem> |
| 201 |
<para |
| 202 |
>Mostra un text breu d'ajuda. </para> |
| 203 |
</listitem> |
| 204 |
</varlistentry> |
| 205 |
|
| 206 |
<varlistentry> |
| 207 |
<term |
| 208 |
><option |
| 209 |
>-v, --version</option |
| 210 |
></term> |
| 211 |
<listitem> |
| 212 |
<para |
| 213 |
>Mostra la informació sobre la versió. </para> |
| 214 |
</listitem> |
| 215 |
</varlistentry> |
| 216 |
|
| 217 |
</variablelist> |
| 218 |
</refsect1> |
| 219 |
|
| 220 |
|
| 221 |
|
| 222 |
<refsect1> |
| 223 |
<title |
| 224 |
>Fitxers</title> |
| 225 |
<variablelist> |
| 226 |
<varlistentry> |
| 227 |
<term |
| 228 |
><filename |
| 229 |
><varname |
| 230 |
>cachedir</varname |
| 231 |
>/ksycoca6_[idioma]_[sha1-dels-dirs]</filename |
| 232 |
></term> |
| 233 |
<listitem> |
| 234 |
<para |
| 235 |
>La memòria cau del KService generada pel <command |
| 236 |
>kbuildsycoca6</command |
| 237 |
>. Sobre els sistemes &UNIX;, el <varname |
| 238 |
>directori_cau</varname |
| 239 |
> sol ser <filename class="directory" |
| 240 |
><envar |
| 241 |
>XDG_CACHE_HOME</envar |
| 242 |
></filename |
| 243 |
>.</para> |
| 244 |
</listitem> |
| 245 |
</varlistentry> |
| 246 |
</variablelist> |
| 247 |
</refsect1> |
| 248 |
|
| 249 |
|
| 250 |
|
| 251 |
<refsect1> |
| 252 |
<title |
| 253 |
>Vegeu també</title> |
| 254 |
<para |
| 255 |
><citerefentry |
| 256 |
><refentrytitle |
| 257 |
>kded5</refentrytitle |
| 258 |
><manvolnum |
| 259 |
>8</manvolnum |
| 260 |
></citerefentry |
| 261 |
>, <citerefentry |
| 262 |
><refentrytitle |
| 263 |
>kdeinit5</refentrytitle |
| 264 |
><manvolnum |
| 265 |
>8</manvolnum |
| 266 |
></citerefentry |
| 267 |
> </para> |
| 268 |
</refsect1> |
| 269 |
|
| 270 |
|
| 271 |
|
| 272 |
<refsect1> |
| 273 |
<title |
| 274 |
>Errors</title> |
| 275 |
<para |
| 276 |
>Si us plau, empreu el <ulink url="https://bugs.kde.org" |
| 277 |
>Seguidor d'errors del &kde;</ulink |
| 278 |
> (escriviu-hi en anglès) per a informar dels errors.</para> |
| 279 |
</refsect1> |
| 280 |
|
| 281 |
</refentry> |
| 282 |
|
| 283 |
|
| 284 |
|