sudo apt remove ibus* -y
sudo apt autoremove -y
sudo apt update
sudo apt install fcitx5 fcitx5-chinese-addons fcitx5-config-qt fcitx5-frontend-gtk2 fcitx5-frontend-gtk3 fonts-wqy-zenhei -y
im-config -n fcitx5
cp /usr/share/applications/org.fcitx.Fcitx5.desktop ~/.config/autostart/
sudo reboot

重启后:右上角图标 → 添加拼音 → Ctrl+空格 切换中英文,所有软件全部正常输入。

问题 :浏览器(Chromium)、VSCode、文本框打不了中文

就是缺少前端依赖,重新安装:

sudo apt install fcitx5-frontend-gtk3 fcitx5-frontend-gtk2 -y

更多推荐