854
edits
m (added languages and translate tags) |
(Marked this version for translation) |
||
Line 3: | Line 3: | ||
<translate> | <translate> | ||
=Overview= | =Overview= <!--T:1--> | ||
<!--T:2--> | |||
dmenu is a dynamic menu for X, originally designed for dwm. It manages large numbers of user-defined menu items efficiently. | dmenu is a dynamic menu for X, originally designed for dwm. It manages large numbers of user-defined menu items efficiently. | ||
=Tips & Tricks= | =Tips & Tricks= <!--T:3--> | ||
==warning: no locale support== | ==warning: no locale support== <!--T:4--> | ||
Sometimes for no apparent reason users face the following dmenu problem: | Sometimes for no apparent reason users face the following dmenu problem: | ||
<!--T:5--> | |||
A. When calling dmenu from a key binding in their environment dmenu comes up but when they continue to select anything in dmenu, it disappears from the screen and does not execute anything. | A. When calling dmenu from a key binding in their environment dmenu comes up but when they continue to select anything in dmenu, it disappears from the screen and does not execute anything. | ||
B. Trying to start dmenu from the terminal, the error "warning: no locale support" appears. | B. Trying to start dmenu from the terminal, the error "warning: no locale support" appears. | ||
<!--T:6--> | |||
Assuming that you have correctly set up your system's LOCALE settings, here is a simple solution to this problem: | Assuming that you have correctly set up your system's LOCALE settings, here is a simple solution to this problem: | ||
<!--T:7--> | |||
Edit file '''/usr/bin/dmenu_run''' and add a line setting your LANG variable to your actual language locale before the line that calls dmenu: | Edit file '''/usr/bin/dmenu_run''' and add a line setting your LANG variable to your actual language locale before the line that calls dmenu: | ||
#!/bin/sh | #!/bin/sh |