How to automatically sync screenshots from the Steamdeck to Immich

As part of my ongoing effort to reduce my dependency on US services, I just moved my photos from Google Photos to a self-hosted immich instance (which I btw can only recommend so far). You might remember from a previous TIL that I had my Steamdeck configured to push my screenshots into a custom album on Google Photos. Obviously I had to change that now as well, but sadly couldn’t use the existing rclone-based setup for it. ...

March 25, 2025 · 3 min

How to fix VirtualBox on Fedora 40 with Kernel 6.12+

I (accidentally1) did a software update on my laptop last night, and this morning when I needed my Win10 VM for something, VirtualBox threw an error like this at me: VirtualBox can’t operate in VMX root mode. Please disable the KVM kernel extension, recompile your kernel and reboot (VERR_VMX_IN_VMX_ROOT_MODE). A quick web search for “fedora update virtualbox vboxisomaker” gave me this forum post and consequently this bug report, in which I found the solution: I just had to add the kernel parameter kvm.enable_virt_at_load=0 to disable KVM - which comes enabled by default since Kernel 6.12. I accomplished that with grubby: ...

February 27, 2025 · 1 min

How to fetch additional data for a flux query from a json file

My buddy Romses is currently taking care of the Datenzwerg deployment at 38c3, and like at every event where we deploy them I’m updating our page and Grafana dashboard with the locations of the gnomes. So far the latter was always quite annoying: We have only the names of the gnomes in our influx data, and adding the location/deployment status to the graph thus meant having something like this for every single graph: ...

December 26, 2024 · 2 min

How to make transparent GIFs more easily sharable by adding a checkerboard background

I’m currently taking part in the "#hARToween" daily art challenge, as I want to work on my pixelart skills and drawing a 128x128px pixel drawing each day1 for a month seemed like a good idea. You can follow my posts in this thread. I’m using Aseprite, and recently came across the “record for aseprite” script for it that allows taking regular snapshots of what I’m currently drawing so a timelapse can be created from that. And that works nicely, but I had to realize that the timelapse would come with transparency until I came to the background during my drawing, which looked really weird when sharing the resulting GIF. ...

October 15, 2024 · 2 min

How I (hopefully) fixed the flickering of my UHKv2's left half

I’ve been a long time user of the Ultimate Hacking Keyboard (UHK). It started with acquiring version 1 in 2020 and upgrading to version 2 in 2022. The UHK is a split keyboard with two halves connected by a bridge cable. While the first version was rock solid for me, with the second one I sadly started to experience intermittent flickering of the left half, during which the left side became unresponsive. Sometimes the half would then even outright disconnect completely. Unplugging and replugging it would usually fix the issue, but was annoying. ...

August 19, 2024 · 4 min

How to check for cloud IPs in nginx

I’m currently busy mitigating a stats manipulation on OctoPrint, and one of the steps I’m taking is blocking off several cloud options from accessing the tracking endpoint - and only that. Since we are talking about several thousand of IPs here in at least 1.5k of CIDR ranges, I was looking for the best way to do that that wouldn’t cause a lot of performance impact - the tracking server needs to be fast. ...

July 1, 2024 · 2 min

How to quickly create a header modifying reverse proxy with mitmproxy

I’m currently in the process of testing some changes on OctoPrint involving its automatic user login via request headers, and for that needed to quickly set up a reverse proxy that would modify the headers of the requests going to the development server for some quick testing. Specifically, I wanted a quick CLI tool that would allow me to set up a reverse proxy listening on port 5555, forwarding to http://localhost:5000 while also setting the headers X-Remote-User to remote and X-Remote-Host to localhost:5555. ...

March 12, 2024 · 1 min

How to print Deutsche Post stamps via the command line on a Brother QL label printer

Update from 2024-01-12: I’ve updated the scripts to support both 50mm and 62mm wide labels, and added some more whitespace trimming to the basic stamp. The post has been adjusted accordingly. I recently acquired a Brother QL-820NWB label printer to be able to quickly create labels for boxes and such, and ideally also print out Deutsche Post’s “print yourself” stamps with it. The Deutsche Post stamp shop allows me to download PDFs targeting the 62mm wide endless labels for that printer, for the two types of stamps I’m interested in (stamp, and address label with stamp). But my attempts in printing those directly to the printer through Gnome’s printer integration weren’t successful, things were too small, the cutter didn’t work etc. ...

January 11, 2024 · Updated January 12, 2024 · 3 min

How to force paperless-ngx to consume signed PDFs

I use paperless-ngx to manage my documents, together with some rules that automaticaly ingest PDFs from my mail boxes. However, I noticed that a recently received invoice from AWS was not ingested as expected. Looking at the logs I found this error message for it: invoice.pdf: Error occurred while consuming document invoice.pdf: DigitalSignatureError: Input PDF has a digital signature. OCR would alter the document, invalidating the signature. I don’t know if a software update brought this refusal to run OCR on signed PDFs, or if AWS simply so long didn’t send me signed PDFs, but I needed to find a way to force paperless to ingest signed things as well as having all of that stuff stored in paperless is a vital part of my accounting workflow. ...

December 6, 2023 · 2 min

How to fix GRUB after a SteamOS update

My partner just ran into an issue after updating his SteamDeck to the latest SteamOS version (3.4.x to 3.5.7). He has a dual boot setup running using rEFInd, and while that survived the OS update just fine, when he wanted to return to SteamOS after a quick stint in Windows today, he was greeted by a GRUB boot menu. Detective foosel to the rescue. Attempting to boot the SteamOS entry in grub resulted in an error like this (with another device UUID): ...

November 25, 2023 · 2 min
Mastodon