一、安装Fcitx5

sudo apt update
sudo apt install fcitx5
sudo apt install fcitx5-chinese-addons

二、启动Fcitx5并配置

fcitx5 &
fcitx5-configtool

三、将Pinyin选中加入group后即可选择输入法
1.png
/home/li/Downloads/1.png