Kali Linux changes the system language to Chinese

(1) Open the terminal (root mode)

Open settings

命令:dpkg-reconfigure locales

(2) Modify settings

en_US.UTF-8 UTF-8Change 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.(img-MXY0pXuO-1686315360239)(C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\image-20230523163943745.png)]

We move the red dot (indicating the currently selected option) en_US.UTF-8 UTF-8to

  • Use the space to check the [ ]zh_CN.GBK_GBKand [ ] zh-CN.UTF-8.UTF-8two 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)

[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 (img-bVMQs6FP-1686315360240) (C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\ image-20230523164128809.png)]

Move the cursor down, press to enterindicate ok, select languagezh_CN.UTF-8

[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 (img-VbT9WDBD-1686315360241) (C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\ image-20230523164241936.png)]

[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 (img-tmOE7iq0-1686315360242) (C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\ image-20230523164442488.png)]

  • Restart: Enter reboot in terminal

Insert image description here

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

[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 (img-Hie3nO7O-1686315360243) (C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\ image-20230523161738399.png)]

(3)

  • Install Google input method (the prerequisite is to change the system language to Chinese first)
sudo apt install fcitx-googlepinyin

[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 (img-SzwWdmGY-1686315360243) (C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\ image-20230523161847108.png)]

(4) Then use the command rebootto 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

Insert image description here

[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 (img-1W3wISCJ-1686315360244) (C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\ image-20230523165201123.png)]

  • Select Google Pinyin
    [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 (img-e40IMm9C-1686315360245) (C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\ image-20230523170224118.png)]

[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 (img-7CzSTiKs-1686315360246) (C:\Users\ASUS\AppData\Roaming\Typora\typora-user-images\ image-20230523170136510.png)]
Insert image description here

[At this point, the experiment of setting up kali to use the Chinese input method is completed!

Guess you like

Origin blog.csdn.net/m0_63451989/article/details/131134810