xdg-desktop-menu
Install or uninstall desktop menu items. tldr-pages
On Linux
Linux
Install an application to the desktop menu system
xdg-desktop-menu install path/to/file.desktopIdentifyInstall an application to the desktop menu system with the vendor prefix check disabled
xdg-desktop-menu install --novendor path/to/file.desktopIdentifyUninstall an application from the desktop menu system
xdg-desktop-menu uninstall path/to/file.desktopIdentifyForce an update of the desktop menu system
xdg-desktop-menu forceupdate --mode userIdentify