admin管理员组文章数量:1530830
1、配置国内yum源安装EPEL源
https://wwwblogs/renpingsheng/p/7845096.html
2、安装前不需要卸载ibus,卸载ibus桌面可能会出错
也试过先卸载后安装,第一次出错了,直接黑屏,重启之后进入纯文本界面,startx还是黑屏。第二次没出问题
#rpm -q ibus #检查是否安装ibus
#yum -y remove ibus #卸载ibus
3、添加fcitx软件源
直接安装 fcitx-configtool提示没有可用软件包所以需要添加相应软件源
mosquito-myrepo是一个私人制作的第三方源,其中包含了fcitx输入法,支持的发行版:Fedora 19/20/21/rawhide 以及RHEL/CentOS 7。
#yum-config-manager –add-repo=https://copr.fedorainfracloud/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo
4、安装搜狗拼音输入法
#yum install sogou-pinyin sogou-pinyin-skins
5、配置
首先关闭gnome-shell 对键盘的监听,然后切换输入法为fcitx: (启用键盘键盘监听后,依然可以用键盘默认的ibus输入法)
# gsettings set org.gnome.settings-daemon.plugins.keyboard active false
# imsettings-switch fcitx
6、重载 fcitx, 启动搜狗面板
# fcitx -r; fcitx-configtool
# sogou-qimpanel
安装完后,fcitx 及搜狗输入法会出现在右下角的通知栏,这时候需要重启gnome-3桌面 按住”alt+F2" 输入 r ,fcitx状态即可出现在上面的状态栏。似乎需要重启,或者退出用户重新登陆
搜狗输入法基本够用了,也可以安装其他中文输入法:
$ yum install fcitx-googlepinyin fcitx-cloudpinyin # 谷歌拼音输入法
$ yum install fcitx-rime fcitx-cloudpinyin # 中州韵输入法
$ yum install fcitx-libpinyin fcitx-cloudpinyin # libpinyin输入法
$ yum install fcitx-sunpinyin sunpinyin-data fcitx-cloudpinyin # sunpinyin输入法
7、清理工作
mosquito-myrepo在不断地支持更多的软件,这也进一步造成该repo中的软件与base、EPEL中的软件存在版本冲突,在该repo的项目主页中建议安装yum的优先级插件yum-plugin-priorities,这在一定程度上会缓解版本冲突问题,但无法从根本上避免。
鉴于多个repo的版本冲突会造成一些麻烦,最好的办法还是在安装完需要的软件之后就禁用该repo,需要的时候再启用。
编辑/etc/yum.repos.d/mosquito-myrepo-epel-7.repo,将其中的enable=1改成enable=0即可。
版权声明:本文标题:centOS7安装搜狗拼音输入法 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1726797383a1085001.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论