macOS
brew install desktop-file-utilslocal Homebrew formula metadata
sudo port install desktop-file-utilsMacPorts ports tree · gnome/desktop-file-utils/Portfile · source: api.github.com
brew
Command-line utilities for working with desktop entries. Version 0.28 via Homebrew; verified from local package data.
install
brew install desktop-file-utilslocal Homebrew formula metadata
sudo port install desktop-file-utilsMacPorts ports tree · gnome/desktop-file-utils/Portfile · source: api.github.com
sudo apk add desktop-file-utilsAlpine Linux edge package indexes · desktop-file-utils · source: dl-cdn.alpinelinux.org
sudo apt install desktop-file-utilsDebian stable package indexes · desktop-file-utils · source: deb.debian.org
sudo dnf install desktop-file-utilsFedora Rawhide package metadata · desktop-file-utils · source: dl.fedoraproject.org
nix profile install nixpkgs#desktop-file-utilsnixpkgs package indexes · pkgs/by-name/de/desktop-file-utils/package.nix · source: api.github.com
sudo pacman -S desktop-file-utilsArch Linux sync databases · desktop-file-utils · source: geo.mirror.pkgbuild.com
sudo zypper install desktop-file-utilsopenSUSE Tumbleweed package metadata · desktop-file-utils · source: download.opensuse.org
overview
Command-line utilities for working with desktop entries
history
desktop-file-utils is a freedesktop.org utility collection for working with desktop entry files. Its commands validate .desktop files, install or edit them, and update the MIME-type cache derived from desktop entries.
The release archive starts with version 0.1 in September 2003, and the NEWS file describes that initial release as containing desktop-file-validate and desktop-file-install. Over time the project added update-desktop-database, support for newer desktop-entry specification versions, Meson builds, and a wider set of recognized desktop environments.
desktop-file-utils became part of the practical plumbing of Linux desktop packaging because application packages ship .desktop launchers and MIME handlers that need validation and cache updates. The freedesktop.org page documents development in the xdg/desktop-file-utils GitLab repository and release tarballs on freedesktop.org.
Packagers and desktop maintainers use desktop-file-validate to catch desktop-entry specification violations, desktop-file-install and desktop-file-edit to install or modify entries, and update-desktop-database to rebuild the cache of MIME types handled by desktop files.
For package nerds, desktop-file-utils is classic Linux desktop infrastructure: it rarely appears in screenshots, but it enforces the metadata that makes launchers, menus, MIME associations, and desktop integration work consistently across distributions.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
desktop-file-edit | cli | global executable | |
desktop-file-install | cli | global executable | |
desktop-file-validate | cli | global executable | |
update-desktop-database | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://wiki.freedesktop.org/www/Software/desktop-file-utils/
install metadata
| Package key | brew:desktop-file-utils |
|---|---|
| Version | 0.28 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/desktop-file-utils |
| Homepage | https://wiki.freedesktop.org/www/Software/desktop-file-utils/ |
| Repository | https://gitlab.freedesktop.org/xdg/desktop-file-utils |
| Upstream docs | https://www.freedesktop.org/wiki/Software/desktop-file-utils |
| License | GPL-2.0-or-later |
| Source archive | https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.28.tar.xz |
| Dependencies | gettext, glib |
| Build dependencies | meson, ninja, pkgconf |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | desktop-file-utils |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
desktop-file-utils 0.28-1
Utilities for .desktop files
https://www.freedesktop.org/wiki/Software/desktop-file-utils
sudo apt install desktop-file-utilsdesktop-file-utils
nix profile install nixpkgs#desktop-file-utilsdesktop-file-utils 0.27-2build1
Utilities for .desktop files
https://www.freedesktop.org/wiki/Software/desktop-file-utils
sudo apt install desktop-file-utilsdesktop-file-utils 0.28-r0
Command line utilities for working with desktop entries
https://www.freedesktop.org/wiki/Software/desktop-file-utils
sudo apk add desktop-file-utilsdesktop-file-utils-doc 0.28-r0
Command line utilities for working with desktop entries (documentation)
https://www.freedesktop.org/wiki/Software/desktop-file-utils
sudo apk add desktop-file-utils-docdesktop-file-utils-emacs 0.28-r0
Emacs mode for desktop-file-utils
https://www.freedesktop.org/wiki/Software/desktop-file-utils
sudo apk add desktop-file-utils-emacsdesktop-file-utils 0.28-5.fc44
Utilities for manipulating .desktop files
https://www.freedesktop.org/software/desktop-file-utils
sudo dnf install desktop-file-utilsdesktop-file-utils 0.28-1
Command line utilities for working with desktop entries
https://www.freedesktop.org/wiki/Software/desktop-file-utils
sudo pacman -S desktop-file-utilsdesktop-file-utils 0.28-3.2
Utilities for Manipulating Desktop Files
https://www.freedesktop.org/wiki/Software/desktop-file-utils
sudo zypper install desktop-file-utilsdesktop-file-utils
sudo port install desktop-file-utilssource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.