(1) Open the terminal (root mode)
Open settings
命令:dpkg-reconfigure locales
(2) Modify settings
en_US.UTF-8 UTF-8
Change to uncheck
- One of the following
*
has been checked [External link image transfer failed. The source site may have an anti-leeching mechanism. It is recommended to save the image and upload it directly.
We move the red dot (indicating the currently selected option) en_US.UTF-8 UTF-8
to
- Use the space to check the
[ ]zh_CN.GBK_GBK
and[ ] zh-CN.UTF-8.UTF-8
two options. Some virtual machines can't be found here[ ]zh_CN.GBK_GBK
. These two options follow. If you can't find them, forget it. It's not a big problem. (Press Enter)
Move the cursor down, press to enter
indicate ok
, select languagezh_CN.UTF-8
- Restart: Enter reboot in terminal
Restart takes effect
After restarting, there will be a prompt suggesting that you choose to keep the old name . In the future, typing the code in English will definitely be much more convenient than typing in Chinese!
Now it’s Chinese!
Chinese input method installation (take googlepinyin as an example, some kali Linux systems Sogou input method does not support switching to Chinese)
(1) Change source
deb http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
deb-src http://mirrors.ustc.edu.cn/kali kali-rolling main non-free contrib
execute an order apt-get update
;
execute an order apt-get upgrade
;
Since this machine has been demonstrated previously, it will not be shown here again...
(2)
- Install fcitx framework
sudo apt install fcitx
(3)
- Install Google input method (the prerequisite is to change the system language to Chinese first)
sudo apt install fcitx-googlepinyin
(4) Then use the command reboot
to restart the virtual machine.
(After the installation is complete, restart, open the terminal, press to Ctrl+空格键
open the Chinese input method, ctrl+空格键
and switch between Chinese and English; use it to open the Chinese and English input method
wherever input is needed , sometimes it is not necessarily the case)ctrl+空格键
(5) Search fcitx configuration
- Select Google Pinyin
[At this point, the experiment of setting up kali to use the Chinese input method is completed! 】