首页 > 其他 > 详细

CentOS 7安装fcitx中文输入法

时间:2015-06-22 17:53:04      阅读:247      评论:0      收藏:0      [点我收藏+]

安装步骤如下:

1、加入EPEL源

   EPEL7几乎是CentOS必备的源: sudo yum install epel-release

2、添加mosquito-myrepo源

   mosquito-myrepo是一个私人制作的第三方源,其中包含了fcitx输入法,支持的发行版:Fedora 19/20/21/rawhide 以及RHEL/CentOS 7。

sudo yum-config-manager --add-repo=https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo

3、安装输入法

   可以选择下面的各种输入法中的某一个或多个:

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输入法

4、清理工作

   鉴于多个repo的版本冲突会造成一些麻烦,最好的办法还是在安装完需要的软件之后就禁用该repo,需要的时候再启用。

   编辑/etc/yum.repos.d/mosquito-myrepo-epel-7.repo,将其中的enable=1改成enable=0即可。

   vi /etc/yum.repos.d/mosquito-myrepo-epel-7.repo

   技术分享

5、设置输入法切换快捷键

   应用程序-->其它-->Fcitx配置

   技术分享

   在输入法Tab页点击+添加在步骤三安装的输入法

   技术分享

   在全局配置Tab页配置输入法切换的快捷键(默认的Ctrl+Shift不能切换,本人设置为Ctrl+Q切换)

   技术分享

   到此,在CentOS 7上安装fcitx中文输入法的步骤已全部讲完,希望我的讲解可以帮助大家进步。

CentOS 7安装fcitx中文输入法

原文:http://blog.csdn.net/quwenzhe/article/details/46594195

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!