← Back to Garden

Tuning Kali Linux as a Daily Driver

#Linux#Kali#KDE#Security

SUDO_SU

Kali Linux is designed to be a “throwaway” operating system (Live USB). Using it as a Daily Driver (main daily OS) on your laptop requires taming the beast. Here are my notes to survive the attempt.

  1. The Desktop Environment: KDE Plasma

XFCE is lightweight, but KDE Plasma offers superior productivity tools (KRunner, tiling, multiple monitor management). When installing Kali, opt for KDE.

  1. Repository Management (The danger of FrankenDebian)

The biggest rookie mistake is adding Ubuntu or Debian Testing repositories to Kali. DO NOT DO IT. You will break critical dependencies for Pentesting tools. If you need everyday software (Spotify, VSCode, Obsidian), use Flatpak.

Install Flatpak support on Kali

sudo apt install flatpak flatpak remote-add —if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo

Install civilian software

flatpak install flathub com.visualstudio.code

  1. Wayland vs X11

Wayland is the future, but many older network capture or keylogger tools (and even screen sharing tools) assume you’re running X11. My recommendation: Keep your session in X11 if you plan to do security audits involving GUI captures, or use Wayland with XWayland active, but prepare to deal with glitches when screen sharing on corporate tools.

  1. Battery and Sensors

Kali does not optimize power by default. Install and configure TLP to double your laptop’s battery life.

sudo apt install tlp tlp-rdw sudo systemctl enable tlp sudo systemctl start tlp

TUXBOT@SYSTEM:~$ ./chat
> SYSTEM INITIALIZED. FLEET STATUS: ACTIVE.
🐧🤖 [Tuxbot]: Hello, I am Tuxbot. Your Ghost in the Shell for dragont.ec. What do you want to query today?
>