mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-10 21:58:20 +00:00
Update cheatsheets
This commit is contained in:
25
linux/xdg-desktop-menu
Normal file
25
linux/xdg-desktop-menu
Normal file
@@ -0,0 +1,25 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# xdg-desktop-menu
|
||||
|
||||
> Command-line tool for installing or uninstalling 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}}`
|
||||
Reference in New Issue
Block a user