The Ubuntu system uses the Chinese Input Method in Locale.

Source: Internet
Author: User
If your locale is not set to zh-CN but is set to en-US, the input method still cannot be used after scim or fcitx is correctly installed. The solution is as follows: edit/etc/gtk-2.0/gtk. immodules file (sudogedit/etc/gtk-2.0/gtk. immodules), add en in the xim local, that is, set "/usr/lib/gtk-2.0/2.4.0/im if your locale is not set to zh-CN, if you set it to en-US, you may still be unable to use the input method after installing scim or fcitx correctly. The solution is as follows:

Edit the/etc/gtk-2.0/gtk. immodules file (sudo gedit/etc/gtk-2.0/gtk. immodules), add en in the xim local, that is

"/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"

Save and exit. After restarting the system, you can use the input method normally.

Sudo apt-get updatesudo apt-get install scim-chinese scim-gtk2-immodule scim-modules-socket scim-modules-table scim-pinyin scim-tables-zh im-switchsudo im-switch-s scim

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.