1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-03 07:55:24 +02:00
tldr/pages/linux/xdg-desktop-menu.md
Managor 16b161ccf8
linux/*: reduce usage of "command-line" (#16946)
Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com>
2025-06-29 11:47:51 +03:00

600 B

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}}