Results 1 to 3 of 3
All my LC environment variables are currently set to POSIX at boot, though I can't find the startup script that does this. I've grepped through /etc/rcS.d and /etc/rc2.d but no ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 04-03-2010 #1
How do I permanently change my locale from POSIX to en_GB?
In /etc/default/locale, LANG is set to en_GB.UTF-8, which is my preferred locale. But this doesn't stop all the LC's being set to POSIX. Consequently, my dates follow the American convention, which I find hard to read.
I tried resetting with update-locale LC_TIME=en_GB.UTF-8. This changed all the locales to en_GB but only for the session. When I rebooted, everything went back to POSIX. The only change is that en_GB.utf-8 is now in the /etc/default/locale file as the value of LC_TIME as well as LANG.
How do I change this info permanently?
- 04-12-2010 #2
- 04-13-2010 #3
The only thing I've got in /etc/environment is LANG, which is set to en_GB.UTF-8.
I've now got round the problem of the panel clock by simply choosing a different format - one that explicitly gets day, month and year, and puts them in what I consider to be the right order rather than relying on a locale default. But I'm still puzzled by the POSIX thing. I put an update_locale instruction in rc.local to set LC_TIME to en_GB but it doesn't seem to have worked.
Oops! I've just found a format error in that instruction! I'll correct it and then report back.