It came to me as a surprise that recent Ubuntu versions store user-level locale selection (i.e.
. Eg. if you set some
variable in your shell config (eg.
), chances are that the contents of your
file will override it for most GUI apps.
There a number of config files that Ubuntu uses for environment and/or locale variables:
/etc/environment: this contains system-wide defaults and this is read first
/etc/default/locale: this contains system-wide locale (
LC_*) defaults and this is read second
$HOME/.pam_environment: this contains user-level variables and is read third
/etc/*[code]: various system-wide shell config files (eg. [code]profile,
$HOME/.*: various user-level shell config files (eg. [code].profile,