Centos 7.x uninstall ibus black screen repair and installation methods fcitx Sogou Pinyin

ibus black screen repair

Baidu out fcitx installation methods, unmount the ibus, if not at the same time pay attention to uninstall dependencies, then, gnome desktop some of the key libraries have not been unloaded.
Repair method is simple, re-install Gnome

sudo yum -y groups install "GNOME Desktop"
sudo systemctl set-default graphical.target
sudo reboot

Installation fcitx

sudo yum install fcitx fcitx-table-chinese
sudo yum install fcitx-configtool
sudo yum install fcitx-googlepinyin fcitx-cloudpinyin

In the / etc / profile or ~ / .bashrc finally add the following

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS="@im=fcitx"

Close gnome-shell listen for keyboard input method and then switched fcitx:

sudo pkill ibus-daemon
gsettings set org.gnome.settings-daemon.plugins.keyboard active false
imsettings-switch fcitx

Restart the system, fcitx own initiative started, but the icon in the lower right corner of the desktop hidden notification bar
open fcitx configuration tool, select the label point input method "+" to search for and add the input method

Installation Sogou Pinyin

sudo yum install dpkg
mkdir sogou
cd sogou
#下载搜狗拼音
wget http://cdn2.ime.sogou.com/dl/index/1524572264/sogoupinyin_2.2.0.0108_amd64.deb\?st\=_oXccusI8bHHg5uWqiue_g\&e\=1567251976\&fn\=sogoupinyin_2.2.0.0108_amd64.deb -O sogoupinyin_2.2.0.0108_amd64.deb
ar vx sogoupinyin_2.2.0.0108_amd64.deb
sudo tar -xvf data.tar.xz -C /
sudo cp /usr/lib/x86_64-linux-gnu/fcitx/fcitx-sogoupinyin.so /usr/lib64/fcitx/
sudo yum install -y im-chooser
imsettings-switch fcitx #不要使用root
sudo alternatives --config xinputrc #按照提示选择fcitx.conf所在的序号后回车

Guess you like

Origin www.cnblogs.com/flying_bat/p/11440141.html