$ sudo apt install fcitx fcitx-ui-qimpanel fcitx-sunpinyin
打开系统Settings,Region & Language,Manage Installed Languages,安装中文语言包,而后选择Keyboard input method system为fcitx;ruby
重启系统;ui
在Region & Language,input Sources中添加Chinese(Intelligent Pinyin);code
打开fcitx configure,添加输入法Sunpinyin;ci
若是须要,可将输入法切换按键修改成本身经常使用的按键;rem
若是须要,可经过如下命令删除多余的输入法图标:input
$ sudo apt remove fcitx-ui-classic