安装输入法
apt-get install fcitx fcitx-tools fcitx-config* fcitx-frontend* fcitx-module* fcitx-ui-* presage
输入法没有显示框
sudo apt-get remove fcitx-ui-qimpanel
在系统语言里添加中文的输入法
设置->语言和输入->输入源中文
安装拼音输入法
apt install fcitx-googlepinyin fcitx-pinyin fcitx-sunpinyin
最后配置输入法
程序 fctix configure