zoukankan      html  css  js  c++  java
  • CentOS 7安装fcitx中文输入法

    安装过程例如以下:

    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中文输入法的步骤已所有讲完。希望我的解说能够帮助大家进步。

  • 相关阅读:
    vscode 前端好用插件汇总
    IE8和IE9下textarea滚动选中的问题
    javascript实现数字整数位每三位一个逗号分隔
    简单枚举(算法竞赛入门经典)
    拓扑排序(算法竞赛入门经典)
    七桥问题--欧拉(算法竞赛入门经典)
    走迷宫问题 算法竞赛入门经典
    ZOJ1008
    ZOJ1163
    HDU 1069 Monkey and Banana
  • 原文地址:https://www.cnblogs.com/llguanli/p/7324730.html
Copyright © 2011-2022 走看看