snippetbashTip
xdg-desktop-menu — Install or uninstall desktop menu items. More information: <https://manned.org/xdg-desktop-menu>.
Viewed 0 times
commandinstallcliuninstallmenuitemsdesktopxdg-desktop-menu
linux
Problem
How to use the
xdg-desktop-menu command: Install or uninstall desktop menu items. More information: <https://manned.org/xdg-desktop-menu>.Solution
xdg-desktop-menu — Install or uninstall desktop menu items. More information: <https://manned.org/xdg-desktop-menu>.Install an application to the desktop menu system:
xdg-desktop-menu install {{path/to/file.desktop}}Install an application to the desktop menu system with the vendor prefix check disabled:
xdg-desktop-menu install --novendor {{path/to/file.desktop}}Uninstall an application from the desktop menu system:
xdg-desktop-menu uninstall {{path/to/file.desktop}}Force an update of the desktop menu system:
xdg-desktop-menu forceupdate --mode {{user|system}}Code Snippets
Install an application to the desktop menu system
xdg-desktop-menu install {{path/to/file.desktop}}Install an application to the desktop menu system with the vendor prefix check disabled
xdg-desktop-menu install --novendor {{path/to/file.desktop}}Uninstall an application from the desktop menu system
xdg-desktop-menu uninstall {{path/to/file.desktop}}Force an update of the desktop menu system
xdg-desktop-menu forceupdate --mode {{user|system}}Context
tldr-pages: linux/xdg-desktop-menu
Revisions (0)
No revisions yet.