Ubuntu 6.06lts is installed. In an English environment, SCIM is installed. (The SCIM input method is provided by the system. You do not need to install it. You only need to configure it. However, we finally got it done. 1. First install Chinese support and then configure the SCIM input method. 2. log on to the Linux system again and you will find that the toolbar of the input method does not appear normally.
The Ubuntu 6.06 LTS version is installed. In an English environment, install and configure the Chinese Input Method program SCIM (the SCIM input method is provided by the system, so you only need to configure it ), the toolbar of the input method does not appear normally. However, we finally got it done.
1. First install Chinese support and then configure the SCIM input method.
2. log on to the Linux system again and you will find that the toolbar of the input method does not appear normally.
3. Modify/etc/environment: sudo gedit/etc/environment
Set LANG = en_US to LANG = en_US.UTF-8 or LANG = zh_CN.UTF-8
Add: LC_CTYPE = zh_CN.UTF-8
4. Edit the/etc/gtk-2.0/gtk. immodules file:
Sudo gedit/etc/gtk-2.0/gtk. immodules
Set
"/Usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so" "xim" "X Input Method" "gtk20" "/usr/share/locale" "ko: ja: th: zh"
To:
"/Usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so" "xim" "X Input Method" "gtk20" "/usr/share/locale" "en: ko: ja: th: zh"
5. log on to linux again!