Install fcitx in Ubuntu

Source: Internet
Author: User
1. Download fcitx installation 2 and create a new file named fcitx anywhere. The content (taken from the fcitx In the Ubuntu package) is as follows: XIM = fcitxXIM_PROGRAM =/usr/bin/fcitxXIM_ARGS = "" GTK_IM_MODULE = XIMQT_IM_MODULE = XIMDEPENDS = "fcitx" Copy to/etc/X11/xinit/xinput. d/down to ensure im-switc 1, download fcitx Installation

2. Create a new file named fcitx anywhere. The content (taken from the fcitx In the Ubuntu package) is as follows:

XIM = fcitx XIM_PROGRAM =/usr/bin/fcitx XIM_ARGS = "" GTK_IM_MODULE = XIM QT_IM_MODULE = xim depends = "fcitx"
Copy to/etc/X11/xinit/xinput. d/to ensure that im-switch can find it.

3. Run

# Sudo im-switch-s fcitx
And
# Im-switch-s fcitx

Change the input methods of both accounts to fcitx.

4. If I cannot call up the input method (XIM) in the same English local environment as I do, and do not need to perform this operation in the Chinese local environment, the correction steps are as follows:

Edit the/etc/gtk-2.0/gtk. immodules file (sudo gedit/etc/gtk-2.0/gtk. immodules), add en in the xim local that is:

"/Usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so" "xim" "X Input Method" "gtk20" "/usr/share/locale" "ko: ja: th: zh"
Change
"/Usr/lib/gtk-2.0/2.4.0/immodules/im-xim.so" "xim" "X Input Method" "gtk20" "/usr/share/locale" "en: ko: ja: th: zh"

Save and exit. After restart, it will be OK.

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.