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: