How to mount a QCOW2 file.
jc is the JSONifier which makes lots of standard Unix commands output into structured JSON data.
After testing firejail and bubblewrap and making a zsh completion script for firejail, and playing with bubblewrap a bit more, I added a zsh completion script for bwrap too! It’s certainly much, much easier the 2nd time.
Tested between my home machine and my server-on-the-Internet, and…it just worked once I stopped using my usual Debian 10 server and “upgraded” to Ubuntu 20.04. Really good description is here. Significantly easier to configure compared to SoftEther which is what I used before. SoftEther can do much more though, but if all you want isContinue reading “Wireguard VPN”
My NAS is a Synology DS212 and it can do https. But to make it use my own CA’s certificate, a bit extra work is needed: Add my own root CA’s Certificate Use our own TLS Certificate Create certificate DSM → Control Panel → Security → Certificate → Add. Then Configure and use the newContinue reading “HTTPS on Synology’s DSM”
CGroups V2 is not enabled by default on Debian, but it can be enabled easily: To find out which cgroups version you use, this is v1: and this is v2:
Konsole hides the mouse cursor when typing. This is generally good. But this is Konsole’s behavior and not a general one. I don’t generally want the mouse cursor when typing. So how to remove it? Help comes from an old utility: xbanish. Clone the repo, and assuming you got the needed items to compile, 0.2sContinue reading “Hiding the Mouse Cursor in X”
When using k3s and the built-in local persistent storage provider, once in a while you have to edit those files. While that usually works, sometimes you have to replace a 150kB binary file and when containers usually don’t have scp installed, there’s a problem… The fix is to modify the storage from outside the container.Continue reading “k3s – local persistent storage”
My Linux machine keeps on waking up someone moves the mouse. Or kicks the table. While it’ll go back to sleep eventually, I’d rather not have it awake unless I want to use it. Disabling mouse events to wake up your computer is surprisingly simple. The thing to know is /proc/acpi/wakeup: XHCx is the USBContinue reading “Disabling Waking up Computer via Mouse”
Crosh, the Crostini shell, uses CSS to render the terminal. Gives you nice capabilities, but it’s also not compatible how normal Linux is configured. Zsh and in particular the PowerLevel10k theme uses Unicode characters quite a bit. So step 1 is using a font which works: Open the crosh terminal Control-Shift-P In the Text FontContinue reading “Crosh and Web Fonts”