Install the penguin Input Method in centos:
I. centos version:
[Candy @ localhost xinput. d] $ CAT/etc/RedHat-release
Centos release 4.2 (final)
2. Download the link of the penguin input method:
Http://www.fcitx.org/main? Q = node/9
Download stable edition: fcitx-3.1.1-bin.tar.bz2
Iii. Decompression: # tar-xjvf fcitx-3.1.1-bin.tar.bz2
Iv. installation:
# Cd./fcitx-3.1.1-bin
#./Fcitx. Install
5. Change the content of the/etc/X11/xinit/xinput. d/zh_cn file:
Xim = fcitx
Xim_program = fcitx
Gtk_im_module = fcitx
Gnome-im-settings-daemon>/dev/null
6. Configure Environment Variables
Add the following two lines to the/etc/profile file or the/etc/bashrc file:
Export lc_ctype = "zh_cn"
Export xmodifiers = "@ im = fcitx"
7. Enter the commandFcitxAnd press Ctrl + space to activate it.
Configure scim-fcitx in centos
[Root @ localhost ~] # Yum-y install scim-libs scim-fcitx-Tools
[Root @ localhost ~] # Whereis scim
Scim:/usr/bin/scim/etc/scim/usr/share/scim
After installation, modify/etc/X11/xinit/xinput. d/iiimf
[Root @ localhost ~] # Mv/etc/X11/xinit/xinput. d/iiimf/etc/X11/xinit/xinput. d/iiimf. backup2
[Root @ localhost ~] # Vim/etc/X11/xinit/xinput. d/iiimf
To:
Xim = scim
Xim_program = scim
Gtk_im_module = xim
Gnome-im-settings-daemon>/dev/null