Raspberry Pi 安裝中文輸入法 Fcitx 及 Google 拼音輸入法#
原本是想給 Raspberry Pi 安裝搜狗輸入法,
搜狗輸入法 Linux 版:https://pinyin.sogou.com/linux/?r=pinyin
但一直安裝不成功,後來發現原來是系統架構不同導致的,搜狗輸入法是基於 amd 的,所以可以在筆記型電腦和虛擬機上安裝 32 位的搜狗輸入法 Linux 版,但是 Raspberry Pi 系統使用的是 ubuntu_meta
,它的架構是 armhf
(使用 uname -a
查看系統內核版本)
台式電腦虛擬機中的 Raspberry Pi 是可以直接下載 32 位的搜狗拼音輸入法的 .deb 檔案直接雙擊安裝,
連接網路,在終端機執行:
sudo apt-get install fcitx fcitx-googlepinyin fcitx-module-cloudpinyin fcitx-sunpinyin
安裝完畢,重新啟動,右鍵點擊小鍵盤圖示,選擇 Configure
,對 Google 拼音輸入法進行設定,在 Input Method Configuration
(輸入法配置)視窗的 Input Method
(輸入法)中,點擊左下角的 +
,將 Google Pinyin
(Google 拼音)添加到上面。
然後在 Input Method Configuration
(輸入法配置)視窗的 Global Config
(全局配置)中按照提示設定 Trigger Input Method
切換輸入法的快捷鍵
最後再重新啟動 Raspberry Pi,再新建一個檔案測試,切換輸入法,只需要按下設定的快捷鍵,即可輸入中文