DESKTOP-FILE-VALIDATE(1)

πŸ“¦
version 0.28 Β· 2 versions
  • 0.28 Β· alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 0.26 Β· debian bookworm, ubuntu jammy
, in alpine 3.24, arch rolling, centos-stream 10, centos-stream 9, debian trixie, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– 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, UnmountIcon keys
    • and the Service, ServiceType and FSDevice types 🌈

πŸ’€ BUGS πŸ’€

if you find bugs in desktop-file-validate, pls don't suffer in silence β€” report them over at:

https://bugs.freedesktop.org

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 πŸŒˆβœ¨πŸŽ€