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.