1. install the required package yum-yinstallgtk2-immodule-ximgtk2-immodulesgcclibXrender-develcairo-develpango-develintltoolim-chooser2 with YUM. download-compile-install fcitx: http://code.google.c...
1. use YUM to install the required package
Yum-y install gtk2-immodule-xim gtk2-immodules gcc libXrender-devel cairo-devel pango-devel intltool im-chooser
2. download-compile-install fcitx
:
Http://code.google.com/p/fcitx/
Tar xf fcitx-4.0.0.tar.gz
Cd fcitx-4.0.0
./Configure
Make & make install & echo $?
3. configuration
6/etc/gtk-2.0/x86_64-redhat-linux-gnu/gtk. immodules
"Xim" "X Input Method" "gtk20" "/usr/share/locale" "en: ko: ja: th: zh"
Note: To use fcitx in an English environment, follow these steps:
Vim/etc/X11/xinit/xinput. d/fcitx. conf
XIM = fcitx
XIM_PROGRAM =/usr/local/bin/fcitx
XIM_ARGS = "-d"
GTK_IM_MODULE = fcitx
QT_IM_MODULE = fcitx
Mv/etc/alternatives/xinputrc. bak
Ln-s/etc/X11/xinit/xinput. d/fcitx. conf/etc/alternatives/xinputrc
Run im-chooser and select the default input method,
After logging in, you can see the floating bar of fcitx. press CTRL + SPACE to enter
Author "William's memory fragments"