Note: sometimes a new install connects to your wifi, but there is no internet service. So (sometimes the last 3 steps don't work or are not required):
- systemctl enable systemd-networkd
- systemctl enable systemd-resolved
- systemctl start systemd-networkd
- systemctl start systemd-resolved
- ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
- service resolvconf restart
- service network-manager restart
If you intend to have VirtualBox Oracle (VirtualBox is increasingly hard to install on Debian, but don't forget, there are FOSS Alternatives. VirtualBox is not the only VM software.) on the computer, you may want to do that now, since it's the only bitch to install. Should you use install virtualbox-dkms (or will that just not work)? Should you download from their website, and if so, which version (there are lots of issues reported with varios OSs and various VirtualBox editions)?
VERIFYING download is not difficult. Download it, then click on the ‘sum’ thing on the download element to see the SHA256 checksum. That number should match the number you get when you cd Downloads and:
- shasum -a 256 kali-linux-2022.1-live-i386.iso
- (or whatever your download is called)
- it takes a few seconds to retrieve the number in Terminal.
- https://www.kali.org/docs/introduction/download-official-kali-linux-images/
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.
SECONDARY THINGS
- For FONTS, just put a folder with them in home/username/.local/share/fonts
- Kali has a bunch in user/share/fonts. You can delete some (I'm not sure which ones you can delete without losing render ability. But I deleted the Noto folder (so many fonts), roboto, and some others. I had to change the fonts in CherryTree after (File > Freferences > Fonts) urw-base35 is the one used by LibreOffice (and maybe CherryTree also). Spanish fonts: Antic, Aquiline.
- Hindi fonts won't display unless you sudo apt-get install fonts-indic
- Garamond font for book printing
- .fonts in home directory acts like a place to find fonts
- /usr/share/fonts is where pre-installed system fonts are (maybe don't delete these)
- Or find your font location by opening Font Manager and R-click > Open location
- Make shortcuts on Desktop to Webpages: Make webpage a Favorite in browser, then drag it onto the Desktop.
- Change wallpaper: Settings > Settings Manager > Desktop
- Zoom into screen with Start + scroll wheel
- Fotowall ffrom website and make the 64-bit file executable and just launch it from the file
- gnome-system-monitor shows internet traffic. Unlike Task Manager
- sudo apt-get install fonts-thai-tlwg to install Thai fonts ไทย
INSTALL (already has Gparted, good text editors, Screenshot, Python, and something like Task Manager. Does not have snapd, audacity or VLC so no need to remove them).
- sudo apt-get install hydrogen gimp kdenlive gnome-disk-utility shotwell vokoscreen libreoffice inkscape secure-delete imagemagick fonts-indic cherrytree system-config-printer cups font-manager && Systemctl enable cups
(after installing the Epson ecotank it was set to the wrong model and missed magenta lines. I double-clicked the printer in Print Settings and selected the actual model and it worked then, but not on ‘regular paper’ setting)
sudo apt-get install lmms (but the audio is scratchy)
- sudo apt-get install openvpn
- sudo apt-get install monodevelop (not yet)
sudo apt-get install ardour
blender comes as a tar.zy from https://www.blender.org/
- Open terminal in the folder and type tar xz blahblah.tar.xz ... (this will unpack it into a blender folder). Go in that folder. The blender file will be an executable.
- Ardour. Have to use their site for the AppImage, and they send the DL link to your email
- Bitwig. Check version number of your previous projects (if they were in version 3 and you install 2.4, it won't open them)
CHERRY TREE
- make a .ctb file and save it to Desktop and set it to open default-ly with CherryTree
- Can increase font size by CTRL + scrollwheel
- User manual: https://giuspen.com/cherrytreemanual/
OTHER PRINTER INSTRUCTIONS (not sure if the above replaces this):
- Plug in printer and find driver
- https://subba-lakshmi.medium.com/how-to-install-and-configure-printers-on-kali-linux-78a0476b3cfe
- (Needs cups (Common Unix Printing System))
- sudo apt-get install cups cups-client "foomatic-db"
- (become root (necessary for next step) with:)
- sudo -i
- /usr/sbin/adduser root lpadmin
- (check if root is added with:)
- groups root
- (restart cups and kali with:)
- sudo service cups restart
- (then enable cups:)
- sudo systemctl enable cups
- (then start cups:)
- sudo systemctl start cups
- (open in a browser:)
- http://127.therestofthenumber
OTHER THING ON FONTS
BROWSER
- FIREFOX does shitty things, so do this: https://www.youtube.com/watch?v=2nOHxCSsv5g (watch before even DOWNLOADING) ...
- alternatives: Brave (Chromium monopoly) and LibreWolf. Brave.com/linux has it's Terminal commands, which are currently:
yes | 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
Or
- 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
VM
- See note below on AnyDesk, because inside a VM Kali doesn't seem to be able to install AnyDesk. Lubuntu from site.
SALAMANDER PRO (Piano)
- Download from website. In folder, Terminal, then tar xf [filename]. This makes an .sfz file.
- (that didnt work, I think maybe only sf2 files)
HTTrack (for downloading entire websites for offline reading)
ANYDESK
- Don't forget, it works on Lubuntu. But doesn't seem to work on Kali
- anydesk from website. Comes as a .deb file.
- Missing libdgk-whatever. Upgrade DOES NOT fix this.
- So far, can't get it to work, although I think I got it to work once on someone's Kali
- sudo apt update
- sudo apt install -y gnupg2
- sudo sh -c 'echo "deb http://deb.anydesk.com/ all main" > /etc/apt/sources.list.d/anydesk.list'
- wget -qO - https://keys.anydesk.com/repos/DEB-GPG-KEY | sudo apt-key add -
- sudo apt -y update && sudo apt -y install anydesk *then, because kali isn't supported: *wget http://archive.ubuntu.com/ubuntu/pool/universe/p/pangox-compat/libpangox-1.0-0_0.0.2-5.1_amd64.deb sudo dpkg -i libpangox-1.0-0_0.0.2-5.1_amd64.deb
- https://computingforgeeks.com/how-to-install-anydesk-on-kali-linux/ and https://old.reddit.com/r/AnyDesk/comments/qip1ka/kali_linux_not_working_libpangox10so0_issue_at/
YT_DLP (youtube-dl didn't work for me last time)
- https://github.com/yt-dlp/yt-dlp
- sudo wget https://github.com/yt-dlp/yt-dlp/releases/latest/download/yt-dlp -O /usr/local/bin/yt-dlp
- sudo chmod a+rx /usr/local/bin/yt-dlp
- https://linuxconfig.org/yt-dlp-vs-youtube-dl
For mp3:
$ yt-dlp -f 'ba' -x --audio-format mp3 https://www.youtube.com/.....
https://write.corbpie.com/downloading-youtube-videos-and-playlists-with-yt-dlp/
For playlist:
- yt-dlp -f 'bv*[height=1080]+ba' --download-archive videos.txt https://www.youtube.com/playlist?list=etcetcetc... -o '%(channel_id)s/%(playlist_id)s/%(id)s.%(ext)s'
Virtualbox can be installed with apt install, but produces an error
Next time, try virtualbox-dkms first and see if that works
Kernel driver not installed (rc=-1908)
The VirtualBox Linux kernel driver (vboxdrv) is either not loaded or there is a permission problem with /dev/vboxdrv. Please reinstall virtualbox-dkms package and load the kernel module by executing
'modprobe vboxdrv'
But this doesn't work. Sudo apt upgrade it.
other
sudo apt install qbittorrent
Comments: 0