xdmenu uses and needs an implementation of dmenu. This means a command line program that reads lines from stdin, presents these lines to the user as a menu and prints the chosen lines to stdout.

dmenu is a dynamic menu for X, originally designed for dwm. It manages large numbers of user-defined menu items efficiently.

dmenu2 is the fork of original dmenu - an efficient dynamic menu for X, patched with XFT, quiet, x & y, token, fuzzy matching, follow focus, tab nav, filter.

Added option to set screen on which dmenu apperars, as long as opacity, window class and window name. Also allows to dim screen with selected color and opacity while dmenu2 is running.

Added underline color and height. (options -uc and -uh)

Rofi, like dmenu, will provide the user with a textual list of options where one or more can be selected. This can either be, running an application, selecting a window or options provided by an external script.

Stable release

To install xdmenu, run this command in your terminal:

$ pip install xdmenu

This is the preferred method to install xdmenu, as it will always install the most recent stable release.

If you don’t have pip installed, this Python installation guide can guide you through the process.

From sources

The sources for xdmenu can be downloaded from the Github repo.

You can either clone the public repository:

$ git clone git://

Or download the tarball:

$ curl -OL

Once you have a copy of the source, you can install it with:

$ python install