Customize New Featured Kali 2019.4
TyeYeah Lv4

Since Kali has a new release with a lot of changes, a note for figuring problems and personal customizing is needed.

New Features of Kali 2019.4

Kali Linux 2019.4 Release

2019.4 includes some exciting new updates:

  • A new default desktop environment, Xfce
  • New GTK3 theme (for Gnome and Xfce)
  • Introduction of “Kali Undercover” mode
  • Kali Documentation has a new home and is now Git powered
  • Public Packaging – getting your tools into Kali
  • Kali NetHunter KeX – Full Kali desktop on Android
  • BTRFS during setup
  • Added PowerShell
  • The kernel is upgraded to version 5.3.9

… Plus the normal bugs fixes and updates.

Problems With Chinese

After First Installation, You will see errors when displaying chinese characters.
I’m here to tell the solution.

Choose Language

1
2
3
4
5
$ apt install locales

$ dpkg-reconfigure locales # choose zh_CN GB2312 zh_CN.GBK GBK ;zh_CN.UTF-8 UTF-8 ; en_US.UTF8 (or whatever u want)

$ vim /etc/default/locale # set LANG=en_US.UTF-8

Install Fonts

1
2
3
4
5
6
7
8
$ apt-get update  
$ apt-get upgrade -y
$ apt-get dist-upgrade -y

$ apt-get install xfonts-intl-chinese -y # get language support

$ apt-get install ttf-wqy-microhei -y # install right font
reboot # make it effective

Time Display Error

Dual system users may meet question that Windows and Linux have different time.
It’s easy to change or correct time on Windows 10. On Linux you can refer to this and this.
To be brief, install ntp server (yum, dnf or apt) and run this command: ntpdate cn.pool.ntp.org, then you will get time right (only for those living in China).

Change Repo Source (Edit Source List)

Change Kali Source

Also suitable for Ubuntu users adding kali to source.list

Recommend Sources

aliyun kali source:

1
2
deb http://mirrors.aliyun.com/kali kali-rolling main non-free contrib
deb-src http://mirrors.aliyun.com/kali kali-rolling main non-free contrib

ustc kali source:

1
2
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 

tuna kali source

1
2
deb http://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free
deb-src https://mirrors.tuna.tsinghua.edu.cn/kali kali-rolling main contrib non-free

Add Pub Key

Deal with public key error.

1
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7D8D0BF6

or

1
2
$ wget archive.kali.org/archive-key.asc
$ apt-key add archive-key.asc

Add Deepin Source

Create a new file like /etc/apt/sources.list.d/deepin-ubuntu-dde-bionic.list, then write deepin source in it.

Recommend Sources

official deepin source:

1
2
deb [by-hash=force] http://packages.deepin.com/deepin stable main contrib non-free
#deb-src http://packages.deepin.com/deepin stable main contrib non-free

aliyun deepin source:

1
2
deb https://mirrors.aliyun.com/deepin/ panda main contrib non-free
deb-src https://mirrors.aliyun.com/deepin/ panda main contrib non-free

Add Pub Key

Deal with public key error.

1
2
3
4
$ wget https://mirrors.aliyun.com/deepin/project/deepin-keyring.gpg
$ gpg --import deepin-keyring.gpg
$ sudo gpg --export --armor 209088E7 | sudo apt-key add -
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 425956BB3E31DF51

You can update after that.

Don’t Upgrade, Just Install

Install most featured deepin-wine, and deepin-wine apps (qq & wechat cannot function due to old version)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$ apt install deepin-wine

$ apt install deepin.xxx
deepin.cn.360.yasuo deepin.com.qq.office
deepin.cn.com.winrar deepin.com.qq.rtx2015
deepin.com.95579.cjsc deepin.com.taobao.aliclient.qianniu
deepin.com.aaa-logo deepin.com.taobao.wangwang
deepin.com.baidu.pan deepin.com.thunderspeed
deepin.com.cmbchina deepin.com.wechat
deepin.com.foxmail deepin.com.wechat.devtools
deepin.com.gtja.fuyi deepin.com.weixin.work
deepin.com.qq.b.crm deepin.net.cnki.cajviewer
deepin.com.qq.b.eim deepin.org.7-zip
deepin.com.qq.im deepin.org.foobar2000
deepin.com.qq.im.light

New Undercover Mode

Intro

Use a script to switch to the theme like windows 10. Same way to switch back.

kali undercover mode

More Customization

Use own pic to hide dragon symbol or customize your background-pic

Grub Background

Reference for old editions
use update-grub to see

1
2
3
4
5
6
7
8
9
10
$  update-grub
Generating grub configuration file ...
Found theme: /boot/grub/themes/kali/theme.txt
Found background image: /usr/share/images/desktop-base/desktop-grub.png
Found linux image: /boot/vmlinuz-5.3.0-kali3-amd64
Found initrd image: /boot/initrd.img-5.3.0-kali3-amd64
Found linux image: /boot/vmlinuz-5.3.0-kali2-amd64
Found initrd image: /boot/initrd.img-5.3.0-kali2-amd64
Adding boot menu entry for EFI firmware configuration
done

Kali Linux 2019.4 is xfce desktop environment, so the output is different from former editions.

Here you can see /usr/share/images/desktop-base/desktop-grub.png is the default pic for background. It is set by /boot/grub/themes/kali/grub_background.sh But this background is no grub background, is the pic shows after you do grub choice.

As for the grub background, the default pic path is /boot/grub/themes/kali/grub-16x9.png

check /boot/grub/themes/kali/theme.txt to do more.

Login Background

After setting the grub background, we can then change login background to get more customization
The path is /usr/share/backgrounds/kali/kali-light-16x9.png

check /etc/lightdm/lightdm-gtk-greeter.conf and you will see why.

Undercover Mode Background

The path of default background is /usr/share/kali-undercover/backgrounds/Windows-10.jpg, and if you change it, immediately desktop image will change.
The path of config file remains to be seen…

Last

All the above paths can be found if you keep searching, and different PC or distributions may have different results, so don’t forget to do your own customization.

Powered by Hexo & Theme Keep
Total words 135.7k