Oh, I see. You fixed that one in 1.2. That wasn’t there yet when I commented. :)
Yeah, works great now!
Cute! 😀
It mostly works. I think line 103 should maybe be:
os.remove(os.path.join(cdata, "teat.txt"))
So, “teat.txt” instead of “eat.txt”. I think this prevents the cat from ever getting happy since that line causes an error and it never reaches image.set_from_file(os.path.join(current_dir, "data/happy.png"))
which is very sad!
Actually, you may just want to catch the error if the file happens to not exist. Like this:
try:
os.remove(os.path.join(cdata, "teat.txt"))
except FileNotFoundError:
pass
I just use the built-in email function that comes with mdadm. If a drive fails, I’ll know right away and replace it with a spare. You do need your server to be able to send emails with something like postfix.
If you have hardware RAID, there’s often a monitoring tool that comes with it or at the very least a command-line utility that can report the RAID state which you can then use in a script.
Additionally, the GUI in KDE plasma in System Settings is not entirely reliable. It sometimes makes stuff up about IPv6 rules for example. It seems to be a very light-weight wrapper over the FirewallD DBUS interface.
It’s in the announcement for Plasma 6.1, see https://kde.org/announcements/plasma/6/6.1.0/
To enable it, you need to use the Brightness & Colour widget. See also the merge request for this: https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/4093
I guess the documentation is a bit lagging still! I don’t know about a list of compatible keyboards, but I suppose you can just try it out to see if it works! 😁
I managed to fit an entire Matrix Synapse server on one of those. It works surprisingly well! You will need a domain for it though.
Yes, but you have to enable the checkbox “Increase maximum volume” in the audio widget on the taskbar panel.
Yes, that’s what I use to using
apt-mirror
. It also works great for any other apt repo.