LinuxCommandLibrary

xdg-desktop-menu

Install desktop menu entries

TLDR

Install application to menu

$ xdg-desktop-menu install [path/to/file.desktop]
copy
Install without vendor check
$ xdg-desktop-menu install --novendor [path/to/file.desktop]
copy
Uninstall from menu
$ xdg-desktop-menu uninstall [path/to/file.desktop]
copy
Force update menu
$ xdg-desktop-menu forceupdate --mode [user|system]
copy

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 system
uninstall FILE
Remove desktop file from menu system
forceupdate
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

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community