I'm just dumping this here for now; maybe some day a bit of commentary might follow. I needed a quick, easy and (hopefully) secure way to spin up an SFTP server. Since I don't want to get into complex configuration, a Docker container seems a safe choice as it isolates the SFTP server from the … Continue reading Run an SFTP server in a container
Category: linux
Toggling keyboard languages in Ubuntu 24.04 with Alt + Shift
Windows introduced [citation missing] the Alt + Left Shift key combination for switching between keyboard languages and ever since I tried to configure that combination for every setup I've worked with. Ubuntu, unfortunately, made it harder and harder over time to do that. User Raffa on askubuntu has the solution [KL]: Open a terminal and … Continue reading Toggling keyboard languages in Ubuntu 24.04 with Alt + Shift
Linux tar –blocking-factor
I wasn't aware of tar's --blocking-factor parameter: -b, --blocking-factor=BLOCKS Set record size to BLOCKSx512 bytes. This actually reduces CPU load and backup creation times measurably. Figures for backing up 7GB on my home NAS: Setting Seconds Setting Minutes.Secods------------------------------default 1.18 512 1.071024 1.052048 1.08 The fastest setting (1024) is 11% faster than the slowest (default).
Elgato Camlink and Linux
An Elgato Camlink 4K wouldn't work under Ubuntu 22.04. It would show up with lsusb, but Cheese wouldn't list it as a device and OBS studio would show it as a disabled device. A little stream conversion magic [RED] #!/usr/bin/env bash # You need to run # sudo apt install v4l2loopback-utils v4l2loopback-dkms # once and … Continue reading Elgato Camlink and Linux
Removing unused snap packages
I think that Ubuntu 22.04 doesn't remove old snap packages when they become unused because on my system this command: snap list --all shows a long, long list of packages. User chipaca found an elegant solution [sh]: LANG=C snap list --all | while read snapname ver rev trk pub notes; do if [[ $notes = … Continue reading Removing unused snap packages



