Solve the Arch Linux Firefox cannot call Fcitx Input method

Source: Internet
Author: User

Install Arch Official instructions to install FCITX, in the. XProfile set export Gtk_im_module=fcitx and other three sentences, in Firefox can not input Chinese.

You can enter Chinese after changing the FCITX in three sentences such as export gtk_im_module=fcitx to Xim, but the input box cannot follow the cursor.

Forget where to see said set/usr/lib/gtk-2.0/2.10.0/gtk.immodules, and then carefully read the next file, found inside there is "/usr/lib/gtk-2.0/2.10.0/immodules/im-xim.so" , but there is no im-fcitx, and then see/usr/lib/gtk-2.0/2.10.0/immodules/in im-xim.so, but there is no im-fcitx.so, so guess the problem is here.

Then searched the gtk2.0 im-fcitx.so, found the following two resources:

32-bit: http://rpm.pbone.net/index.php3/stat/4/idpl/26212985/dir/opensuse/com/fcitx-gtk2-32bit-4.2.8.3-9.1.x86_64.rpm.html

64-bit: http://rpm.pbone.net/index.php3/stat/4/idpl/26001012/dir/opensuse/com/fcitx-gtk2-4.2.8.3-5.2.x86_64.rpm.html

Download the RPM package, unzip it using the command "rpmextract.sh filename", copy the resulting im-fcitx.so to/usr/lib/gtk-2.0/2.10.0/immodules/, and modify the/usr/lib/gtk-2.0 /2.10.0/gtk.immodules, according to im-xim those two lines tiger, add the following two lines:

"/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx.so"
"Fcitx" "X Input Method" "Gtk20" "/usr/share/locale" "En:ko:ja:th:zh"

Re-login, success.

It seems that the downloaded RPM is packaged from Ubuntu, as the above method succeeds after fcitx a few more Ubuntu input methods on the skin.

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.