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. LFD320 Linux Kernel Internals and Debugging
    04 Aug » 08 Aug - Virtual
    Details
  2. LFD405 Embedded Linux Development with Yocto Project
    04 Aug » 07 Aug - Santa Clara, CA
    Details
  3. LFD312 Developing Applications For Linux
    18 Aug » 22 Aug - 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