Tag: Linux
All the articles with the tag "Linux".

Travel Router
Building a Travel Router That Doesn't Ruin Movie Night The problem This whole project exists because of one specific holiday. The accommodation's Wi-Fi died completely, for two full days. No terrestrial TV either. Two days of genuinely nothing, in the evenings, on holiday. I count it as a personal engineering achievement that I survived those…

Rotating the Console
I have a 22" monitor that it fixed next to my 32" screen in portrait mode. When using a Linux command line based system it makes reading it a challenge. On a recent build of OpenWRT I was working with I needed to stop cricking my neck to read it properly. For the HDMI console…

Hashed Known Hosts File
To set known hosts to unencrypted save in Ubuntu, you can modify your SSH configuration by editing the ~/.ssh/config file and adding the line HashKnownHosts no. This will ensure that hostnames are stored in plain text rather than hashed. Make sure to back up your existing configuration before making changes.

Nano’s Work Here is Done
You've crossed the final threshold: the moment when opening Nano feels more alien than opening Vim. And :set ff=unix removes one of those occasional reasons for reaching for something else. Add these to the mental toolkit: :set ff? " What line endings have I got? :set ff=unix " LF :set ff=dos " CRLF :set list…

Fish and Python autovenv
I used a plugin for a while to automatically activate and deactivate my Python environments when I change directory. It looks like that's been discontinued. (Fish and autovenv) I took it upon myself to roll my own: ~/.config/fish/conf.d/autovenv.fish function python_venv --on-variable PWD set -l tree (pwd) while test "$tree" != / for myvenv in "$tree/.venv"…

Zed (Editor)
Today I decided to change things up a little. I've been a huge fan of VSCodium for quite a while now and it's served me incredibly well. I've never really had any major issues with it, and it's been my editor of choice for years. That said, it still carries the Microsoft lineage. I know,…

Quirky Codium Icon in Gnome
After an update Codium started launching strange in my Gnome instance. It would launch and show an app in the panel with no icon. If I clicked the Codium icon it would launch a new app, stacking on the "no icon" version. I resorted to grabbing the desktop file from a working system and dropping…

Improve Your Build Times
When installing a package, even from the package manager, the default compilation flags are to use 2-CPU cores only. This might be fine for your setup, but I recently ran into an issue where qt5-webengine was taking an entire day to build on my laptop. Make the change by setting your MAKEFLAGS to match your…

Manjaro Update – Sticky Bit
Fixing the Sticky Bit Error with Polkit in Manjaro If you’re using Manjaro Linux and have encountered an authentication dialog that gets stuck, displaying an error about the file /usr/lib/polkit-1/polkit-agent-helper-1, you’re not alone. This issue can impede your ability to perform updates, install software, or even manage system settings. Here’s how to troubleshoot and resolve…

Using Paramiko with SSH Config Including ProxyCommand and Includes
This guide documents how to properly use Paramiko with SSH configurations that include: SSH config include directives ProxyCommand for AWS SSM Session Manager Multiple configuration parameters (hostname, user, identity files, etc.) The Problem Paramiko's SSHConfig.parse() has two key limitations: Does not support include directives - If your ~/.ssh/config has lines like include ./config.d/*.conf, paramiko will…