Package desktop-file-utils

Utilities for manipulating .desktop files

https://www.freedesktop.org/software/desktop-file-utils

.desktop files are used to describe an application for inclusion in
GNOME or KDE menus.  This package contains desktop-file-validate which
checks whether a .desktop file complies with the specification at
http://www.freedesktop.org/standards/, and desktop-file-install
which installs a desktop file to the standard directory, optionally
fixing it up in the process.
General Commands (Section 1)
desktop-file-install
The desktop-file-install program is a tool to install, and optionally edit, desktop files. The desktop-file-edit program is a tool to edit a desktop file. They...
desktop-file-validate
The desktop-file-validate program is a tool to validate desktop entry files according to the Desktop Entry specification 1.1. The specification describes a file...
update-desktop-database
The update-desktop-database program is a tool to build a cache database of the MIME types handled by desktop files. The cache database contains the list of MIME...