July 24, 2009

Use gdm login with Chinese Language in .xprofile

The GDM locale is different, so don't use like zh_CN.utf8 or zh_CN.UTF-8. Just use zh_CN. That's true, enjoy it with your liked language.


# mark's note!
# This locale is not real,just for GDM
# So do not use like zh_CN.utf8 or zh_CN.UTF-8
export GDM_LANG=zh_CN
export LANG=zh_CN

# Input for CJK
export XIM=ibus
export XMODIFIERS="@im=ibus"
export XIM_PROGRAM=ibus
export QT_IM_MODULE=ibus