Category: ubuntu
-
Upgrading to Ubuntu Jellyfish 22.04
As of yesterday, April 21st, Ubuntu 22.04 Jammy Jellyfish is available for download and upgrade. If you are trying to install from the Software Updater from an earlier version of Ubuntu (I only use LTS ones, for example, and was on 20.04) you won’t be able to install it from the GUI (it will only […]
-
How to Make Verified GitHub Commits
Created by M. Massenzio, 2021-12-24 GitHub has a set of detailed instructions, however, if you know your way around a Linux shell and basic understanding of how keys work, this is a condensed TL;DR version. Also, with minimal effort it could be automated in a shell script (even uploading the key to GitHub via API). […]
-
Reorder Workspaces in Ubuntu
By holding the “Windows” key on a Microsoft keyboard, in Ubuntu, you get a MacOS-like view where you can move apps across workspaces; this is a super-useful features (and complements well the Shift-Alt-Up/Down combination to move windows across workspaces), however it does miss the ability to also move workspaces around. There is an excellent extension […]
-
Ubuntu: adjust mouse scroll wheel sensitivity
Honestly, it should be easier – then again, it’s Gnome, nothing really is easy. Collecting a combination of various pages (this one finally yielded the right directions) it turns out one has to install imwheel and then adjust the ~/.imwheelrc file: The magic incantation is in the first couple of lines and the value (3 […]
-
Ubuntu: Disable mouse wake from suspend
One of the most annoying “features” of Ubuntu is that it will wake from suspend on mouse move, even if waking up your system was the last thing you wanted; in fact, it will wake from suspend, a second after you put it to sleep, if your touch is less than feather-like in releasing the […]
-
Running a Bash script forever
It is somewhat desirable to have a Bash script run forever; typical use case is for a long-running Docker container that backgrounds the service, and the startup script (e.g., invoked via the ENTRYPOINT command) needs to be kept alive (terminating the script would result in the process known-as “the container” to terminate too). I have […]
-
Using `notify-send` and `yagmail` to send an alert if /boot partition is about to run out of space
Sometimes, you need to send both a visual and email alert for something that is checked using a background process (for example, running a `crontab` job): `notify-send` and `yagmail` provide a more user-friendly alternative on Ubuntu Linux desktop than scraping logs.
-
filecrypt – OpenSSL file encryption
overview Uses OpenSSL library to encrypt a file using a private/public key pair and a one-time secret. A full description of the process can be found here. configuration This uses a YAML file to describe the configuration; by default it assumes it is in /etc/filecrypt/conf.yml but its location can be specified using the -f flag. […]
-
HOW-TO Encrypt an archive file
Private/Public keypair Create the private key (one-off): openssl genrsa -out ~/.ssh/key.pem 2048 chmod 400 ~/.ssh/key.pem then extract the public key from it: openssl rsa -in ~/.ssh/key.pem -out ~/.ssh/key.pub -outform PEM -pubout NOTE The whole mechanism revolves around keeping the secret key key.pem, well, secret. This is the only critical part of the scheme. Everything else, […]