Linux.com

Home Linux Community Community Blogs Desktops Use gdm login with Chinese Language in .xprofile

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.

 .xprofile

# 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
export GTK_IM_MODULE=

 

Comments

Subscribe to Comments Feed

Upcoming Linux Foundation Courses

  1. LFD211 Introduction to Linux for Developers
    08 Dec » 09 Dec - Virtual
    Details
  2. LFS220 Linux System Administration
    08 Dec » 11 Dec - Virtual
    Details
  3. LFD331 Developing Linux Device Drivers
    15 Dec » 19 Dec - Virtual
    Details

View All Upcoming Courses


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board