Launch XDG desktop entries with dmenu
Add to-do for bemenu
Fix generic-names.patch
Remove trailing whitespace


browse  log 



You can also use your local clone with git send-email.


This is a POSIX shell script that uses dmenu to launch XDG desktop entries.

It is easy to swap dmenu out for something else if you prefer. See patches/wofi.patch for example.


Install for all users:

sudo make install

Install for this user only:

make PREFIX=~/.local install


xdgmenu [args]

Arguments, typically file paths, are passed to the chosen application as appropriate.

It may take a second or two the first time you launch it because it has to generate the cache for the first time. From then on it will generate the cache upon exit which is less noticeable.


  • Patch for using this with bemenu(1).


Copyright (C) 2022 Gregory Chamberlain greg@cosine.blue

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see https://www.gnu.org/licenses/.

#See also