ads' corner

Read QR-Codes on the Linux Commandline

I have a QR-Code as image, and want to know what the QR-Code shows, or to which website it points to.

KeePassXC, BleachBit and a vanishing configuration file

KeePassXC is placing it's configuration in a cache directory, and this config gets wiped when cleaning temp files.

Clear Docker build cache

Docker keeps all built images in a cache, which grows over time. Removing the build layers is not obvious, there is no specific Docker 'cache' command.

Remove files from a restic backup (using resticprofile)

Sometimes files end up in a backup where they don't belong. It happens. While I'm a big advocate of having backups, sometimes entries need to be removed from a backup. This is easy to do in Restic, using resticprofile.

Arch Linux: mount: unknown filesystem type 'exfat'

A short while ago I moved a couple of laptops from Ubuntu to Manjaro. It's all going well, except today the kid came to me and told me: 'Can't open the SDcard from my camera. It's not working.' Don't you like it when all you get is 'it doesn't work'? Usually such a message by itself is not helpful, but in this case that was all he was able to tell me. Checked and indeed, when the card reader is attached, KDE pops up a notification, and the 'mount and open' option does nothing when clicked on the drive.

Can't login into Spotify on Arch Linux or Manjaro: no browser window is opened

Installed the AUR Spotify client on my new Manjaro Linux system, started the app, tried to login - nothing happens. It is supposed to open a browser window where I enter my credentials, but that does not work.

Samba: guest login not working for public shares

Our laptops all have a semi-public Samba share which allows us to share files with each other. After upgrading the laptops from Ubuntu to Manjaro, this stopped working. Was no longer able to connect to the share as anonymous user.

badblocks: Value too large for defined data type invalid end block (4394573824): must be 32-bit value

Bought a new large external disk as data sink for my server at home. The disk is 18TB and after the previous purchase had a hardware problem I wanted to make sure that this one is working. Created a partition, formatted it with ext4 and let's run a badblocks check on it. That failed, badblocks can't handle Big Data.

How to determine the mount point for a device on Linux

While reinstalling a server and moving it to Debian, I ran into the problem that I need to sync the EFI partitions. The system is using a RAID on two disks, but the EFI partitions can't be a RAID and need to exist on both disks. Or rather it is useful to have the EFI partition on every disk: if one disk fails, the system can boot from the other disk. grub only installs the necessary files on one partition. However one can use a script as grub hook, and sync all partitions. This script needs to determine if a device is already mounted somewhere, or needs to be mounted. Turns out there is a little and not well-known tool for this.

Install Debian Bookworm on a Software RAID and EFI

Moving my systems away from Ubuntu, I also have to reinstall a server at home. This system has two equal disks for a RAID system, and my plan is to install Debian on it. Turns out, setting up a Software RAID on Debian and booting from EFI is not a straightforward approach. This blog posting describes the steps.