Install Chinese Input Method in centos English environment

Source: Internet
Author: User
Except the original input method of the system
Search for packages containing iiim
Rpm-Qa iiim *
Run the following command to delete all the RPM packages:
Rpm-e XXXX -- nodeps
Note: The above XXXX is replaced by your rpm-Qa iiim * search result.

Download fcitxHttp://www.fcitx.org/main? Q = node/9

In this example, the fcitx-3.0.2-1.i386.rpm is downloaded

Installation code (root permission)

Rpm-IVH fcitx-3.0.2-1.i386.rpm
A series of input method configurations (the configuration will be used in the editor. We recommend that you do not use VI to learn it quickly. If you have KDE installed, you can use Kate and gnome users can use gedit)

Open $ home/. bashrc in the editor and add the following code to the end.
# Locale
Export lc_all = zh_CN.UTF-8
Export lang = zh_CN.UTF-8
Export xmodifiers = @ im = fcitx

Open $ home/. bash_profile in the editor and add the following code to the end.
# Load fcitx
Fcitx &

Modify/etc/X11/xinit/xinput. d/zh_cn as follows:
Xim = fcitx
Xim_program = fcitx
Gtk_im_module = fcitx
Gnome_im_setting_daemon

Modify/etc/sysconfig/i18n as follows:
Lang = "zh_CN.UTF-8"
Supported = "zh_CN.UTF-8: zh_cn: Zh: en_US.UTF-8: en_us: en"
Sysfont = "latercyrheb-sun16"

Restart the X server and use the scim input method.

Modify resolution and update rate:

Edit VI/etc/X11/Xorg. conf

Modify Modes "1024x768" "800x600" "640x480 ".

Horizsync 31.5-70.9
Vertrefresh 50.0-85.0 to the appropriate value

Related Article

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.