1. Switch domestic source (automatically recommend, are marked with a check mark) presence here is automatically added source /etc/pacman.d/morrorlist these sources may not contain Sogou input method selected yo do the second part of the operation
sudo pacman-mirrors -i -c China -m rank // update image ranking sudo pacman -Syy // update the data source
2. Add Chinese community warehouse can only choose one (Reference https://blog.csdn.net/weixin_43968923/article/details/86349914 )
[archlinuxcn] # Packages Standard Package at The Chinese Arch Linux Communities. # SigLevel = Optional TrustedOnly
SigLevel = Optional TrustAll
# 1. official source Server = http://repo.archlinuxcn.org/$arch
# 2.163 Source Server = http: // mirrors. 163.com/archlinux-cn/$arch
# 3. Tsinghua Server = https://mirrors.tuna.tsinghua.edu.cn/archlinuxcn/$arch
3. Install Sogou input method
yay -S qtwebkit-bin (this seems to be not installed)
$ sudo pacman -S fcitx-sogoupinyin
$ sudo pacman -S fcitx-im # 全部安装 $ sudo pacman -S fcitx-configtool # 图形化配置工具
4. Profile Editor command vi / etc / environment (some say Edit ~/.xprofile还有的编辑 ~/.xprofile没搞明白怎么回事
) I have tried inside the virtual machine does not take effect, the physical machine into force
export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx export XMODIFIERS="@im=fcitx"
5.sudo reboot restart to take effect