Forwarding your GPG agent over SSH

If you keep your GPG keys on a smartcard (like a Yubikey as I do), you can use them on a remote host over SSH without ever copying a private...

Debugging Firefox's 8-second startup delay on KDE Wayland

Every time I opened Firefox, there was an awkward 8-to-10-second wait before anything appeared on screen. No splash, no window, just a spinning cursor and blind faith that something was...

How to make systemd units depend on specific hardware

Sometimes you need a systemd service to wait for a specific hardware device to be available before starting. For instance, when starting an X11 session as a service, you want...

The case of the mysterious XFS corruption: A NIC swap gone wrong

What started as a simple network card upgrade on my home server turned into quite the troubleshooting adventure. I thought I’d share this experience since it taught me some valuable...

Creating a memory-backed storage on Linux

Frequently you’ll find that tmpfs is the most convenient one. Alternatively there’s also ramfs and ramdisk. Starting with ramfs, it’s a memory FS that when mounted, it can use up...