Difference between revisions of "Dmenu"

From ArchWiki
Jump to: navigation, search
(Created dmenu article.)
 
m (Added Spanish i18n link)
Line 1: Line 1:
 
[[Category:Utilities (English)]]
 
[[Category:Utilities (English)]]
 
[[Category:HOWTOs (English)]]
 
[[Category:HOWTOs (English)]]
 +
 +
{{i18n_links_start}}
 +
{{i18n_entry|Español|Dmenu (Español)}}
 +
{{i18n_links_end}}
  
 
= Introduction =
 
= Introduction =

Revision as of 19:45, 4 May 2008

Template:I18n links start Template:I18n entry Template:I18n links end

Introduction

dmenu is a fast and lightweight dynamic menu launcher for X. It can be compared to 'Quicksilver' on OS X, or 'Launchy' on Windows. With a quick keystroke, the dmenu menu appears, enabling you to type the name of a program you wish to start.

Installation

Installing dmenu is simple:

pacman -S dmenu

Once it is installed, you will need to create a shell script to run it. The following script presents some common defaults:

#!/bin/sh
`dmenu_path | dmenu -fn '-*-terminus-*-r-normal-*-*-120-*-*-*-*-iso8859-*' -nb '#000000' -nf '#FFFFFF' -sb '#0066ff'` && eval "exec $exe"

Save the script somewhere (~/bin is a good choice) and make it executable.

Configuration

Now, you will need to attach that shell script 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.

Additional Resources

  • dmenu - The official dmenu website