Manjaro Difference between revisions of "DMenu"

Difference between revisions of "DMenu"

From Manjaro
imported>Dalto
(Generalized to be a page for all dmenu information)
imported>Dalto
m (Dalto moved page DMenu - warning: no locale support to DMenu: Generalized)
(No difference)

Revision as of 19:47, 20 May 2019


Overview

dmenu is a dynamic menu for X, originally designed for dwm. It manages large numbers of user-defined menu items efficiently.


Tips & Tricks

warning: no locale support

Sometimes for no apparent reason users face the following dmenu problem:

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.

Assuming that you have correctly set up your system's LOCALE settings, here is a simple solution to this problem:

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
LANG="en_GB.UTF-8"                                 <-- Change it according to your locale.
dmenu_path | dmenu "$@" | ${SHELL:-"/bin/sh"}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.