NetBSD: DNSCrypt Proxy Running on the RaspberryPI

24 Mar, 2020 - 1 minutes
These are my notes from cross compiling dnscrypt-proxy on NetBSD for a raspberry pi. It was surprisingly quick and easy. I did this a while back, but I found the notes today. # wget/git clone the dnscrypt source. # Build on normal machine. env GOOS=netbsd GOARCH=arm GOARM=5 go build -mod vendor -ldflags="-s -w" # copy to pi scp dnscrypt-proxy pi:. # create a configuration file <create config> # [optional - this will need to be done once and for a fresh install of NetBSD] PKG_PATH="http://cdn.

dmenu and Firefox Profiles

24 Mar, 2020 - 1 minutes
I use a few firefox profiles and since there is not a quick and easy profile switcher/loader addon, I’ve taken to using dmenu/roif to start firefox in the right profile. It will look like this: This desktop entry will run firefox with the profile called ‘work’. $HOME.local/share/applications/firefox-work.desktop #!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Name=Firefox Work Type=Application GenericName=Firefox Work Profile Comment=Firefox but work profile Exec=firefox -P work Icon=firefox Terminal=false Type=Application Categories=Network;WebBrowser; Keywords=web;browser;internet; The important line is:

Remove Microsoft Teams RPM

23 Mar, 2020 - 1 minutes
Accidentally installed Microsoft teams and want to remove it? sudo rpm -e teamd libteam --nodeps Don’t use dnf remove teamd as it will take a load of other things unrelated. Some other tips: rpm -qa | grep team This lists all packages installed. I couldn’t find the name of teams after I installed it from .rpm file.

Fedora and TeX: Initial Setup with Overleaf and Git

20 Mar, 2020 - 3 minutes
This is a very quick introduction to getting started with fedora and TeX. It will cover initial installation packages, simple TeX to PDF creation, and git integration with Overleaf, an online TeX platform. Base TeX Much of my work involves working with lots of TeX, so I’m going to install all the packages I might ever need. Now that’s all 1.8GB of it. You can find out about other options and what it means here.

Sway Fedora 32

20 Mar, 2020 - 1 minutes
For a while now sway and all the needed programs have been included in the fedora reposititories. Here is what I installed: sudo dnf install sway swayidle swaylock This will get you all you need for basic sway. sudo dnf install waybar rofi This gives you a fancy status bar waybar, and dmenu replacement called rofi. sudo dnf install pass passmenu wl-clipboard This installs all we need for pass to work via rofi.

Evince GTKRecentManager Assertion Failed

16 Jan, 2020 - 1 minutes
When I run evince, nothing! Running it via the command line gave me some more insight: ~ > evince ** Gtk:ERROR:../../../../gtk/gtkrecentmanager.c:1999:get_icon_fallback: assertion failed: (retval != NULL) Aborted (core dumped) Appears something is messed up, probably with my GTK setup. Oh dear! The key part I noticed was gtk/gtkrecentmanager.c, which seems to be talking about “GTK Recent Manager”. So I cleared my current list of recent files. mv $HOME/.local/share/recently-used.xbel{,-bk} Fixed.

Getty: One Less Word

16 Jan, 2020 - 1 minutes
Logging into a Linux machine you might meet a thing called virtual terminals (vtty). Without going to into too much detail, this is a CLI prompt that lets you type commands when you don’t have a GUI running. Now, back on track. When you login to a machine via the CLI, agetty is used. The provides you with a tty, and a login prompt. You might want to have it auto complete your username, because you’re lazy.

CLI Email of the Future: Office 365 and QUB

15 Jan, 2020 - 3 minutes
This is a quick record of the steps taken to setup a local email copy, index, and reading. A list of software used is below, some are optional. GetMail : Mail Retriever notmuch : Local Mail Indexer alot : Mail User Agent (MUA) w3m* : a text based web browser and pager pass* : The unix password manager Daemontools* : Process supervision toolkit * Optional. Debian/Ubuntu All the software should be available via apt.

Static IP Address For Arch ARM (Raspberry Pi)

8 Dec, 2019 - 1 minutes
This is a quick guide to set a static IP address on an Arch install for the Raspberry PI. These steps are not specific to the PI version. So feel free to use them for anything that uses SystemD and NetworkManager. Steps Update currently installed software then install NetworkManager 1 2 pacman -Syu pacman -S networkmanager Enable and start the service: systemctrl enable NetworkManager systemctl start NetworkManager Check that it is working.

Pigeons and Gifs

9 Oct, 2019 - 1 minutes
I guess at some point in time (Maybe 2008 2010, or 2012) the nation pigeon banner faded into obscurity. And remained only a fragment of lost memory up until the other day. See, I’d recently reunited with someone from that time period, and in his classic fashion, asked me about the bobin’ pigeon banner I once had. Shock horror! Good point. I’d better remedy this.