Ubuntu gesture volume control

I don't like Windows much, but I loved Windows 11 sound volume control via three-finger touch pad gestures, so I ported that behaviour to Ubuntu 22.04. The script [TVC] listens to events from a touchpad device, detects three-finger taps and modifies the sound volume depending on the vertical scroll direction. Installation Download the script from … Continue reading Ubuntu gesture volume control →

English Windows keyboard with German umlauts

I frequently write in multiple languages and switching keyboards is cumbersome, especially when the written languages differ only by a few characters. With regard to German, I'd like a US Windows keyboard layout with German umlauts that are a bit easier accessible than the 3-stroke combination of the US international layout (which has combinations like … Continue reading English Windows keyboard with German umlauts →

Convert HTTP response body to status code with HAproxy

[update 2025.10.29] abstract, minor clarification edits. TL;DR Program HAproxy with LUA to extract information from backends and set response headers/status codes. I'm using HAproxy to load-balance HTTP between two backend nodes. HAproxy is pretty smart about doing this, backing off failing backend nodes, retrying failed requests on healthy backend nodes etc. Recently I got a … Continue reading Convert HTTP response body to status code with HAproxy →