How to set language/charset for X??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, list matters.

I'd like to set different lang/charset for text-mode console and X. I
mean, when I login via the program "login", I use LC_ALL=A, and when I
login by xdm (it should be gdm, since I use Gnome), I can use LC_ALL-B
as the local. How to set that?

The problem I got is: The language is set to Chinese GB as default, so I
can enjoy a good X language environment. But when I login into text-mode
sonsole, many coreutils tools print still Chinese characters because of
the default LANG setting. But my text-mode console cannot display
Chinese chars correctly, so I cannot read error messages and help infos
under text-mode console. I'd like to set LC_ALL=C for text-mode console,
and Chinese for X. I tried to set LC_ALL=C in my .bash_profile, but it
changed the lang environment of X. Oh, help me!

-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux