CentOS 7通過yum安裝fcitx五筆IME

來源:互聯網
上載者:User

標籤:fcitx

CentOS 7通過yum安裝fcitx五筆IME

以下通過了親測:

1、設定源

Posted in Linux at 三月 5th, 2015 / No Comments ?

加入EPEL源
EPEL7幾乎是CentOS必備的源:

$ wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-5.noarch.rpm
$ sudo rpm -ivh epel-release-7-5.noarch.rpm
$ sudo rpm –import /etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-7
添加mosquito-myrepo源
mosquito-myrepo是一個私人製作的第三方源,其中包含了fcitxIME以及基於fcitx的拼音、五筆IME。

項目地址: https://copr.fedoraproject.org/coprs/mosquito/myrepo/
支援的發行版: Fedora 19/20/21/rawhide 以及RHEL/CentOS 7

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

2、卸載原來的:

yum remove ibus

yum remove imsettings imsettings-libs im-chooser

3、安裝新的

如果只需要安裝五筆那麼則需要安裝包(當然附帶會安裝一些相應的依賴):

# yum install fcitx fcitx-table-chinese --enablerepo=mosquito-myrepo

註:這一步,五筆IME已經安裝上了。


如果需要可視化的fcitx設定工具則使用命令:

# yum install fcitx-configtool --enablerepo=mosquito-myrepo


4、進行配置

配置Fcitx
在~/.bashrc中添加如下內容

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=”@im=fcitx”

關閉gnome-shell 對鍵盤的監聽,然後切換IME為fcitx:

$ sudo pkill ibus-daemon
$ gsettings set org.gnome.settings-daemon.plugins.keyboard active false
$ imsettings-switch fcitx

重啟系統,fcitx自動啟動,但表徵圖藏在案頭右下角的通知欄中
開啟fcitx的組態工具,選擇IME標籤點”+”可以搜尋並添加IME

安裝其他IME

$ yum install fcitx-googlepinyin fcitx-cloudpinyin # Google拼音IME
$ yum install fcitx-rime fcitx-cloudpinyin # 中州韻IME
$ yum install fcitx-libpinyin fcitx-cloudpinyin # libpinyinIME
$ yum install fcitx-sunpinyin sunpinyin-data fcitx-cloudpinyin # sunpinyinIME

http://seisman.info/fcitx-for-centos-7.html

http://www.92wiki.com/hdwiki/doc-view-424.html

引用文檔:http://yuexuan.sinaapp.com/?p=2218


CentOS 7通過yum安裝fcitx五筆IME

相關文章

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.