RHEL6.0 source code compilation installation little penguin Input Method fcitx-4.0.0

Source: Internet
Author: User
Tags gtk

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"

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.