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 zhong Zhou Yun
Wugniu IME Engine
sudo add-apt-repository ppa:fcitx-team/nightly && sudo apt-get update sudo apt-get install Fcitx-rime
[edit] FCITX configuration in the English environment
FCITX Project Home Http://code.google.com/p/fcitx
FCITX installation in Chinese environment generally will not have any 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 the/ETC/X11/XINIT/XINPUT.D/FCITX to:
Xim=fcitx
Xim_program=/usr/bin/fcitx
Xim_args= ""
Gtk_im_module=fcitx
Qt4_im_module=fcitx
Depends= "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, you need to configure the 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
/usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules.cache
If the 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 generation
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 generation
Ubuntu Users:
/usr/lib/gtk-2.0/2.10.0/gtk.immodules
If the system is Gnome3, you also need to configure
/usr/lib/gtk-3.0/3.0.0/immodules.cache
If the Gtk.immodules file is not available, Ubuntu users can use sudo gtk-query-immodules-2.0 >/usr/lib/gtk-2.0/2.10.0/gtk.immodules to generate
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
Will:
"Xim" "X Input Method" "Gtk20" "/usr/share/locale" "Ko:ja:th:zh"
Change to:
"Xim" "X Input Method" "Gtk20" "/usr/share/locale" "En:ko:ja:th:zh"
Will:
Change to:
Reference:
Https://wiki.archlinux.org/index.php/Fcitx_%28%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87%29
Http://fcitx-im.org/wiki/Input_method_related_environment_variables/zh-cn
The configuration of Chinese input method under Ubuntu, it is recommended to use FCITX