Posts by matthewsnyder
The ancient utility find should come installed on the majority of distributions. Technically, find recursively locates all files and directories under a path, and prints their full paths. It is of ...
How can I search for files on my system? Ideally, I would like to search by various criteria, like date, name, extension, etc.
Restarting NetworkManager should be enough: sudo systemctl restart NetworkManger
I have some bookmarked folders in GtkFileChooserDialog. I want to add these to my dotfiles. Where are the bookmarks stored?
How can I run a command later? I'm looking for a CLI way to schedule a command to be run later. I know that I could create a systemd timer, install it, activate it... That is too much work. I want...
I have an image (a photo) and I want to highlight certain parts of this. I want to do this from the CLI. I am planning to store the pixel coordinates of polygon vertices in a file, and when I run ...
Guix is a rolling release distro. Another well known rolling release distro is Arch Linux. In Arch, you are expected to frequently do system updates. Partial updates are not supported. In my exper...
I was looking into unlocking my login after too many incorrect password attempts. I found this post about it. Doing faillock -user $(whoami) --reset did indeed unlock the login. However, what exac...
I want to have a local DNS server on my home LAN, say at 192.168.1.123. All of my machines will use 192.168.1.123 as their only DNS server when connected to my home network. By default, my DNS ser...
What is the simplest shell idiom for stripping leading and trailing whitespace from a file or program output? Ideally I am looking for the equivalent of trim or strip methods in some languages. Th...
My keyboard has keys for mute, volume up, volume down. In i3wm, I used to have these bound with: bindsym XF86AudioRaiseVolume exec --no-startup-id pulsemixer --change-volume +10 --max-volume 100 ...
I can easily run Windows games with wine by running: wine game.exe However, if I want to use Proton I have to run Steam, add the game as a non-Steam game, and run it that way. Since Proton is ...
I see that this is self-answered, but I disagree that the answer provided is the best way. The best way is to properly utilize the Unix philosophy, by decomposing the problem into simpler sub-probl...
The basis of the Unix philosophy is to decompose complex tasks into simple sub-tasks, so that one can easily choose a combination of simple Unix tools to solve the problem in an intuitive way. Oft...
For certain GPU-accelerated tasks, such as Docker containers using GPU, I need to run the following on every boot: sudo nvidia-ctk cdi generate --output /var/run/cdi/nvidia.yaml Without this, G...
I want my SysRq key to be fully functional. When I look in sudo sysctl -a I see kernel.sysrq = 1 in the output. This tells me it should be working. To test, I run echo h > /proc/sysrq-trigger ...
I agree with other answers: Normal TUI way is ncdu Normal CLI way is du Normal GUI way is Baobab aka "Gnome Disk Usage Analyzer" and the like But just for fun, you can build a pipeline such...
I want to run programs foo and bar with supervisord. Both programs produce a continuous stream of occasional output (stdout and stderr) as they run. When I run supervisor with nodaemon=true, I wan...
inxi -G will show this. $ inxi -G Graphics: Device-1: NVIDIA GP107 [GeForce GTX 1050 Ti] driver: nvidia v: 460.39 Display: x11 server: X.Org v: 1.20.10 driver: X: loaded: nvidia reso...
What command can be used to download the TLS certificate of a site such as https://wikipedia.org?
I use pipewire. When I list devices with pactl, I see some ugly device.name values. Some of these I changed in the past, but forgot how. I want to change some more. How?
It seems like systemd labels every boot with some ID. Suppose I have some sporadic issue that happens only on some boots. I want to search logs for only the boots that have the issue, not all boot...
Currently I set my wallpaper by having a call to feh in my i3 config. This does set the wallpaper, but it seems buggy. Whenever my monitor configuration changes, the wallpaper gets moved partially ...
After many years of using Arch, and many applications, my home directory is completely cluttered with junk. Of course, much of this is useful and needed for the normal operation of programs. For ex...
When I boot my computer, I want the sound to start out muted, even if it wasn't before. For bonus points: It should also reduce volume to 0% This should also happen when coming out of hibernat...
