k3s – local persistent storage

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”

Disabling Waking up Computer via Mouse

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”

Kubuntu 20.04 and Japanese Input

Enabling Japanese Input Method is always something which takes me more time that it should. Here the short version: Install ibus-mozc: apt install ibus-mozc Run im-config (it’s interactive) Log out and back in (all this is only active after re-login). For good measure re-start your X server (Ctrl-Alt-Backspace if enabled). You should now have theContinue reading “Kubuntu 20.04 and Japanese Input”

Fixing DNS Resolver on Kubuntu

systemd is nice in principle, but it does not always improve things. E.g. why does it need a DNS resolver? Fix #1 This will get rid of the initial DNS name not resolvable error I see sometimes: Change /etc/nsswitch.conf and remove in the hosts line the “[NOTFOUND=return]” Fix #2 This removes the local DNS proxy/cache:Continue reading “Fixing DNS Resolver on Kubuntu”

Create your website at WordPress.com
Get started