macOS
brew install desktop-file-utilslocal Homebrew formula metadata
sudo port install desktop-file-utilsMacPorts ports tree · gnome/desktop-file-utils/Portfile · 来源: api.github.com
安装
brew install desktop-file-utilslocal Homebrew formula metadata
sudo port install desktop-file-utilsMacPorts ports tree · gnome/desktop-file-utils/Portfile · 来源: api.github.com
sudo apk add desktop-file-utilsAlpine Linux edge package indexes · desktop-file-utils · 来源: dl-cdn.alpinelinux.org
sudo apt install desktop-file-utilsDebian stable package indexes · desktop-file-utils · 来源: deb.debian.org
sudo dnf install desktop-file-utilsFedora Rawhide package metadata · desktop-file-utils · 来源: dl.fedoraproject.org
nix profile install nixpkgs#desktop-file-utilsnixpkgs package indexes · pkgs/by-name/de/desktop-file-utils/package.nix · 来源: api.github.com
sudo pacman -S desktop-file-utilsArch Linux sync databases · desktop-file-utils · 来源: geo.mirror.pkgbuild.com
sudo zypper install desktop-file-utilsopenSUSE Tumbleweed package metadata · desktop-file-utils · 来源: download.opensuse.org
概览
Command-line utilities for working with desktop entries
历史
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.
安全态势
broad file, network, media, or database tool signal.
blue 风险 · 中 置信度 · tool
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
desktop-file-edit | cli | 全局可执行文件 | |
desktop-file-install | cli | 全局可执行文件 | |
desktop-file-validate | cli | 全局可执行文件 | |
update-desktop-database | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://wiki.freedesktop.org/www/Software/desktop-file-utils/
安装元数据
| 软件包键 | brew:desktop-file-utils |
|---|---|
| 版本 | 0.28 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/desktop-file-utils |
| 主页 | https://wiki.freedesktop.org/www/Software/desktop-file-utils/ |
| 仓库 | https://gitlab.freedesktop.org/xdg/desktop-file-utils |
| 上游文档 | https://www.freedesktop.org/wiki/Software/desktop-file-utils |
| 许可证 | GPL-2.0-or-later |
| 源码归档 | https://www.freedesktop.org/software/desktop-file-utils/releases/desktop-file-utils-0.28.tar.xz |
| 依赖 | gettext, glib |
| 构建依赖 | meson, ninja, pkgconf |
| Bottle | 可用 (于 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, arm64_ventura, sonoma, ventura, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | 未声明 |
注册表事实
| 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 |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
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-utils来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.