I do the following:
modify sources.list
-sharp
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
-sharpkali
deb http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali main non-free contrib
deb http://mirrors.ustc.edu.cn/kali-security kali/updates main contrib non-free
-sharpkali
deb http://mirrors.aliyun.com/kali kali main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali main non-free contrib
deb http://mirrors.aliyun.com/kali-security kali/updates main contrib non-free
apt-get install-f
apt-get update
apt-get install fcitx-googlepinyin
apt-get install fcitx-config-gtk2
reboot
the google input method has been installed here, but the input method cannot be adjusted (see the tutorial that says ctrl+ space, but it just can"t be called up)
(I have been working on an input method for two days, but I have no choice but to ask questions.)