Solution for simultaneous startup of Scim and Fcitx in Ubuntu7.10Gutsy

Source: Internet
Author: User
In the October 19 LINUX community talked about Ubuntu7.10Gutsy questions: Ubuntu7.10Gutsy Firefox and Input Method Problems (http://www.linuxidc.com/linux/2007-10/8399.htm ), describes the strange thing that happened to the Ubuntu7.10GutsyGibbon system I installed-that is, the Fcitx and Scim input methods are started in my desktop environment at the same time. Resolution

In the October 19 LINUX community talked about the Ubuntu 7.10 Gutsy question: Ubuntu 7.10 Gutsy Firefox and Input Method Problems (http://www.linuxidc.com/linux/2007-10/8399.htm ), describes the strange thing that happened to my installed Ubuntu 7.10 Gutsy Gibbon system-that is, the Fcitx and Scim input methods are both started in my desktop environment.

At that time, the solution was to directly Delete scim. In this case, the Chinese Language Pack was marked as a "no longer used" Software Package. Every time I used apt, I was prompted to autoremove it, very annoying!

Yesterday, the current input method was successfully set to Fcitx while the Scim input method was retained. If a friend has this problem, try it.

Generally, Scim is automatically installed when the Chinese Language Pack is installed. If you install Fcitx again and execute im-switch-s fcitx, the following situations may occur:

The solution is simple. Open a file in your favorite editor:

Sudo gedit/usr/lib/gtk-2.0/2.10.0/immodule-files.d/scim-gtk2-immodule.immodules

It should be the following field:

# Automatically generated by dh_gtkmodules, do not edit

"/Usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so"

"Scim" "SCIM Input Method" "scim" "/usr/share/locale" "ja: ko: zh"

Delete the last zh, that is, only "ja: ko" is left ". This change means that Scim is disabled if Scim is not enabled in the Chinese environment.

After the change, log on to the system again and finally separate Fcitx and 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.