Clock Override suddenly only somewhat works (but it’s really not about that)
I use Clock Override to customize the date and time format displayed in the top bar in GNOME Shell. Recently, after a couple of bad logins (Gnome crashing), it suddenly only reacted to the %S modifier...
View ArticleNotes as I go: my attempt to develop a Home Assistant integration, part 1
Set up Development Environment says the “easiest way to get started with development is to use Visual Studio Code with devcontainers”, but I dislike both those things, so I go with Manual Environment...
View ArticleNotes as I go: my attempt to develop a Home Assistant integration, part 2
The documentation keeps referring to “my API”, but leaves everything about it up to imagination. How should I name the file? What code should I put there, and what should I not? The MyEvent example,...
View ArticleHow I made tty1 a live display for (Systemd’s) journal (in Ubuntu 20.04)
Run systemctl edit getty@tty1.service In the override file, enter [Service] ExecStart= ExecStart=-/bin/journalctl -b -ef StandardInput=tty StandardOutput=tty To see it right away (without reboot), run...
View ArticleNotes as I go: my attempt to develop a Home Assistant integration, part 3
One thing that was confusing to me from the start was the seemingly overlapping functionality in __init__.py and config_flow.py, but I think I figured it out: async_step_*() in config_flow.py is for...
View Article“Copy” disabled in Firefox’s context menu
Just a note for myself about this: Bug 1863246: Copy and Paste context menu entries are sometimes disabled when they should not be And a workaround lower down, from lexlexlex: “I noticed that an easy...
View ArticleKuinka kalibroin vanhan Android-tabletin akun varausilmaisimen
XDA-foorumin anandmoren ohjeen mukaisesti: Irrotin laitteen laturista. Käytin laitetta niin kauan, että se sammui itsestään akun varauksen loputtua. Ensimmäisellä syklillä tämä tapahtui...
View ArticleCrossgrading Ubuntu 18.04 to Debian 10
After upgrading all Ubuntu 18.04 packages to their latest releases, I adapted eudoxos‘ recipe: Rebooted and selected the stock 18.04 kernel instead of HWE, which I was using Downloaded debian-keyring...
View ArticleHow to have Mutt thread together messages with the same subject, even without...
Mutt settings are mostly inscrutable to me, so I’ll just dump the ones I found (through trial and error) that do what I want below. Besides having these: set sort=threads set sort_browser=reverse-date...
View ArticleHow to have email status from ~/Maildir under motd (Ubuntu 24.04)
I recently set up my local mail to go into ~/Maildir. But when logging in on a console, the mail notification under motd still seemed to assume my mail being somewhere else (under /var/mail maybe), as...
View Article