10139N/A<!DOCTYPE REFENTRY PUBLIC "-//Sun Microsystems//DTD DocBook V3.0-Based SolBook Subset V2.0//EN" [
10139N/A<!--ArborText, Inc., 1988-1999, v.4002-->
10139N/A<!ENTITY cmd "update-desktop-database">
10139N/A<!ENTITY % commonents SYSTEM "smancommon.ent">
10139N/A%commonents;
10139N/A<!ENTITY % booktitles SYSTEM "booktitles.ent">
10139N/A%booktitles;
10139N/A<!ENTITY suncopy "Copyright (c) 2006 Sun Microsystems, Inc. All Rights Reserved.">
10139N/A]>
10139N/A<?Pub UDT _bookmark _target>
10139N/A<?Pub Inc>
10139N/A<refentry id="update-desktop-database-1">
10139N/A<!-- %Z%%M% %I% %E% SMI; -->
10139N/A<refmeta><refentrytitle>update-desktop-database</refentrytitle><manvolnum>1</manvolnum>
10139N/A<refmiscinfo class="date">31 Jan 2007</refmiscinfo>
10139N/A<refmiscinfo class="sectdesc">&man1;</refmiscinfo>
10139N/A<refmiscinfo class="software">&release;</refmiscinfo>
10139N/A<refmiscinfo class="arch">generic</refmiscinfo>
10139N/A<refmiscinfo class="copyright">&suncopy;</refmiscinfo>
10139N/A</refmeta>
10139N/A<indexterm><primary>update-desktop-database</primary></indexterm><indexterm><primary>
10139N/ADesktop file caching utility</primary></indexterm><refnamediv id="update-desktop-database-1-name">
10139N/A<refname>update-desktop-database</refname><refpurpose>Desktop file caching utility</refpurpose>
10139N/A</refnamediv>
10139N/A<refsynopsisdiv id="update-desktop-database-1-synp"><title>&synp-tt;</title>
10139N/A<cmdsynopsis><command>&cmd;</command>
13701N/A<arg choice="opt"><option>-help</option></arg>
10139N/A<arg choice="opt"><option>-verbose</option></arg>
10139N/A<arg choice="opt"><option>-quiet</option></arg>
10139N/A<arg choice="opt"><option role="nodash"><replaceable>filepath</replaceable></option></arg>
10139N/A</cmdsynopsis></refsynopsisdiv>
10139N/A
10139N/A<refsect1 id="update-desktop-database-1-desc"><title>&desc-tt;</title>
10139N/A
10139N/A<para>
10139N/A<command>&cmd;</command> creates cache files for desktop file MIME type mapping
10139N/Afor improved MIME lookup performance.
10139N/A</para>
10139N/A
10139N/A<para>
10139N/AIt expects to be given the path to a directory or directories containing a number
10139N/Aof application installed .desktop files,
10139N/Ae.g. <filename>/usr/share/applications</filename>, and writes a
10139N/A<filename>mime-info.cache</filename> containing cached information
10139N/Aabout the MIME types that each application can handle. If no directory is
10139N/Aprovided, this utility will use a default directory list as specified in the
10139N/AFreeDesktop MIME specification. This cache file is used to avoid a lot of
10139N/Asystem call and disk seek overhead in a number of applications.
10139N/A</para>
10139N/A</refsect1>
10139N/A
10139N/A<refsect1 id="update-desktop-database-1-opts"><title>&opts-tt;</title>
10139N/A<para>The following options are supported:</para>
10139N/A<variablelist termlength="wide">
10139N/A
13701N/A<varlistentry><term><option>?</option>, <option>-help</option></term>
13701N/A<listitem><para>
13701N/AShow help options.
13701N/A</para>
13701N/A</listitem></varlistentry>
13701N/A
10139N/A<varlistentry><term><option>v</option>, <option>-verbose</option></term>
10139N/A<listitem><para>
10139N/ATurn on verbose output.
10139N/A</para>
10139N/A</listitem></varlistentry>
10139N/A
10139N/A<varlistentry><term><option>q</option>, <option>-quiet</option></term>
10139N/A<listitem><para>
10139N/ADo not provide any output.
10139N/A</para>
10139N/A</listitem></varlistentry>
10139N/A
10139N/A</variablelist>
10139N/A</refsect1>
10139N/A
11904N/A<refsect1 id="update-desktop-database-1-oper"><title>&oper-tt;</title>
10139N/A<para>The following operands are supported:</para>
10139N/A<variablelist termlength="medium">
10139N/A<varlistentry><term><option role="nodash"><replaceable>filepath</replaceable></option></term>
10139N/A<listitem><para>The path to a directory or directories containing a number of application
10139N/Ainstalled .desktop files.</listitem>
10139N/A</varlistentry>
10139N/A</variablelist></refsect1>
10139N/A
10139N/A<refsect1 id="update-desktop-database-1-exit"><title>&exit-tt;</title>
10139N/A<para>The following exit values are returned:</para>
10139N/A<variablelist termlength="xtranarrow"><varlistentry><term><returnvalue>0</returnvalue></term>
10139N/A<listitem><para>Application exited successfully</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><returnvalue>1</returnvalue></term><listitem><para>Application
10139N/Aexited with failure</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist></refsect1>
10139N/A
10139N/A<refsect1 id="update-desktop-database-1-file"><title>&file-tt;</title>
10139N/A<para>The following files are used by this application:</para>
10139N/A<variablelist termlength="wide">
10139N/A<varlistentry><term><filename>/usr/bin/&cmd;</filename>
10139N/A</term><listitem><para>The command-line executable for the application.</para>
10139N/A</listitem></varlistentry>
10139N/A<varlistentry><term><filename>/usr/share/applications</filename>
10139N/A</term><listitem><para>System desktop file directory</para>
10139N/A</listitem></varlistentry>
10139N/A</variablelist>
10139N/A</refsect1>
10139N/A<refsect1 id="update-desktop-database-1-attr"><title>&attr-tt;</title>
10139N/A<para>See <olink targetdocent="REFMAN5" localinfo="attributes-5"><citerefentry>
10139N/A<refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry></olink>
10139N/Afor descriptions of the following attributes:</para>
10139N/A<informaltable frame="all">
10139N/A<tgroup cols="2" colsep="1" rowsep="1"><colspec colname="COLSPEC0" colwidth="1*">
10139N/A<colspec colname="COLSPEC1" colwidth="1*">
10139N/A<thead>
10139N/A<row><entry align="center" valign="middle">ATTRIBUTE TYPE</entry><entry align="center"
10139N/Avalign="middle">ATTRIBUTE VALUE</entry></row>
10139N/A</thead>
10139N/A<tbody>
18745N/A<row><entry><para>Availability</para></entry><entry><para>gnome/preferences/control-center
10139N/A</para></entry></row>
10139N/A<row><entry colname="COLSPEC0"><para>Interface stability</para></entry><entry
10139N/Acolname="COLSPEC1"><para>Committed</para></entry></row>
10139N/A</tbody>
10139N/A</tgroup>
10139N/A</informaltable>
10139N/A</refsect1>
10139N/A<refsect1 id="update-desktop-database-1-also"><title>&also-tt;</title>
10139N/A<!--Reference to another man page-->
10139N/A<!--Reference to a Help manual-->
10139N/A<!--Reference to a book.-->
10139N/A<para>
10139N/A<citerefentry><refentrytitle>update-mime-database</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
10139N/A<citerefentry><refentrytitle>gnome-desktop-item-edit</refentrytitle><manvolnum>1</manvolnum></citerefentry>,
11904N/A<citerefentry><refentrytitle>attributes</refentrytitle><manvolnum>5</manvolnum></citerefentry>,
11904N/A<citerefentry><refentrytitle>gnome-interfaces</refentrytitle><manvolnum>5</manvolnum></citerefentry>
10139N/A</para>
10139N/A<para>Latest version of the <citetitle>GNOME Desktop User Guide</citetitle> and
10139N/A<citetitle>GNOME System Administration Guide</citetitle> for your platform.</para>
10139N/A</refsect1>
10139N/A<refsect1 id="update-desktop-database-1-note"><title>&note-tt;</title>
10139N/A<para>Written by Glynn Foster, Sun Microsystems Inc., 2007.</para>
10139N/A</refsect1>
10139N/A</refentry>