標籤: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