update-desktop-database - Desktop file caching utility
update-desktop-database [--verbose] [--quiet] [filepath]
update-desktop-database creates cache files for desktop file MIME type mapping for improved MIME lookup performance.
It expects to be given the path to a directory or directories containing a number of application installed .desktop files, e.g. /usr/share/applications, and writes a mime-info.cache containing cached information about the MIME types that each application can handle. If no directory is provided, this utility will use a default directory list as specified in the FreeDesktop MIME specification. This cache file is used to avoid a lot of system call and disk seek overhead in a number of applications.
The following options are supported:
-v, --verbose Turn on verbose output.
-q, --quiet Do not provide any output.
The following operands are supported:
filepath The path to a directory or directories containing a number of application installed .desktop files.
The following exit values are returned:
0 Application exited successfully
1 Application exited with failure
The following files are used by this application:
/usr/bin/update-desktop-database The command-line executable for the application.
/usr/share/applications System desktop file directory
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE ATTRIBUTE VALUE Availability SUNWgnome-desktop-prefs Interface stability Committed
update-mime-database(1), gnome-desktop-item-edit(1),
Latest version of the GNOME Desktop User Guide and GNOME System Administration Guide for your platform.
Written by Glynn Foster, Sun Microsystems Inc., 2007.
| SunOS 5.11 | update-desktop-database (1) | 31 Jan 2007 |