Kali Linux 安装中文输入法
1.设置源
vim /etc/apt/sources.list
添加一行
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
2.更新源并安装中文输入法ibus
apt-get update //更新源
apt-get install ibus ibus-pinyin //安装输入法ibus
3.设置输入法
在本地搜索ibus,点击<iBus 首选项> 确定
弹出下图,先点确定(稍候再做)
设置一下
3.修改$HOME/.bashrc
打开
vim $HOME/.bashrc
添加
export GTK_IM_MODULE=ibus
export XMODIFIERS=@IM=ibus
export QT_IM_MODULE=ibus
4.重启OK!
默认<windows>+<空格>切换输入法
5.[Invalid UTF-8] 可现实中文,却无法输入
https://blog.csdn.net/weixin_34616304/article/details/112406608
________________________________________________________
Every good deed you do will someday come back to you.
Love you,love word !