Posts by matthewsnyder
I've heard people say not to use "system Python", what is this and why not? What am I supposed to do instead?
2 GB is not particularly small for Linux. "Low memory distros" would be things like OpenWRT, which can run on 64 MB of RAM. Linux itself will probably take about 150 MB of RAM so this isn't the is...
I think I finally found a topic the Arch wiki doesn't cover :) I have a Zigbee USB dongle and some Zigbee-capable wireless devices. The dongle is supposed to create a network to which the devices ...
Thanks to the comments, I was able to determine that it is in fact working, I just wasn't looking in the right place for output. For anyone else with the same/similar issue, start watching the cor...
Docker stores data under directories like /var/lib/docker/overlay2/xyz123. These sometimes grow very large, and Docker does not provide good instructions for how to easily manage the space used by ...
Certtool from GnuTLS can do this: certtool --certificate-info --infile=server.crt
If I run journalctl --list-boots I get a list of my previous boots. How can I tell which ones of these were resumes from hibernate, and which were booting "from scratch"? I want to do this becaus...
How do I find all actual files (not devices, sockets, etc) on my system that are: Not part of a package Not under /home (I assume that packages are supposed to never put files there) on Arch...
There is a popular partitioning scheme, described in the Arch wiki as LVM on LUKS. The meat of this is: /boot is its own unencrypted partition The rest of the drive is a giant LUKS partition I...
If the program was installed with your package manager, the package manager should be able to tell you that. For example: $ pacman --query bash bash 5.2.026-2 If you don't know the package n...
When I view my document camera's feed in guvcview it is in landscape mode. I want it to capture things in portrait mode, since I usually take photos of documents. Currently, I have to rotate all t...
On Linux, the basic way to run every program is to invoke it through a terminal. The shortcuts in DEs come from ".desktop" files. On a Linux system, there are a couple of directories (system wide,...
My DE has a bunch of programs in the start/applications menu. How can I add my own in there? For example, say I found a terminal command foo --bar --baz that does something I want. But I don't want...
On a modern Linux system, what happens if you attempt to hibernate when your swap is smaller than your RAM? For example, say RAM is 16 GB and swap is 8 GB.
I have a systemd unit that does some stuff on the internet. Sometimes this gets fired at startup. I want to make sure it's delayed until the computer is connected to the internet. In my notes I fo...
When PSF says Python 3.8 is not supported, they are simply saying they will no longer bother fixing bugs in or adding stuff to that version. It's not like Python 3.8 will start automatically explod...
When I create the initramfs, I sometimes see messages like: ==> WARNING: Possibly missing firmware for module: 'xhci_pci' I get many for different modules. What do they mean? Should I in...
Suppose I want to get random numbers from /dev/random with basic CLI tools. Is there a way to do it, that's easier to type and read than python -c 'import random; print(100 + 200*random.random())'?...
/dev/random is a stream of every possible value. You're supposed to filter it to take the ones you want. This is efficient, although if the values you want are such that only, say, 1% of what comes...
Wine has options for "Synchronization", like "Esync" or "Fsync". What do these actually do? What is the purpose of such an option? What is the impact to normal usage of a Windows program in Wine?
Piper can be used for this. All mice supported by Piper (actually libratbag) are a result of the community reverse engineering the mouse protocol. It will not support all mice, but only selected on...
What is a modern and practical way to handle scheduling tasks on a Linux desktop? Modern means basic features should not rely on obscure or convoluted commands and standards Practical means you...
Gnome should have a Settings app with a Keyboard shortcut section. Here you can click Add Custom Shortcut which will let you bind any key to any shell-style command. source Unless you are very sur...
From what I can tell, both NixOS and Guix are built around a package manager which, instead of installing package into the "common environment" as is traditional, isolates them to mitigate issues a...
tl;dr: Find the .desktop file that you are currently running It is probably in a system location, so copy it to a user location Modify the file contents The normal way to create icons for...
