VM programs in 2024

YT-DLP

sudo apt-get install yt-dlp

MP3

yt-dlp -f 'ba' -x --audio-format mp3 https://www.youtube.com/etcetcetcetc

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'


Mulvad downloads from its site. You need a PIN number.

Anydesk

Torrent (Qbittorrent)

sudo apt-get install qbittorrent

thepiratebay.org 1337x.to

.

.

.

.

.

.

TTTThis

Kali Install (#2) in 2024

The old one is http://tttthis.com/blog/kali-linux-including-anydesk . There are troubleshooting things (internet doesn't work when first install Kali) and things I haven't used recently there. Also there is the list of things done manually it'd be nice to write a script to do (timezone, power options, shortcut launchers). It also has programs that could be useful which I either abandoned or didn't try yet. Also, remember Kali doesn't work with Anydesk because you can't install it it seems, although you can in a VM non-Kali).

Before you start, you will need:

  • Accounts info, to log into Bitwig, to log into any SMs in VMs
  • Don't delete old hard drive until test that Printers work, VMs work (including Guest Additions shared folder),
  • Don't delete the old hard drive SSD until you've tried out banking, social media)
  • Think about VMs, since this is the hardest thing to install. Will you need to do shared folders? Will you need Win7?

Install programs:

sudo apt-get install hydrogen gimp gnome-disk-utility 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

(Do you need gdebi-gtk for graphical?) (The other H2 Hydrogen but for synth/midi is called SEQ24.)

Brave

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

Optional installs,first we have daws etc, second photo arranging/editing programs

sudo apt-get install lmms openvpn monodevelop ardour

(Lmms the audio is scratchy)

sudo apt-get install gwenview fotoxx shotwell

(Gwenview is best for going through masses of photos and cropping them.)

For Pinta do:

sudo add-apt-repository ppa:pinta-maintainers/pinta-stable && sudo apt-get update && sudo apt-get install pinta

For OBS do (but note it auto-installs VLC)

obs-studio

apt-get purge vlc
apt-get autoremove
sudo apt-get purge vlc-data
sudo apt-get remove browser-plugin-vlc

Bitwig install from deb

And remember, it can sometimes be hard to install because of i386 dependencies (sudo dpkg --add-architecture i386 && sudo apt-get update). And also remember, you need a later version of Bitwig to open any Bitwig file. And remember, go to Settings > Behavior and turn off Data Collection. Go to User Interface and Reverse zoom direction.

You may need to install pipewire (if you want to use just the regular mic jack with a 'headset' splitter especially, because you can probably use pulseaudio or alsa if you plug in an external audio device). The first two are not necessary if you don't get an 'add-apt-repository command not found' error.

sudo apt-get install software-properties-common
sudo apt-get update

sudo add-apt-repository ppa:pipewire-debian/pipewire-upstream
sudo apt-get update
sudo apt install pipewire pipewire-audio-client-libraries
systemctl --user daemon-reload

Free VSTs, search with a Linux filter https://www.kvraudio.com/plugins/the-newest-plugins/linux/vst-plugins/query-reverb/best-match

Veracrypt

Download the deb from https://www.veracrypt.fr/en/Downloads.html and gdebi install it.

Don't install because you can get appImages

  • KdenLive (some versions work on some OSs/versions, can't say more specific)
  • Blender
  • Arduino IDE
  • Tenacity (Audacity fork but FOSS)

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.

Secondary things to do:

  • 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 ไทย
  • test if a printer works. Plug it in. Then open Print Settings and +Add a printer and go to Network and it's usually in there and will print a testpage, but further troubleshooting is in the old Kali install page on this site.

How to use clamAV https://www.youtube.com/watch?v=NXsOoXiFP1E you can schedule


.

.

.

.

.

.

TTTThis

VMs on Linux (VirtualBox and QEMU) in 2024

QEMU would be better, because it's FOSS (VirtualBox is very not FOSS), but it has limitations).

Limitations of QEMU:

  • hard to install OSs on VMs because you have to know what 'system' to select? For Kali22.3 do I use genericUbuntu22? or do I use Debian11?
  • Drag and drop LinuxHost to LinuxGuest works immediately, but G>H won't work at all (there's no setting to make it work, you would have to do some unknown tech thing to make it work maybe)
  • Shared folders LHost/LGuest can be set up, and so can LHost/W7Guest it seems though something called Spice, but you have to figure that out
  • Screen doesn't resize very nicely. It seems to always have the same aspect ratio, so you can only control the width

So if you want to run Ableton on a Win7 VM, you won't be able to exchange files without that Spice thing. And you can't easily exchange files (or maybe it's easy once you figure it out) with LinuxVMs.

So VirtualBox often doesn't work right away on whatever Machine/OS you're installing it on (occasionally it does though). It gives that error when you try to launch a VM. vboxmodprobe. This has many solutions given over the years that worked for various people on their machine/OS at the time, but none are THE solution that will work on your computer.

So you have to try lots of things to make VirtualBox run on your computer (by run I mean launch a VM without that error).


INSTALL OF VIRTUALBOX in 2024

(Remember when cloning a VM, generate a new mac)

on the X1 in 2024 I tried to install the jammy version from the VirtualBox website (after trying many Terminal attempts, which may have been just as good if I had proceeded to the commands below to modify things. You can possibly just do sudo apt-get install virtualbox-dkms),

But got the gDebi error: Dependency is not satisfyable: libvpx7 (> =1.10.0)

... So downloaded an ('insecure') package from ubuntu from:

https://packages.ubuntu.com/jammy/amd64/libvpx7/download

... then gDebi installed the jammy deb file from https://www.virtualbox.org/wiki/Linux_Downloads.

But then got the old modprobe error when I tried to launch a VM.

Things you can try to get it to work:

sudo /etc/init.d/vboxdrv setup

sudo dpkg-reconfigure virtualbox-dkms

sudo apt-get dist-upgrade

(initramfs) fsck /dev/sda1 -y

(the -y means you won't have to type y a hundred times.)

... or ... /sdaX

(this one worked last time on x1 carbon 11thgen kali 22.3:)

sudo apt install --reinstall linux-headers-$(uname -r) virtualbox-dkms dkms

... then

sudo modprobe vboxdrv

(...But I had already installed virtualbox with the deb file from virtualboxwebsite, then sudo apt-install virtualbox-dkms, and also did many updates/dist-upgrade, and that dpkg-reconfigure. So not sure if these were necessary. Maybe next time just try sudo apt install virtualbox virtualbox-dkms then this above set of commands and might work.

A link if you're troubleshooting. There are many. ... Some of the troubleshooting pages you will find talk about (finding and then) modifying a directory with .config/VirtualBox/VirtualBox.xml and .xml-prev, but if you edit these, or delete one and rename the other, when you restart a VM it will just reset them anyway. Rebooting doesn't affect this.

https://askubuntu.com/questions/217972/virtualbox-does-not-run-ns-error-failure

A common error message (at the side of the program):

The virtual machine 'YourMachineName' has terminated unexpectedly during startup with exit code 1 (0x1).
Result Code:
NS_ERROR_FAILURE (0X80004005)
...
Kernel driver not installed (rc=-1908)

And the pop up dialogue:


The VirtualBox Linux kernel driver is either not loaded or not set up correctly. Please try setting it up again by executing

'/sbin/vboxconfig'

as root.

If your system has EFI Secure Boot enabled you may also need to sign the kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load them. Please see your Linux system's documentation for more information.

where: suplibOsInit what: 3 VERR_VM_DRIVER_NOT_INSTALLED (-1908) - The support driver is not installed. On linux, open returned ENOENT. 

.

QEMU

(Note Kemu didn't want to install Kali22.3 on a new VM, maybe I didn't pick the right system options like generic22.3 or debian11? so I used a download from Kali for Qemu, and it works.

https://www.makeuseof.com/how-to-install-qemu-ubuntu-set-up-virtual-machine/

apt get install qemu-system

apt-get install virt-manager

(it's called virtual-machine-manager in your GUI menu)

Qemu/virt-manager shared folders Linux>Linux

https://www.debugpoint.com/share-folder-virt-manager/

Shared folders Linux>Windows7

https://askubuntu.com/questions/1495060/how-do-i-share-a-folder-between-ubuntu-22-04-client-and-windows-7-guest-usin

Another set of install instructions?

https://www.youtube.com/watch?v=vyLNpPY-Je0

Tutorial for Ubuntu-style machines. There's another video I noticed for Manjaro.

slcpu | grep Virtualization

to check you have virtualization running on the computer

sudo apt-get update

sudo apt install qemu-kvm &&
sudo apt install libvirt-daemon-system libvirt-clients
sudo adduser $USER kvm 

reboot

(now it you type ‘groups’ you'll see the groups the user belongs to, now includes kvm and libvirt)

sudo apt install virt-manager 

(now you can open it from the start menu)

TTTThis

Shipping rates

Canada post shipping rates

https://www.canadapost-postescanada.ca/cpc/en/tools/find-a-rate.page

A book, small 20-30$

A book, large 18-30$

10lbs, $50

TTTThis

Bulk convert mp3s to wavs using ffmpeg (foss)

Put all the mp3s in a folder and open Terminal in that folder and do:

for f in *.mp3; do ffmpeg -i "$f" "$(basename $f).wav"; done

However, this will produce filenames like originalName.mp3.wav. This will cause errors on SD cards, and you might have to reformat the SDcard (it will lock all the files and folders as 'read only'.)

TTTThis