Posts by matthewsnyder
I am trying to run a DNS server on my LAN. I set it up where: Dnsmasq is the "initial" server that clients see Dnsmasq resolves internal domains, and handles overrides (such as if I want to blo...
When I run Kmail on i3, and then close it, it appears to continue running some stuff in the background. For example, I periodically get notifications about new mail from dunst, even though I have c...
You can try to search your shell's history for brew install. Every shell has its own history command, but for example on fish I can do history | rg brew install. (rg is https://github.com/BurntSush...
If I have an email in EML format, how can I determine its spam status from the terminal? My mail provider appears to insert a X-Acme-Spam-Status header. It looks like X-Acme-Spam-Status: v=1; e=b...
On Arch Linux, I installed albert (from AUR) and picom as the compositor. I am using i3 as the window manager. When I bring up the albert window, it is surrounded by the ghost of a window in the b...
Git is a very good way to sync dotfiles. There are other sync methods, but git also gives you version control, which is the other crucial part of the dotfile approach. Dealing with secrets in git ...
Airflow is a distributed workflow manager intended for complex cloud computing use. However, it can be used to run tasks locally. You can run Airflow in single-node mode, with LocalExecutor, and w...
What switches do I need to add to see my video RAM (VRAM) with inxi? inxi -G shows my video card model and other info, but not video RAM.
There's three parts to this: Find all directories (in your case, sounds like you want depth=3 only) Print the top 3 files in a single directory Apply 2 to each in 1 1 should be a separate q...
I found a partial fix. You have to run: sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml After this, podman is able to run it: sudo podman run --rm --device nvidia.com/gpu=all ubuntu...
That sounds like bad design on the developers' part. There are many unavoidable ways a program may be terminated unexpectedly: Killed by an OOM killer Program crash Terminated by virus OS cra...
There is not a way to do this from the Web UI (LuCI). Instead: SSH into the router Delete the corresponding line from /tmp/dhcp.leases However, note that this is not enough to get a new IP. ...
I am testing some DHCP stuff, and I want to manually end a lease so I don't have to wait hours for them to expire. How can I do this with OpenWrt?
This appears to be set by the option unlock_time in /etc/security/faillock.conf.
This won't be an exact answer. I think with the way it's described, there could be many reasons why the issue manifests. However, the good news is that the live ISO works, therefore the problem is ...
For some time pacman used to have a problem where: Occasionally Arch maintainers introduce new GPG keys They start signing packages with the keys Your local pacman doesn't receive these until ...
I like how Guix sounds based on what I've read, and I want to try it. However, my partitioning scheme is a bit complicated. With Guix it appears like my biggest concern is hardware (I will regretta...
I was able to make this work with: bindsym XF86AudioRaiseVolume exec --no-startup-id wpctl set-volume -l 1 @DEFAULT_AUDIO_SINK@ 5%+ bindsym XF86AudioLowerVolume exec --no-startup-id wpctl set-vol...
There are three options. I will list them from least practical to most, because I don't want people to stop reading halfway through :) Parse ssh-agent output with your custom script and re-print...
SSH agent prints some envar commands for sourcing in a shell. However, these are bash-style, and I use fish. Fish barfs at the bash syntax. How can I fix it?
After some digging, I was able to figure out the problem. I actually have multiple keys. In Kwallet, I noticed that one of them has the wrong passphrase. So looks like I put the passphrase of Key X...
I have my key added to ssh-agent and they show up in ssh-add -l. When I try to actually SSH to a host that requires the key, I still get prompted for a password. I enter it again and again and it s...
How do you securely erase data from a thumb (USB/flash) drive? With traditional (magnetic/spinny) hard drives, it used to be that you could use various tools to simply overwrite with random data, ...
I have a script that does git fetch for a repository. When I run this in my shell it works fine. I want to run it in a systemd user unit. However, I am using an SSH url, and the systemd unit fails...
I am running X on Arch Linux without a desktop environment, only i3. Sometimes I need to switch between typing in different languages. How do I switch my keyboard layout?