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"