[Information Security] Kali changed to Chinese

Presumably the English interface of Kali has brought too many difficulties to everyone. Today I will teach you how to change Kali to Chinese.

Premise: replace the domestic source (as written in the previous chapter)

  1. Software first, system update

Enter the terminal and enter the update command

apt-get update
apt-get upgrade
apt-get clean

2. Enter root authority

Type dpkg-reconfigure locales

Find en_US.UTF-8 UTF-8 Click the space to cancel it, slide down the page

Find zh_CH.UTF-8 UTF-8, press the space to confirm, enter (OK)

Select zh_CH.UTF-8, use the Tab key to confirm (OK)

This page is displayed, indicating success, and then we restart reboot

3. Change Chinese to English in the root directory

Presumably everyone has opened the directory in the terminal and needs to switch to the Chinese language. It is troublesome. We can change it.

1. First open the settings file

vim ~/.config/user-dirs.dirs

2. Change the Chinese on the desktop, documents, etc. to the following format

XDG_DESKTOP_DIR="$HOME/Desktop"
XDG_DOWNLOAD_DIR="$HOME/Downloads"
XDG_TEMPLATES_DIR="$HOME/Templates"
XDG_PUBLICSHARE_DIR="$HOME/Public"
XDG_DOCUMENTS_DIR="$HOME/Documents"
XDG_MUSIC_DIR="$HOME/Music"
XDG_PICTURES_DIR="$HOME/Pictures"
XDG_VIDEOS_DIR="$HOME/Videos"

3. In the terminal, delete the Chinese folder under the root directory

rm -r 公共 模板 视频 图片 文档 下载 音乐 桌面                          

4. Set up a new folder

mkdir Desktop Documents Downloads Music Pictures Public Templates Videos

5. Finally restart (reboot), the change is successful

Guess you like

Origin blog.csdn.net/m0_66638011/article/details/129470188