I. Debian English environment scim Chinese Input settings
1. First set locales
Dpkg-reconfigure locales
Make sure that the zh_CN.UTF-8 is selected, and the local is the en_US.UTF-8 by default
2. Edit gedit/etc/environment as follows:
Lang = en_US.UTF-8
Lc_ctype = zh_CN.UTF-8
Lc_numeric = en_US.UTF-8
Lc_time = en_US.UTF-8
Lc_collate = en_US.UTF-8
Lc_monetary = en_US.UTF-8
Lc_messages = en_US.UTF-8
Lc_paper = en_US.UTF-8
Lc_name = en_US.UTF-8
Lc_address = en_US.UTF-8
Lc_telephone = en_US.UTF-8
Lc_measurement = en_US.UTF-8
Lc_identification = en_US.UTF-8
3. Install and set the Input Method
Apt-Get install scim-pinyin
Then edit the configuration file:
Gedit/etc/X11/xsession. d/95 xinput
Export xmodifiers = @ im = scim
Export gtk_im_module = "scim"
Export qt_im_module = "scim"
Scim-d
Set the 95xinput permission to 755:
Chmod 755/etc/X11/xsession. d/95 xinput
Restart. Press Ctrl + space. If the Chinese characters are unavailable, configure the settings.
Select always as the toolbard attribute in the panel.
If it is not good, continue to find some settings and configure reloadp as the configuration file!
This article from the csdn blog, reproduced please indicate the source: http://blog.csdn.net/lzqlgq/archive/2008/09/15/2934029.aspx