来源:https://blog.csdn.net/qq_42333641/article/details/89325576
我安装的是ibus,感觉fcitx有点难用,个人感觉,
ibus也是黑色背景感觉和kail还挺搭的。哈哈
1.首先,设置源,在终端中键入如下代码,打开源设置文件
gedit /etc/apt/sources.list
#gedit没装的apt-get install gedit 自己安装
将source.list文件清空,保存如下信息:
deb http://http.kali.org/kali kali main non-free contrib
deb-src http://http.kali.org/kali kali main non-free contrib
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy main non-free contrib
deb http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian wheezy-proposed-updates main non-free contrib
deb http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb-src http://ftp.sjtu.edu.cn/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian wheezy main non-free contrib
deb-src http://mirrors.163.com/debian wheezy main non-free contrib
deb http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian wheezy-proposed-updates main non-free contrib
deb-src http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
deb http://mirrors.163.com/debian-security wheezy/updates main non-free contrib
2.在终端键入如下指令
apt-get clean && apt-get update
3.kali-linux安装中文输入法,终端键入如下指令
apt-get install ibus ibus-pinyin #经典的ibus
4.配置输入法,终端键入如下指令
im-config
5.再设置界面增加输入源汉语(Pinyin)
6.设置ibus输入法,终端键入如下指令
ibus-setup
设置完成
win+空格切换