You are not logged in.

#1 2013-05-24 19:33:23

graph
Member
Registered: 2010-12-21
Posts: 105

dmenu error: No locale support

My dmenu recently started to spit out this error:

$ echo -e "foo\nbar" | dmenu
no locale support

According to wiki:dmenu this is because of an invalid encoding in $LANG. However, I can't figure out whether $LANG should be set to "en_DK.UTF-8" (as it is now) or "en_DK.utf8" in /etc/locale.conf. Wiki:locale says it should be "en_DK.UTF-8", but that leads to the dmenu-error shown above.

Here is my current "setup":

$ cat /etc/locale.conf
LANG=en_DK.UTF-8
LOCALE=en_DK.UTF-8

$ echo $LANG
LANG=en_DK.UTF-8

$ grep -v "#" /etc/locale.gen
da_DK.UTF-8 UTF-8
en_DK.UTF-8 UTF-8
en_GB.UTF-8 UTF-8

$ locale -a
C
da_DK.utf8
en_DK.utf8
en_GB.utf8
POSIX

EDIT: This guy seems to have the same problem.

Last edited by graph (2013-05-24 19:59:21)

Offline

#2 2013-05-24 21:50:50

UnsolvedCypher
Member
Registered: 2012-04-28
Posts: 201

Re: dmenu error: No locale support

Does the solution in the other thread work for you?

Offline

#3 2013-05-25 06:20:09

graph
Member
Registered: 2010-12-21
Posts: 105

Re: dmenu error: No locale support

UnsolvedCypher wrote:

Does the solution in the other thread work for you?

Sort of. If I change $LANG to "en_GB.utf8" it works. However, if I change to "en_DK.utf8" it doesn't.
"da_DK.utf8" also works, but it makes Pacman throw out errors in Danish, which is not preffered at all.

However, I'm curious to have this doesn't work with "en_DK.utf8" specifically?

EDIT: Dunst is also complaining about "no locale support"

Last edited by graph (2013-05-25 07:05:21)

Offline

Board footer

Powered by FluxBB