You are not logged in.

#1 2021-02-26 13:18:11

PeeK1e
Member
Registered: 2021-02-26
Posts: 2

[Solved] locale.conf and locale.gen seem to be ignored

When i try to start any app like Thunderbird, lutris, 'man wait' or anything that uses the $LC_* and $LANG variables, they seem to be ignored or not recognized.

I tried setting them in the /etc/locale.conf and adding

LANG=en_US.UTF-8
LANGUAGE=en_US:de_DE

/etc/locale.gen looks like this:

de_DE.UTF-8 UTF-8
en_US.UTF-8 UTF-8

regenerated them with $ locale-gen

still the output of Thunderbird looks like this:

$ thunderbird

(thunderbird:5235): Gtk-WARNING **: 14:13:02.936: Locale not supported by C library.
        Using the fallback 'C' locale.

and output of locale -a

$ locale -a
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_COLLATE to default locale: No such file or directory
C
POSIX
de_DE.utf8
en_US.utf8

I checked the KDE-plasma locations in ~/.config and ~/ aswell as the profile.d for any settings related to the locales but didn't find anything.
Setting the LC_MESSAGES to en_US.UTF-8 didn't change anything either


Solution:

KDE is using some own settings and i was missing the en_GB locale.
make sure you generated all the locales needed for KDE-plasma

Last edited by PeeK1e (2021-02-26 13:41:57)

Offline

#2 2021-02-26 13:42:47

seth
Member
Registered: 2012-09-03
Posts: 51,310

Re: [Solved] locale.conf and locale.gen seem to be ignored

What's the output of "locale" and do you set LC_ALL in some /etc/profile*?
Edit: cross-talk

Last edited by seth (2021-02-26 13:43:23)

Online

Board footer

Powered by FluxBB