Linux
Void Linux distribution and general Linux stuff.
XBPS Packages
I have hosted packages under https://voidlinux.jpastuszek.net. Usage /etc/xbps.d/jpastuszek.c...
OS Setup
Swap file On Btrfs: btrfs subvolume create /.swap truncate -s 0 /.swap/swapfile chattr +C /.s...
PKI
Setup Put openssl.conf: openssl.conf distinguished_name = $ENV::DN x509_extensions = $...
i3blocks
Requires font-awesome (4) and font-awesome5 OR font-awesome6 OR all of them installed. /etc/i3bl...
PipeWire
Tools pw-record & pw-play - capture and play sound qpwgraph - visual tool for making links be...
Mount image files with loop dev
Mounting file systems from loop device: losetup -f <path to .img file> dmesg | tail -n 1 # see ...
Copying and imaging disk drives
Copy image to disk with Disk Destroyer dmesg -w # and plug in your drive; see dev name that was ...
BBS
Monitoring
Tools Network nload - interface traffic graphs bwm-ng - interface traffic stats (no graph) ...
Rsync
Copy content preserving attributes of /foo to /bar: rsync -aXHA --info=progress2 --stats /foo/ /...
LUKS encryption
Set up new encrypted volume Format cryptsetup luksFormat --type luks2 /dev/<dev> cryptsetup lu...
Git
Default config [user] email = hxd@hexadust.net name = Hexa Dust signingkey = FF16E5FDA4287...
Replacing Switch SD card
Migration to bigger SD card No tool under Linux can extend ExFAT filesystem. Files have to be co...
Nvidia GeForce RTX 3050
TL;DR: Utter piece of hot garbage - literally. Don't buy yesterday, today or ever. Linus was righ...
Expanding parititions
Backup partition table fdixk -x /dev/<dev> sfdisk -d /dev/<dev> > partition.dump Shrinking EXT...