Red Hat Bugzilla – Bug 199324
user LANG settings are ignored
Last modified: 2008-08-02 19:40:32 EDT
Description of problem:
my linux (fc5) box is shared by several people,
so it runs at runlevel 5 with several virtual consoles.
a user finds an unused virtual console,
logs in and types at the bash prompt "startx -- :1"
or "startx -- :2" etc, depending on which server is available.
the users switch between their X/gnome desktops using Ctrl-Alt-F.
now, the "global" setting for LANG in /etc/sysconfig/i18n is
which is what "most" users want.
Now, the dissident users that want to use a different locale try to set LANG
in their ~/.bash_profile and, indeed, after they login in the virtual console,
they observe the correct value of LANG:
$ echo $LANG
alas, when they open a gnome-terminal in X, the value of LANG is reverted to
the system-wide default "en_US.UTF-8".
So, how can different users use different locales?
Steps to Reproduce:
3.login on a virtual console
4.echo $LANG ==> "BAR"
7.echo $LANG ==> "FOO"
LANG in xterm is "FOO"
LANG is xterm is "BAR"
The user LANG preference should be stored in ~/.i18n instead. Can you reproduce
with it again?
*** This bug has been marked as a duplicate of 199323 ***