installing a persistent Void Linux onto a USB device. Also I talked about how to run a qemu/KVM virtual machine.
The 6 steps that we discussed here:
`1. Download the void live image
2. Checking support for KVM
3. Install qemu (and OVMF)
4. Boot to the live image and install void linux, using the void-installer
Use another usb ❌
Perform a rootfs/tarball install from a running linux system ❓
Use a virtual machine ✅
5. Boot to the usb stick, reconfigure your initramfs through dracut and reinstall and reconfigure the bootloader
6. Post installation`
And the commands that i used In this video:
```bash
$ LC_ALL=C lscpu | grep Virtualization # Checking hardware support for KVM
$ lsmod | grep kvm # To ensure that the kernel modules are automatically loaded\
$ lsusb # Find the vendor ID and product ID of your USB flash (thumb) drive
$ qemu-system-x86_64 --enable-kvm -cpu host -M q35 -smp cores=2,threads=2 -m 4G -cdrom PATH/TO/void-live-?.iso -boot order=d -usb -device usb-host,vendorid=0x????,productid=0x???? -bios /usr/share/ovmf/x64/OVMF_CODE.fd # Run qemu
```
[Arch wiki page for KVM](https://wiki.archlinux.org/index.php/KVM)
[Void wiki page](https://wiki.voidlinux.org/Install_Void_Linux_onto_a_USB_Stick)
[Post installation](https://wiki.voidlinux.org/Post_Installation)
A few days ago I watched a video on @DistroTube channel about how to apply patches on suckless dmenu tool. I think there is a much better way to do that, so I decided to share my way with you.
Git is a very powerful tool for this task and applying the patches with git is easier and more patches will automatically apply.
[Referred Video from DistroTube](https://lbry.tv/@DistroTube:2/let-s-rice-our-dmenu-with-patching:2)
I had some issues connecting to my [Pinephone](https://www.pine64.org/pinephone/) which is running [Postmarketos](https://www.postmarketos.org). There is a guide on [Postmarketos wiki](https://wiki.postmarketos.org/wiki/VNC). You should install [wayvnc](https://github.com/any1/wayvnc) and `postmarketos-config-nftables-vncserver` on your Pinephone and despite it's been written in the wiki that "If using port 5900, it's as simple as installing [postmarketos-config-nftables-vncserverPMOS](http://pkgs.postmarketos.org/packages?name=postmarketos-config-nftables-vncserver) and restarting nftables", it didn't work for me until I added this rule to nftables: `nft add rule inet filter input iifname wlan0 tcp dport 5900 accept comment "Accept custom port over wifi"`
music: [Andante cantabile by Dee Yan-Key](https://freemusicarchive.org/music/Dee_Yan-Key/divertimento-of-nature/andante-cantabile/)
[McFly](https://github.com/cantino/mcfly) replaces your default `ctrl-r` shell history search with an intelligent search engine that takes into account your working directory and the context of recently executed commands. McFly's suggestions are prioritized in real time with a small neural network.
aria2 is a command line download manager. It's my favorite foss download manager on linux. Now I use it on Android in termux. It's a great full featured, open source and AdFree alternative for ADM and other proprietary apps.
There are other foss options for android phones:
[free download manager app](https://play.google.com/store/apps/details?id=org.freedownloadmanager.fdm)
[Download navi app](https://f-droid.org/app/com.tachibana.downloader)
In GNU/Linux operating system you can use Persepolis. Persepolis is a Download Manager & a GUI For aria2. It's written in Python.
[The github repository of aria2](https://github.com/aria2/aria2)
[Persepolis download manager](https://persepolisdm.github.io/)
installing a persistent Void Linux onto a USB device. Also I talked about how to run a qemu/KVM virtual machine.
The 6 steps that we discussed here:
. Download the void live image
. Checking support for KVM
. Install qemu (and OVMF)
. Boot to the live image and install void linux, using the void-installer
Use another usb ❌
Perform a rootfs/tarball install from a running linux system ❓
Use a virtual machine ✅
. Boot to the usb stick, reconfigure your initramfs through dracut and reinstall and reconfigure the bootloader
. Post installation`
And the commands that i used In this video:
```bash
$ LC_ALL=C lscpu | grep Virtualization # Checking hardware support for KVM
$ lsmod | grep kvm # To ensure that the kernel modules are automatically loaded\
$ lsusb # Find the vendor ID and product ID of your USB flash (thumb) drive
$ qemu-system-x86_64 --enable-kvm -cpu host -M q35 -smp cores=2,threads=2 -m 4G -cdrom PATH/TO/void-live-?.iso -boot order=d -usb -device usb-host,vendorid=0x????,productid=0x???? -bios /usr/share/ovmf/x64/OVMF_CODE.fd # Run qemu
```
[Arch wiki page for KVM](https://wiki.archlinux.org/index.php/KVM)
[Void wiki page](https://wiki.voidlinux.org/Install_Void_Linux_onto_a_USB_Stick)
[Post installation](https://wiki.voidlinux.org/Post_Installation)
Using [bat](https://github.com/sharkdp/bat) fore code preview in [VIFM](https://vifm.info/) on [PinePhone](https://pine64.com/product-category/pinephone/).
VIFM has been my file manager on all my systems for almost four years and everytime I try another terminal based file manager I just love it more. The two vertical pane on normal monitor is great but on phone I use it with single pane most of the time and with horizontal split when it's needed.