You are not logged in.
I have LOCALE="en_GB.utf8" in my rc.conf. And there's nothing about Locale in .bashrc. Still every time I reboot I get all locales set to "C".
Can anybody help me figure out why I can't get it to stick to en_GB.utf8 ? Also Gnome-terminal uses "Current locale" as default, which I guess would be fixed when I get this first thing away.
Thank you.
Offline
Be sure to run locale-gen as root if you haven't done so already.
oz
Offline
locale-gen has been run.
# locale -a
C
en_GB.utf8
POSIX
# vi /etc/rc.conf
LOCALE="en_GB.utf8"
And after reboot:
# locale
LANG=C
LC_CTYPE="C"
LC_NUMERIC="C"
LC_TIME="C"
LC_COLLATE="C"
LC_MONETARY="C"
LC_MESSAGES="C"
LC_PAPER="C"
LC_NAME="C"
LC_ADDRESS="C"
LC_TELEPHONE="C"
LC_MEASUREMENT="C"
LC_IDENTIFICATION="C"
LC_ALL=
Wtf?
Offline
unless it's been changed recently, i think you have to uncomment the locale you want in /etc/locale.gen and then run # locale-gen.
Offline
Yes. en_GB.utf8 is uncommented, and it's the only locale i've uncommented as of now. How else would it appear in locale -a? Thanks anyway!
Offline
If you're still looking for a solution, check /etc/profile for anything relating to LC_ variables. I found export LC_COLLATE="C" in my /etc/profile and once I commented it out, my file listings went back to normal (case-insensitive).
thayer williams ~ cinderwick.ca
Offline