You are not logged in.
Pages: 1
Hi
if I call locale I get this
locale
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_ALL to default locale: No such file or directory
LANG=dde_DE.utf8
LC_CTYPE="dde_DE.utf8"
LC_NUMERIC="dde_DE.utf8"
LC_TIME="dde_DE.utf8"
LC_COLLATE="dde_DE.utf8"
LC_MONETARY="dde_DE.utf8"
LC_MESSAGES="dde_DE.utf8"
LC_PAPER="dde_DE.utf8"
LC_NAME="dde_DE.utf8"
LC_ADDRESS="dde_DE.utf8"
LC_TELEPHONE="dde_DE.utf8"
LC_MEASUREMENT="dde_DE.utf8"
LC_IDENTIFICATION="dde_DE.utf8"
LC_ALL=
but in my/etc/locale.conf I have this:
cat /etc/locale.conf
LANG=de_DE.UTF-8
I have no idea where this dde_DE.utf8 is set.
aligator
Last edited by aligator (2014-11-02 12:42:25)
Offline
I encountered the same thing. fixed by changing everything in /etc/locale.conf to the correct name again: dde_DE.utf8 -> de_DE.UTF-8. I ran locale-gen again just to be sure and then log out, log in.
github - tweets
avatar: The Oathmeal
Offline
as I wrote before, it is already correct in /etc/locale.conf and I ran locale-gen again, but nothing changed.
Offline
What do
localectl status
and
localectl list-locales
give you?
Last edited by runical (2014-11-01 15:13:44)
Offline
johannes@arch ~ % localectl list-locales
de_DE
de_DE.iso88591
de_DE.utf8
deutsch
german
johannes@arch ~ % localectl status
System Locale: LANG=de_DE.UTF-8
VC Keymap: de-latin1
X11 Layout: n/a
Offline
Hmm, that should be correct, although I don't know where the "deutch" and "german" entries come from. You did reboot/relogin after changing the locale, right?
Do you by any chance have a ~/.config/locale.conf or ~/XDG_CONFIG_HOME/locale.conf file with the incorrect value?
Last edited by runical (2014-11-01 16:58:57)
Offline
Yes, I did a reboot.
And I don't have these files.
Offline
Hmm, that is strange. There should be no problem then. You can try using localectl to set the locale, but that should do is set /etc/locale.conf.
I'm currently at a loss. Sorry.
Offline
You can check if you have "$HOME/.config/locale.conf" which is consulted before /etc/locale.conf. Also check your $HOME/.bash_profile and $HOME/.bashrc for any LANG definitions.
If that fails, I guess you could start grepping stuff (/etc, $HOME, etc.) for "dde_DE"; it must come from somewhere...
Offline
I have found the file /etc/environment
#
# This file is parsed by pam_env module
#
# Syntax: simple "KEY=VAL" pairs on separate lines
#
LANG=dde_DE.utf8
removing this line fixes it.
Thank you!
Last edited by aligator (2014-11-02 12:42:05)
Offline
Pages: 1