xdg-desktop-menu
Install desktop menu entries
TLDR
Install application to menu
$ xdg-desktop-menu install [path/to/file.desktop]
Install without vendor check$ xdg-desktop-menu install --novendor [path/to/file.desktop]
Uninstall from menu$ xdg-desktop-menu uninstall [path/to/file.desktop]
Force update menu$ xdg-desktop-menu forceupdate --mode [user|system]
SYNOPSIS
xdg-desktop-menu COMMAND [OPTIONS] [FILE]
DESCRIPTION
xdg-desktop-menu installs and uninstalls desktop menu items conforming to the FreeDesktop.org Desktop Entry Specification. It handles the registration of applications with the desktop menu system.
The tool is part of the xdg-utils package that provides standardized desktop integration utilities.
PARAMETERS
install FILE
Install desktop file to menu systemuninstall FILE
Remove desktop file from menu systemforceupdate
Force menu system to update--novendor
Disable vendor prefix check--mode MODE
Specify user or system mode
CAVEATS
Requires valid .desktop files. Menu system must be XDG compliant. Changes may require logout or menu refresh to appear.
SEE ALSO
xdg-open(1), xdg-mime(1), desktop-file-validate(1)
