FCITX Project homepage HTTP://CODE.GOOGLE.COM/P/FCITXFCITX installation in Chinese environment is generally not a problem (LC_CTYPE=ZH_CN. UTF-8). In the English environment (Lc_ctype=en_us. UTF-8) under installation, can be configured as follows:> sudo apt-get install fcitx-pinyin im-switch> im-switch-s fcitx-z all_all Modify/etc/x11/xinit/ XINPUT.D/FCITX, for: xim=fcitxxim_program=/usr/bin/fcitxxim_args= "" gtk_im_module=fcitxqt4_im_module=fcitxdepends= " Fcitx "In the above configuration, there is usually no problem. However, occasionally in the GTK program will not be able to switch out of the FCITX situation, the need to configure Gtk.immodules,immodules.cache these two files Debian users:/usr/lib/x86_64-linux-gnu/gtk-2.0/ 2.10.0/gtk.immodules if the system is Gnome3, you also need to configure the/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/ Immodules.cache If Gtk.immodules file is not available, users can use sudo/usr/lib/x86_64-linux-gnu/libgtk2.0-0/gtk-query-immodules-2.0 >/ Usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/gtk.immodules generated if the Immodules.cache file is not available, you can use sudo/usr/lib/x86_64-linux-gnu/ libgtk-3-0/gtk-query-immodules-3.0 >/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache generate Ubuntu Users:/usr/ Lib/gtk-2.0/2.10.0/gtk.immodules if the system is Gnome3, you also need to configure the/usr/lib/gtk-3.0/3.0.0/ Immodules.cache If the Gtk.immodules file is not, UbUntu users can generate with sudo gtk-query-immodules-2.0 >/usr/lib/gtk-2.0/2.10.0/gtk.immodules If the Immodules.cache file is not available, Ubuntu users can use sudo gtk-query-immodules-3.0 >/usr/lib/gtk-3.0/3.0.0/immodules.cache to generate In the above two files: "Xim" "x Input Method" "Gtk20" "/usr/share/locale" "Ko:ja:th:zh" changed to: "Xim" "x Input Method" "Gtk20"/usr/share/ The locale "En:ko:ja:th:zh" will: "Fcitx" "" Fcitx (free Chinese Input Toy of X) "" Fcitx ""/usr/share/locale "" ja:ko:zh:* "changed to:" Fcit X "" Fcitx (free Chinese Input Toy of X) "" Fcitx ""/usr/share/locale "" en:ja:ko:zh:* "reference: Https://wiki.archlinux.org/index. Php/fcitx_%28%e7%ae%80%e4%bd%93%e4%b8%ad%e6%96%87%29http://fcitx-im.org/wiki/input_method_related_environment_ Variables/zh-cn
FCITX [? Fa?t?ks] is an input method framework that supports extensions. It has its own maintenance of three input methods, pinyin, location and code table; It also supports other engines, Rime Wugniu, Google-pinyin,sunpinyin. FCITX attempts to provide a native experience in all desktop environments and keep its core lightweight. You can easily configure it as you need it. [Edit]rime Wugniu wugniu ime engine sudo add-apt-repository ppa:fcitx-team/nightly && sudo apt-get update sudo apt-get Install Fcitx-rime
Reference: WIKI.UBUNTU.ORG.CN/FCITX
Linux Chinese Input Method installation process