dmenu

From ArchWiki
Jump to: navigation, search


Introduction

dmenu is a fast and lightweight dynamic menu for X. It reads arbitrary text from stdin, and creates a menu with one item for each line. The user can then select an item, through the arrow keys or typing a part of the name, and the line is printed to stdout. dmenu_run is a wrapper that ships with the dmenu distribution that allows its use as an application launcher.

Installation

Installing dmenu is simple:

# pacman -S dmenu

run it

$ dmenu_run

Configuration

Now, you will want to attach the dmenu_run command to a keystroke combination. This can be done either via your window manager or desktop environment configuration, or with a program like xbindkeys. See the Hotkeys article for more information. And so, dmenu nice to be Prelink'ed.

External Resources

  • dmenu – The official dmenu website
  • Yeganesh – a light wrapper that reorders commands based on popularity
  • dmenu-launch (AUR) – A simple Dmenu-based application launcher. Launches binaries and XDG shortcuts.
  • Dmenu Hacking thread – Dmenu hacking thread in arch linux forums.