Install and configure the penguin Input Method Framework and SunPinYin plug-in GNOME 3.x

Source: Internet
Author: User

Install and configure the penguin Input Method Framework and SunPinYin plug-in GNOME 3.x

The fcitx little penguin Input Method Framework has become increasingly mature and has extremely high performance. In combination with Sun PinYin, it is almost the same as sogou Baidu and other input methods in Windows. In fact, the sogou Input Method for Linux is based on the fcitx little penguin Input Method paper! Run the following command to uninstall ibus and install the fcitx Input Method Framework and Sun PinYin Intelligent Input Method:

Sudo yum remove ibus *

Sudo yum install fcitx-gtk * fcitx-configtool fcitx-pinyin fcitx-sunpinyin * im-chooser

After execution, use im-chooser to select the input method fcitx. If you use im-chooser to select fcitx, an error is displayed:

Grule. Error: org. gtk. grule. UnmappedGError. Quark. imsettings 2derror_2dquark.Code5: Current desktop isn' t targeted by IMSettings.

View logs. The key sentence is:

INFO: Attempting to switch IM to FCITX [lang = en_US.utf8, update = true] org. gnome. settings-daemon.plugins.keyboard.active is true. imsettings is going to be disabled.

This is because the built-in plug-in keyboard in GNOME Shell is activated and takes over the management of keyboard layout and special shortcut keys. This conflicts with im-chooser and must be disabled. Therefore, you need to set gsetting by using the following command:

Gsettings set org. gnome. settings-daemon.plugins.keyboard active false

Now, set im-chooser to fcitx, and add a configuration script named fcitx. sh in/etc/profile. d as follows:

#! /Bin/bash

Export GTK_IM_MODULE = fcitx

Export QT_IM_MODULE = fcitx

Export XMODIFIERS = "@ im = fcitx"

Save the preceding changes. All scripts saved in the/etc/profile. d directory will be executed by the profile when the system starts. Of course, it is more secure to add the preceding three environment variable declarations to the current user's. bash_profile. After restart, you can use fcitx. For the preparation of fcitx shortcuts, in addition to explicitly configuring Ctrl-Space or Super-Space in fcitx-configtool, note that in the GNOME system settings, choose "keyboard"> "shortcut key"> "type"> "switch next Input Method". We recommend that you change it to "null ", otherwise, the shortcut key set for fcitx is invalid.

This article permanently updates the link address:

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.