- install googlepinyin
sudo apt-get install fcitx-googlepinyin
另外记得去设置系统默认输入法: settings -> Region & Language -> Manage installed Languages -> Keyboard input method system: Fcitx 4
- 配置/etc/environment(升级到22.04之后的关键一步,必须得配置,我安装好之后,测试了在.bashrc等文件配置都没用,就必须配置/etc/environment)
sudo vim /etc/environment
然后填写如下配置
export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
标签:输入法,fcitx,googlepinyin,environment,22.04,export
From: https://www.cnblogs.com/mistark/p/17560908.html