GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
DMENU2(1) FreeBSD General Commands Manual DMENU2(1)

dmenu2 - dynamic menu 2

dmenu2 [-b] [-f] [-r] [-i] [-z] [-t] [-mask] [-noinput] [-s screen] [-name name] [-class class] [-o opacity] [-dim opacity] [-dc color] [-l lines] [-h height] [-uh height] [-w width] [-p prompt] [-fn font] [-nb color] [-nf color] [-sb color] [-sf color] color] [-hist <filename>] [-v]

dmenu2_run ...

dmenu2 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 dmenu2 terminates. Entering text will narrow the items to those matching the tokens in the input.

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

dmenu2 appears at the bottom of the screen.
dmenu2 will not show any items if the search string is empty.
dmenu2 grabs the keyboard before reading stdin. This is faster, but will lock up X until stdin reaches end-of-file.
activates filter mode. All matching items currently shown in the list will be selected, starting with the item that is highlighted and wrapping around to the beginning of the list.
dmenu2 matches menu items case insensitively.
dmenu2 uses fuzzy matching. It matches items that have all characters entered, in sequence they are entered, but there may be any number of characters between matched characters. For example it takes "txt" makes it to "*t*x*t" glob pattern and checks if it matches.
dmenu2 uses space-separated tokens to match menu items. Using this overrides -z option.
dmenu2 masks input with asterisk characters (*).
dmenu2 ignores input from stdin (equivalent to: echo | dmenu2).
dmenu2 apears on the specified screen number. Number given corespondes to screen number in X configuration.
defines window name for dmenu2. Defaults to "dmenu2".
defines window class for dmenu2. Defaults to "Dmenu2".
defines window opacity for dmenu2. Defaults to 1.0.
enables screen dimming when dmenu2 appers. Takes dim opacity as argument.
defines color of screen dimming. Active only when -dim in effect. Defautls to black (#000000)
dmenu2 lists items vertically, with the given number of lines.
defines the height of the bar in pixels.
defines the height of the underline in pixels.
defines the prompt to be displayed to the left of the input field.
defines the font or font set used. eg. "fixed" or "Monospace-12:normal" (an xft font)
defines the offset from the left border of the screen.
defines the offset from the top border of the screen.
defines the desired menu window width.
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.
defines the underline color.
the file to use for history
prints version information to stdout, then exits.

dmenu2 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 input. Prints the input text to stdout and exits, returning success.
Exit without selecting an item, returning failure.
Home
Left
Escape
Delete
End
Right
Escape
Backspace
Tab
Return
Shift-Return
Delete line right
Return
Down
Up
Delete line left
Delete word left
Paste from primary X selection
Paste from X clipboard
Home
End
Up
Page down
Page up
Down

dwm(1), stest2(1)

dmenu2-0.2

Search for    or go to Top of page |  Section 1 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.