Installation of input methods in centos

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.