The desktop-file-utils package contains command line utilities for working with desktop entries. These utilities are used by GNOME-2 and other applications to manipulate the MIME-types application databases and help adhere to the desktop entries standards specification.
Download (HTTP): http://freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.11.tar.gz
Download MD5 sum: b27a1890979caaca8e72ffe22af6e389
Download size: 340 KB
Estimated disk space required: 2.5 MB
Estimated build time: less than 0.1 SBU
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/desktop-file-utils
Install desktop-file-utils by running the following commands:
./configure --prefix=/usr && make
This package does not come with a test suite.
Now, as the root user:
make install
The default location for the MIME-types application database is /usr/share/applications/mimeinfo.cache. If you are going to install, or have already installed, a desktop environment such as GNOME or KDE in a prefix other than /usr, you'll need to update the XDG_DATA_DIRS variable with your prefix setting. Update the XDG_DATA_DIRS (if necessary) and XDG_CONFIG_DIRS environment variables so that the additional MIME-types application databases and desktop menu files are properly maintained and discovered by adding the following to the system-wide or personal profile:
For GNOME:
XDG_DATA_DIRS=/usr/share:$GNOME_PREFIX/share XDG_CONFIG_DIRS=/usr/share:/etc/gnome/2.14.3/xdg export XDG_DATA_DIRS XDG_CONFIG_DIRS
For KDE:
XDG_DATA_DIRS=/usr/share:$KDE_PREFIX/share XDG_CONFIG_DIRS=/usr/share:/etc/kde/xdg export XDG_DATA_DIRS XDG_CONFIG_DIRS
Last updated on 2007-01-18 13:38:19 -0600