desktop-file-utils - Utilities for .desktop files

  • Distribution: Ubuntu 12.04 LTS
  • Repository: Ubuntu Updates Main amd64
  • Package name: desktop-file-utils
  • Package version: 0.20
  • Package architecture: amd64
  • Package type: deb
  • Installed size: 239 B
  • Download size: 64,04 KB
  • Binary package: desktop-file-utils_0.20-0ubuntu3_amd64.deb
  • Source package: desktop-file-utils

Some utilities to make dealing with .desktop files easier:

* update-desktop-database -- update the desktop-MIME mapping

* desktop-file-validate -- validate a desktop file * desktop-file-install -- install a desktop file, munging en route.

See Also



Download desktop-file-utils_0.20-0ubuntu3_amd64.deb

Download desktop-file-utils_0.20-0ubuntu3_amd64.deb for Ubuntu 12.04 LTS
from the Ubuntu Updates Main repository.

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install desktop-file-utils deb package:
    # sudo apt-get install desktop-file-utils



  • /etc/bash_completion.d/desktop-file-validate
  • /etc/gnome/defaults.list
  • /usr/bin/desktop-file-edit
  • /usr/bin/desktop-file-install
  • /usr/bin/desktop-file-validate
  • /usr/bin/update-desktop-database
  • /usr/share/applications/defaults.list
  • /usr/share/doc/desktop-file-utils/changelog.Debian.gz
  • /usr/share/doc/desktop-file-utils/copyright
  • /usr/share/emacs/site-lisp/desktop-entry-mode.el
  • /usr/share/lintian/overrides/desktop-file-utils
  • /usr/share/man/man1/desktop-file-edit.1.gz
  • /usr/share/man/man1/desktop-file-install.1.gz
  • /usr/share/man/man1/desktop-file-validate.1.gz
  • /usr/share/man/man1/update-desktop-database.1.gz


2012-06-25 - Sebastien Bacher <> desktop-file-utils (0.20-0ubuntu3) precise-proposed; urgency=low * debian/defaults.list: - set the audacity default handler, thanks Benjamin Drung (lp: #1006610) - set the odb files to open with libreoffice-base by default (lp: #1016581)

2012-04-11 - Sebastien Bacher <> desktop-file-utils (0.20-0ubuntu2) precise; urgency=low * debian/defaults.list: - set icedtea-netx-javaws as default jnlp handler (lp: #949823)

2012-03-06 - Sebastien Bacher <> desktop-file-utils (0.20-0ubuntu1) precise; urgency=low * New upstream version: - support the new desktop action spec

2012-01-09 - Sebastien Bacher <> desktop-file-utils (0.19-0ubuntu2) precise; urgency=low * debian/defaults.list: set evolution as the default calendar applications to avoid having gedit listed instead (lp: #841409)

2012-01-05 - Sebastien Bacher <> desktop-file-utils (0.19-0ubuntu1) precise; urgency=low * New upstream version * debian/patches/unity-is-registered.patch: - dropped, the fix is in the new version

2011-12-14 - Sebastien Bacher <> desktop-file-utils (0.18-1ubuntu3) precise; urgency=low * debian/defaults.list: - set libreoffice as the default handler for slideshow types (lp: #904212)

2011-12-14 - Sebastien Bacher <> desktop-file-utils (0.18-1ubuntu2) precise; urgency=low * debian/defaults.list: - set rhythmbox as the default music player rather than totem, that's what design suggested previous cycle and what most users want (lp: #903388) - replace some remaining f-spot default associations with shotwell

2011-12-12 - Sebastien Bacher <> desktop-file-utils (0.18-1ubuntu1) precise; urgency=low * Resynchronize on Debian * debian/defaults.list, debian/desktop-file-utils.install, debian/desktop-file-utils.links: - install the defaults.list.

2011-11-29 - Loïc Minier <> desktop-file-utils (0.18-1) unstable; urgency=low * New upstream releases; closes: #575000. - Fixes unguarded usage of variables in format strings, breaking the build; closes: #643373. - Add manpages for desktop-file-install, desktop-file-validate, and update-desktop-database; closes: #284831; drop debian/desktop-file-install.8 and debian/desktop-file-validate.1. Stop installing now useless upstream README. * Update my email address in control. * postrm: allow /usr/local/share/applications to be a symlink, in which case it isn't rmdir-ed; closes: #567338. * rules: remove snippet to strip emacs syntax file; the default lispdir install path is detected correctly even without an emacs build-dep; there is an example emacs autoload config snippet at the top of /usr/share/emacs/site-lisp/desktop-entry-mode.el and in the Debian bug report; closes: #570309. Drop now empty debian/TODO. * Add lintian override for the empty /usr/share/applications directory shipped in desktop-file-utils; this is to allow creating an (empty) mimeinfo database upon installation. * Cleanup and upgrade packaging. - Drop versions of build-deps when satisfied in oldstable. - Switch from cdbs to dh --with autotools_dev (updates config.guess and .sub); drop cdbs and gnome-pkg-tools build-deps, move to debhelper compatibility level 9 and bump debhelper build-dep to >= 8.9.0~ -- this brings dpkg-buildflags support. - Upstream now only distributes .bz2 tarball so use these; switch to debian/source/format 3.0 (quilt) and update watch file. - Bump Standards-Version to 3.9.2. - Update copyright with proper list of copyright holders. * Add patch unity-is-registered from upstream repo taken from the Ubuntu package to support Unity as desktop environment to minimize the Ubuntu diff and not bark on Ubuntu .desktop files.

Next Packages