DESKTOP-FILE-VALIDATE(1)
π desktop-file-validate(1) π
okay bestie, so this is a General Commands Manual page for desktop-file-validate, and we're gonna get you fluent in it. no gatekeeping here, let's go β¨
β¨ NAME β¨
desktop-file-validate β the lil vibe-checker that validates desktop entry files π
πΈ SYNOPSIS πΈ
desktop-file-validate [--no-hints] [--no-warn-deprecated] [--warn-kde]
FILE...
π¦ DESCRIPTION π¦
so like. desktop-file-validate is a program that checks your desktop entry files and makes sure they're actually following the Desktop Entry specification 1.5. it's giving "peer review but for config files" π
and what even is this file format? okay so the spec describes a file format that carries info about an application β stuff like the name, the icon, and the description. once a file is all set up like that, it can be used as an application launcher, and it's also how your app shows up in the applications menu. main character behavior fr fr π
if you want the full lore on the Desktop Entry specification, it lives here:
http://freedesktop.org/wiki/Specifications/desktop-entry-spec
and psa: desktop entry files are commonly just called desktop files. that's the nickname, iykyk π
π OPTIONS π
here's everything this thing supports, no skips:
--no-hintsβ turns off the hints about stuff that might be improved in the desktop file. like, no suggestions, no notes, just the facts β¨--no-warn-deprecatedβ stops it from warning you about deprecated items, aka the ones that were defined in previous versions of the specification. old news stays old news π--warn-kdeβ now THIS one makes it warn about usage of KDE extensions to the specification. and bestie, that includes a whole list, so let's name them all:- the use of the KDE Desktop Entry group
- the
ServiceTypes,DocPath,Keywords,InitialPreference,Dev,FSType,MountPoint,ReadOnly,UnmountIconkeys - and the
Service,ServiceTypeandFSDevicetypes π
π BUGS π
if you find bugs in desktop-file-validate, pls don't suffer in silence β report them over at:
that's the spot, no cap π«Ά
π SEE ALSO π
desktop-file-edit(1) desktop-file-install(1)
the whole squad, honestly π
and that's the page!! every flag, every key, every URL, all preserved, none of it skipped β the facts did not change, only the vibe did π
okay bye ily, this manual came to you from FREEDESKTOP.ORG, and the page itself is dated to match the DESKTOP-FILE-VALIDATE(1) footer moment β so yeah, freedesktop.org said periodt πβ¨π
π¦ where this page comes from
- alpine 3.24: desktop-file-utils-doc 0.28-r0 Β· GPL-2.0-or-later
- arch rolling: desktop-file-utils 0.28-1 Β· GPL-2.0-or-later
- centos-stream 10: desktop-file-utils 0.26-15.el10 Β· GPL-2.0-or-later
- centos-stream 9: desktop-file-utils 0.26-6.el9 Β· GPLv2+
- debian trixie: desktop-file-utils 0.28-1 Β· GPL-2.0-or-later
- fedora 43: desktop-file-utils 0.28-2.fc43 Β· GPL-2.0-or-later
- fedora 44: desktop-file-utils 0.28-5.fc44 Β· GPL-2.0-or-later
- nixos 26.05: desktop-file-utils 0.28
- nixpkgs unstable: desktop-file-utils 0.28
- opensuse-leap 16.0: desktop-file-utils 0.28-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: desktop-file-utils 0.28-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: desktop-file-utils 0.28-160000.2.2 Β· GPL-2.0-or-later
- opensuse-leap 16.0: desktop-file-utils 0.28-160000.2.2 Β· GPL-2.0-or-later
- ubuntu noble: desktop-file-utils 0.27-2build1 Β· GPL-2.0-or-later
- ubuntu questing: desktop-file-utils 0.28-1
- ubuntu resolute: desktop-file-utils 0.28-1build1 Β· GPL-2.0-or-later
- ubuntu stonking: desktop-file-utils 0.28-1build1 Β· GPL-2.0-or-later
- (C) 2010 Vincent Untz (vuntz@gnome.org)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms