最新ArchLinux上 fcitx搜狗拼音输入法的安装

tested on Arch Linux 5.2.5 gnome
sudo vim /etc/pacman.d/mirrorlist
Server = http://mirrors.163.com/archlinux/$repo/os/$arch 
sudo vim /etc/pacman.conf
[archlinuxcn]
Server = https://cdn.repo.archlinuxcn.org/$arch

sudo pacman -Sy
sudo pacman -S archlinuxcn-keyring
sudo pacman -S fcitx-im fcitx-configtool fcitx-gtk2 fcitx-gtk3 fcitx-qt4 fcitx-qt5 libidn fcitx-sogoupinyin fcitx-googlepinyin

mkdir ~/.config/autostart
cp /etc/xdg/autostart/fcitx-autostart.desktop ~/.config/autostart/
  
echo "GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx" > .pam_environment

echo "export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx" > .xprofile

reboot

ps aux |grep fcitx
ps aux |grep sogou   ;sogou-qimpanel, 搜狗输入法窗口
fcitx-configtool  ;add sogou, Input Method--add button--uncheck "Only Show Current Language"--search sogou
ctrl + space 切换输入法试试
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值