https://my.oschina.net/chipo/blog/4339067

sudo add-apt-repository ppa:hosxy/test
sudo apt update
sudo apt install fcitx5 fcitx5-*
sudo apt-get install fcitx5 fcitx5-* kde-config-fcitx5 -o Acquire::http::proxy="http://127.0.0.1:8889/"

设置输入法开机启动
sudo ln -s /usr/share/applications/fcitx5.desktop /etc/xdg/autostart/fcitx5.desktop
或者
sudo cp /usr/share/applications/fcitx5.desktop /etc/xdg/autostart/

环境变量设置:
vim ~/.bashrc
新增内容:

export XIM=fcitx5
export GTK_IM_MODULE=fcitx5
export QT_IM_MODULE=fcitx5
export XIM_PROGRAM=fcitx5
export XMODIFIERS="@im=fcitx5"

source ~/.bashrc

input 设置.

解决Linux下pycharm无法输入中文的问题
https://x.medemede.cn/archives/%E8%A7%A3%E5%86%B3linux%E4%B8%8Bpycharm%E6%97%A0%E6%B3%95%E8%BE%93%E5%85%A5%E4%B8%AD%E6%96%87%E7%9A%84%E9%97%AE%E9%A2%98

Last modification:December 26th, 2020 at 05:57 pm