- Install List
- Brave
- Do things
- QEMU
- Printer (ecotank)
- Bitwig
INSTALL LIST
(Used the same code from 2023 https://tttthis.com/blog/kali-install-2-in-2024 and 2024 https://tttthis.com/blog/kali-install-3-2024 .)
sudo apt-get install hydrogen shotwell gnome-disk-utility gimp shotwell vokoscreen libreoffice inkscape secure-delete imagemagick fonts-indic fonts-thai-tlwg xinput cherrytree gdebi gdebi-core clamav clamtk gnome-system-monitor system-config-printer cups font-manager && sudo systemctl enable cups
...
BRAVE BROWSER
sudo apt install apt-transport-https curl
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list
sudo apt update
sudo apt install brave-browser
...
DO THINGS
- Time zone: cuba, or Latin American countries are listed like 'Americas/CountryName'
- Power Manager (otherwise it will dim after 120seconds): Keep screen from locking:
- Top-left menu > Settings > Power Manager > (fourth tab) Security > Automatically lock: Never, and uncheck []Lock screen when system is going to sleep
- in Power Settings, you have to click the top buttons for ‘plugged in’ and ‘on battery’ and do both
- Menu > Keyboard > Layout, unlock the Default settings and +add Spanish, and set a ‘Change layout option.' I selected Ctrl-shift to change language input
- Disable login screen. Didn't find a way.
...
INSTALL QEMU ON KALI
https://www.kali.org/docs/virtualization/install-qemu-guest-vm/
sudo apt update && sudo apt install virt-manager -y
Then (on next boot, although everything works on current session), maybe you get an Error starting domain. Requested operation is not valied. Network ‘default’ is not active.
(To fix do in Terminal
sudo virsh net-start default
But) to ensure ‘default’ starts after system reboot, do
sudo virsh net-autostart default
QEMU SHARED FOLDERS
https://www.youtube.com/watch?v=DE7_isunZA8 or his blog https://absprog.com/post/qemu-kvm-shared-folder
- First, in Terminal (in Host)
sudo apt install virtiofsd
- Turn off the VM
- Memory > (check) Enable Shared Memory
- Click Add Hardware > Filesystem. Driver: Virtiofs. Browse the folder on the Host Machine. Target Path: any name, it's just a label, and we'll pick ‘WhatYouCalledIt’
- Click ‘Finish’.
- Open the VM.
- Mount the shared folder inside the VM.
- First create a mount point anywhere. Just make a folder wherever you want it to be in the VM.
- Open /etc/fstab
- Add the following line at the end of that file:
WhatYouCalledIt /home/your_username/shared_folder(or whatever the folder is called in the VM, this is inside the VM) virtiofs defaults 0 0
- Then either reboot or do ‘sudo mount -a’
Example: SsharedFoldsRandomName /home/kali/SharedFolds/ virtiofs defaults 0 0
...
INSTALL PRINTER ON KALI (Ecotank L3250 (L3210 was similar and I put instructions on tttthis)
In the 'LINUX INSTALL 2025' folder, use gdebi to install lsb-compat_9.20161125_amd64 (hard to find online) and either both or one of epson-inkjet-printer-escpr_1.8.6-1_amd64.deb and epson-printer-utility_1.2.2-1_amd64.deb
Then click the Dragon > Printer, and add the printer (Generic or Epson? I did both in the mess of this install)
...
INSTALL BITWIG
https://tttthis.com/blog/kali-install-3-2024
...
HARDENING / SECURING OS
TURN OFF Journaling, but keep thumbnailing in Thunar (this requires storing them in .cache because Thunar doesn't make it's own local thumbnails, but we just store them in .cache but on RAM so on reboot they're gone. We also turn off Swap file (computer maybe is set up to start saving stuff on the drive's swap space if it runs out of RAM Disk (need to have a decent amoung of RAM otherwise system might overload and freeze with RAM usage, like 8gb or more or something).
First, deal with the ‘recent files’ log on kali/sfce
- Modify or create a settings.ini file in /.config/gtk-3.0/
- The settings.ini should have:
[Settings]
gtk-recent-files-enabled=false
gtk-recent-files-max-age=0
Why this works:
gtk-recent-files-enabled=false: This tells the system "Stop recording my file history."
gtk-recent-files-max-age=0: This tells the system "If you do find any history, keep it for 0 days (delete it immediately)."
You can also run a clear of the ‘recent files’ log with
rm ~/.local/share/recently-used.xbel
And you can create a different ‘recent files’ list that is empty and ‘un writable’ (not sure if I did this but I don't think so):
touch ~/.local/share/recently-used.xbel sudo chattr +i ~/.local/share/recently-used.xbel
Then, deal with .cache
- Clear thumbnails with
rm -rf ~/.cache/thumbnails/*
(note that this doesn't delete them it just clears them. If you want to delete them use SD, maybe something like srm -rlvz ~/.cache/thumbnails/* )
- Make the thumbnails folder ‘un writable’ (You might not want to do this, the
strikethroughcommands are fixed/undone later
rm -rf ~/.cache/thumbnails
ln -s /dev/null ~/.cache/thumbnails
This replaces the folder with a symbolic link to /dev/null (the "black hole" of Linux), so any data sent there simply vanishes.
But you might see that now Thunar doesn't even create thumbnails. Actually you do want to .cache thumbnails (otherwise you can't view them at all), just you don't want them to be cached permanently. So we do the ‘RAM Disk’ trick. (There is an alternative method called the ‘self cleaning script method' which let's Thunar save thumbnails but you make a script that automatically removes the thumbnails when you close Thunar, but I didn't do this method.)
Undo previous link with
rm ~/.cache/thumbnails
mkdir ~/.cache/thumbnails
- Mount the folder in RAM (Tmpfs): Open your file system table with sudo:
sudo mousepad /etc/fstab
- Add this line to the bottom of the file (modify username):
tmpfs /home/yourusername/.cache/thumbnails tmpfs rw,size=100M,user,exec,nosuid,nodev 0 0
Now Thunar will save thumbnails to RAM. They’ll stay there for your current session, but will be wiped every time you restart.
...
Make TRIM schedule more frequent (daily instead of standard Kali weekly) (explained on tttthis page:
sudo mkdir -p /etc/systemd/system/fstrim.timer.d && \
echo -e "[Timer]\nOnCalendar=daily\nAccuracySec=1h" | sudo tee /etc/systemd/system/fstrim.timer.d/override.conf && \
sudo systemctl daemon-reload
(You can run TRIM with this command: sudo fstrim -av)
Comments: 0