I wrote an article about how to process Chinese characters on the Ubuntu English interface, which was written based on 6.06LTS. Thanks to the rapid improvement of Ubuntu, many contents are no longer suitable after the release of Ubuntu, which may be helpful to all Chinese users of UbuntuLinux. 1. Modify the/etc/environment file of the region environment variable settings and add the following configuration: LC_CTY
I wrote an article about how to process Chinese characters on the Ubuntu English interface, which was written based on 6.06LTS. Thanks to the rapid improvement of Ubuntu, many contents are no longer suitable after the release of Ubuntu7.10, which has been "Brave long-arm ape" today, we hope this article will help all Chinese users of Ubuntu Linux.
1. Set Regional Environment Variables
Modify the/etc/environment file and add the following Configuration:
LC_CTYPE = "zh_CN.UTF-8"
LC_NUMERIC = "en_US.UTF-8"
LC_TIME = "en_US.UTF-8"
LC_COLLATE = "zh_CN.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"
LC_ALL =
LANGUAGE = "en_US: en"
Ststst_id3_tag_encoding = GBK
LANG = "en_US.UTF-8"
2. Input Method settings
Install scim and its Intelligent Pinyin input method.
Sudo apt-get install scim-pinyin
Edit the/etc/X11/xinit/xinput. d/all_ALL file and use the following settings:
XIM = SCIM
XIM_PROGRAM =/usr/bin/scim
XIM_ARGS = "-d"
GTK_IM_MODULE = scim
QT_IM_MODULE = scim
DEPENDS = "scim, scim-pinyin"