> CentOS > CentOS教程 >

linux centos7.0装搜狗拼音 sougou

添加源

  • 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 sogou - 安装搜狗拼音输入法

  • 测试系统:fc20√、el7√
  • 执行以下命令安装搜狗拼音: 
    # yum install sogou-pinyin sogou-pinyin-skins

  • Configuration fcitx 

    1. 结束 ibus 守护进程 
      $ sudo pkill ibus-daemon
    2. 关闭 gnome-shell 对键盘的监听 
      $ gsettings set org.gnome.settings-daemon.plugins.keyboard active false
    3. 切换输入法为 fcitx 
      $ imsettings-switch fcitx
    4. 重载 fcitx, 启动搜狗面板 
      $ fcitx -r; fcitx-configtool 
      $ sogou-qimpanel
    点击左下角的加号开始添加其他输入法
一定要把only show current language取消勾选

 

然后搜索so,就可以选中搜狗输入法啦

enjoy it

 
(责任编辑:IT)