LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

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

INSTALL

sudo dnf install xdg-utils
copy
sudo pacman -S xdg-utils
copy
sudo apk add xdg-utils
copy
sudo zypper install xdg-utils
copy
nix profile install nixpkgs#xdg-utils
copy

CAVEATS

Requires valid .desktop files. Menu system must be XDG compliant. Changes may require logout or menu refresh to appear.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid