[arch-general] Different local setting of rc.conf and X
I need en_US.UTf-8 under console and zn_CN.UTF-8 under X So rc.conf: LOCALE="en_US.UTF-8" and ~/.xprofile: exprot LANG=zh_CN.UTF-8 But after I login, the desktop is still en_US, Why?
2009/12/7 大熊 <bearsprite@gmail.com>:
I need en_US.UTf-8 under console and zn_CN.UTF-8 under X
So rc.conf:
LOCALE="en_US.UTF-8"
and ~/.xprofile:
exprot LANG=zh_CN.UTF-8
sorry for typo :) export LANG=zh_CN.UTF-8
But after I login, the desktop is still en_US, Why?
-- 不是所有的特仑苏都是牛奶
大熊 schreef:
I need en_US.UTf-8 under console and zn_CN.UTF-8 under X
So rc.conf:
LOCALE="en_US.UTF-8"
and ~/.xprofile:
Wrong file i guess, shouldn't that be .profile? On the other hand; i have similar situation as you, but i used .xinitrc: LANG=nl_NL.utf8 export LANG This works when you start X with startx. hth mvg, Guus
2009/12/9 Guus Snijders <gsnijders@gmail.com>:
大熊 schreef:
I need en_US.UTf-8 under console and zn_CN.UTF-8 under X
So rc.conf:
LOCALE="en_US.UTF-8"
and ~/.xprofile:
Wrong file i guess, shouldn't that be .profile?
On the other hand; i have similar situation as you, but i used .xinitrc: LANG=nl_NL.utf8 export LANG
This works when you start X with startx.
On gdm login window, there is a lcoal select. I got a en_US desktop If I select en_US, and a zh_CN desktop if I select zh_CN. No matter the .profile or .xprofile 's LANG setting. -- 不是所有的特仑苏都是牛奶
participants (2)
-
Guus Snijders
-
大熊