Scroll to navigation

DMENU(1) General Commands Manual DMENU(1)

NAME

dmenu - dynamic menu

SYNOPSIS

dmenu [-bfiv] [-l lines] [-m monitor] [-p prompt] [-fn font] [-nb color] [-nf color] [-sb color] [-sf color] [-w windowid]

dmenu_run ...

DESCRIPTION

dmenu is a dynamic menu for X, which reads a list of newline-separated items from stdin. When the user selects an item and presses Return, their choice is printed to stdout and dmenu terminates. Entering text will narrow the items to those matching the tokens in the input.

dmenu_run is a script used by dwm(1) which lists programs in the user's $PATH and runs the result in their $SHELL.

OPTIONS

dmenu appears at the bottom of the screen.
dmenu grabs the keyboard before reading stdin if not reading from a tty. This is faster, but will lock up X until stdin reaches end-of-file.
dmenu matches menu items case insensitively.
dmenu lists items vertically, with the given number of lines.
dmenu is displayed on the monitor number supplied. Monitor numbers are starting from 0.
defines the prompt to be displayed to the left of the input field.
defines the font or font set used.
defines the normal background color. #RGB, #RRGGBB, and X color names are supported.
defines the normal foreground color.
defines the selected background color.
defines the selected foreground color.
prints version information to stdout, then exits.
embed into windowid.

USAGE

dmenu is completely controlled by the keyboard. Items are selected using the arrow keys, page up, page down, home, and end.

Copy the selected item to the input field.
Confirm selection. Prints the selected item to stdout and exits, returning success.
Confirm selection. Prints the selected item to stdout and continues.
Confirm input. Prints the input text to stdout and exits, returning success.
Exit without selecting an item, returning failure.
Move cursor to the start of the current word
Move cursor to the end of the current word
Home
Left
Escape
Delete
End
Right
Escape
Backspace
Tab
Return
Shift-Return
Delete line right
Return
Shift-Return
Down
Up
Delete line left
Delete word left
Paste from primary X selection
Paste from X clipboard
Move cursor to the start of the current word
Move cursor to the end of the current word
Home
End
Up
Page down
Page up
Down

SEE ALSO

dwm(1), stest(1)

dmenu-5.3