Localizing the Kali Desktop Context Menu into Chinese

My own laptop had been running kali for a long time and was configured pretty perfectly, with the old project using php5.6. On my own laptop, after all sorts of tinkering, it turned out the system simply doesn’t support php5.6. My perfect system got wrecked, and I stayed up late restoring part of it - php5.6 had to be installed with docker. Recently I quit my job - quit it completely. The problem of the kali right-click menu not showing Chinese still wasn’t solved, so today I’m dealing with it.

According to what the search engines turned up, there are two ways to fix the desktop icons: install desktop-icons-enhanced or the nemo plugin. I’d used nemo before and vaguely remembered solving it with nemo. So today I’ll give it a try.

1
sudo apt-get install nemo

Install nemo. Then create the desktop file and edit it

sudo leafpad ~/.config/autostart/nemo-autostart-with-gnome.desktop

Fill the file with

1
2
3
4
5
6
7
8
9
[Desktop Entry]
Type=Application
Name=Nemo
Comment=Start Nemo desktop at log in
Exec=nemo-desktop
OnlyShowIn=GNOME;
AutostartCondition=GSettings org.nemo.desktop show-desktop-icons
X-GNOME-AutoRestart=true
NoDisplay=true

Save and exit.
Log out, log back in, and you can use the Chinese right-click menu.