添加源
-
Fedora 19/20/21/rawhide 使用以下命令添加源:
# yum install dnf-plugins-core
# dnf copr enable mosquito/myrepo
# yum localinstall http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
-
RHEL/CentOS 6/7 不包含 dnf 軟件包,使用以下命令添加源:
# yum-config-manager --add-repo=https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-$(rpm -E %?rhel)/mosquito-myrepo-epel-$(rpm -E %?rhel).repo
# yum install epel-release
# yum localinstall http://li.nux.ro/download/nux/dextop/el$(rpm -E %rhel)/x86_64/nux-dextop-release-0-2.el$(rpm -E %rhel).nux.noarch.rpm http://download1.rpmfusion.org/nonfree/el/updates/$(rpm -E %rhel)/x86_64/rpmfusion-nonfree-release-$(rpm -E %rhel)-1.noarch.rpm http://download1.rpmfusion.org/free/el/updates/$(rpm -E %rhel)/x86_64/rpmfusion-free-release-$(rpm -E %rhel)-1.noarch.rpm
注意:rhel/centos 6/7 需要添加 epel 、 rpmfusion 、Nux Dextop 源。
-
# yum-config-manager --enable epel-testing > /dev/null
Install - 安裝搜狗拼音輸入法
- 測試系統:fc20√、el7√
-
執行以下命令安裝搜狗拼音:
# yum install sogou-pinyin sogou-pinyin-skins
-
Configuration fcitx
- 結束 ibus 守護進程
$ sudo pkill ibus-daemon
- 關閉 gnome-shell 對鍵盤的監聽
$ gsettings set org.gnome.settings-daemon.plugins.keyboard active false
- 切換輸入法爲 fcitx
$ imsettings-switch fcitx
- 重載 fcitx, 啓動搜狗面板
$ fcitx -r; fcitx-configtool
$ sogou-qimpanel
點擊左下角的加號開始添加其他輸入法
- 結束 ibus 守護進程
然後搜索so,就可以選中搜狗輸入法啦
enjoy it