Hi everyone,
after I used manjaro for years (with xfce) and than for lack of a private laptop / computer went to using only windows (at work) for a long time, I’m back to manjaro, this time trying out i3.
I currently have a problem with i3 which I think is coming from my locale settings.
So when I try to run i3status from console it gives me:
Could not set locale. Please make sure all your LC_* / LANG settings are correct.
Now I’m a bit confused because I have both a /etc/locale.conf file and a /etc/default/locale file and was used to having only one of those but I might be halucinating as my linux experience is quite a few years old. Anyway, if I run locale I get the following:
Could not set locale. Please make sure all your LC_* / LANG settings are correct.
LANG=DE
LC_CTYPE=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
LC_COLLATE="de"
LC_MONETARY=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_ALL=
So there are two things looking strange to me without deeper knowledge, one is that it is bothered by LC_ALL being empty, which to my knowledge should usually not be set unless within specific contexts and the other is that LANGUAGE isn’t appearing although I set it (in both /etc/locale.conf and in /etc/default/locale).
LC_ALL is not set in the locale.conf and to my knowledge can’t be set there.
Many programs are crashing with similar errors. When I do “export LC_ALL=de_DE.UTF-8” subsequent commands work fine but it is far from ideal having to export that variable each time anew and of course I could put that export command somwhere in the startup sequence but that isn’t how it’s meant to be (to my knowledge). Content of my locale.conf:
LANG=de_DE.UTF-8
LANGUAGE=de_DE.UTF-8
LC_CTYPE=de_DE.UTF-8
LC_MESSAGES=de_DE.UTF-8
LC_ADDRESS=de_DE.UTF-8
LC_IDENTIFICATION=de_DE.UTF-8
LC_MEASUREMENT=de_DE.UTF-8
LC_MONETARY=de_DE.UTF-8
LC_NAME=de_DE.UTF-8
LC_NUMERIC=de_DE.UTF-8
LC_PAPER=de_DE.UTF-8
LC_TELEPHONE=de_DE.UTF-8
LC_TIME=de_DE.UTF-8
I have managed that configuration manually in the past but looking at it through the manjaro-settings-manager doesn’t reveal anything strange, everything seems configured correctly in there everything is set to german. I have 3 languages installed (manually generated by editing the locale.gen and running locale-gen), de_DE en_US und es_PE all with UTF-8
I’ve already done a search in the forums and while I have found similar problems with similar error messages, none of the solutions worked or was applicable.