Recommended read: Fix the unit test and open a giant hole everywhere http://rachelbythebay.com/w/2021/12/24/mkdir/
Getting the Battery Status of a Bluetooth Device on Linux (1 mins read).
How to use
dbus-send to retrieve the percentage of battery left on a Bluetooth device on Linux.
How I'm using systemd-tmpfiles to manage a temporary working directory and automagically clean it out.
Recommended read: What desktop Linux needs to succeed in the mainstream https://drewdevault.com/2021/12/05/What-desktop-Linux-needs.html
Controlling the Linux Backlight via the Command-Line (1 mins read).
How to manage your screen backlight on the command-line, without installing any tools.
Recommended read: The modern packager’s security nightmare – Michał Górny https://blogs.gentoo.org/mgorny/2021/02/19/the-modern-packagers-security-nightmare/
Recommended read: Boot drops to a (initramfs) prompts/busybox - Ask Ubuntu https://askubuntu.com/questions/137655/boot-drops-to-a-initramfs-prompts-busybox#817660
Recommended read: Is `sudo` almost useless? - Information Security Stack Exchange https://security.stackexchange.com/questions/232924/is-sudo-almost-useless
Determining What Motherboard You're Using, On Linux (1 mins read).
How to determine what motherboard the machine you're using is reporting, on the command-line with Linux.
I recently asked if anyone I knew had one of the new models but got no responses (via my blog, or Twitter).
I've got an XPS 13 9343 and love it - largely form factor, but also the 3K screen - and have been wondering about upgrading recently, in part due to USB-C and fingerprint sensor, not for any other reason.
According to the Arch Wiki entry for the new XPS it's mostly alright, but doesn't seem to have fingerprint support.
May be that it needs to get upstreamed by the folks at Ubuntu.
In case it's a point of interest, the highest-end one has a 4K screen (RRP £1768.00)
I'd say go for the slightly newer one, with the caveat that if you stick with the Ubuntu build it comes with, it'll probably be alright, but if you want to re-install/install a different OS, it'll likely not work as well, and may require a more up-to-date kernel - as I decided to use Arch at the time it meant I always had the latest kernels, so as they added support for the drivers upstream, I was getting them pretty quickly, whereas friends with non-cutting edge kernels didn't have as much luck.
I really do recommend Dell for the XPS based on my existing one, and would be very interested to see how you get on with it, if you do get it, so it can inform my decision to buy one while I'm in quarantine and don't need my laptop to be as functional as I would if I were travelling.
Being a Bad POSIX Citizen (2 mins read).
Owning up to using GNU coreutils, even on BSDs, because I'm lazy.
Recommended read: Developers shouldn't distribute their own software https://drewdevault.com/2019/12/09/Developers-shouldnt-distribute.html