Manjaro 系統添加國內源和安裝谷歌瀏覽器與搜狗輸入法

添加中科大源
#打開配置文件

sudo nano /etc/pacman.conf

在文件末尾添加

[archlinuxcn]
SigLevel = Optional TrustedOnly
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch

#導入GPG Key

sudo pacman -Syy && sudo pacman -S archlinuxcn-keyring

安裝軟件chrome 和搜狗拼音輸入法
#安裝chrome

sudo pacman -S google-chrome

安裝搜狗拼音輸入法

sudo pacman -S fcitx-im #默認全部安裝
sudo pacman -S fcitx-configtool
sudo pacman -S fcitx-sogoupinyin

#編輯輸入法配置文件

sudo nano ~/.xprofile

添加以下內容

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

重啓後輸入法就可以正常使用。

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章