Posts by matthewsnyder
I use unrar to extract rar archives sometimes: UNRAR 6.24 freeware Copyright (c) 1993-2023 Alexander Roshal Sometimes the archive root has several files, so if I do unrar x foo.rar it will...
You can use Wine, or a VM. With a VM, it's pretty straightforward - install Windows in the VM, and then run the program as you would normally inside the VM. With Wine, the "basic" way (which you s...
Occasionally I ask how to do some configuration, and people tell me to do stuff like edit some config file in an XYZ directory. But if I configure everything this way, it will turn into a mess, and...
On X, open a terminal and run xev -event keyboard. You'll get a white box. Make sure this is focused and press the key. You should see some output in the terminal about what the key is. Particularl...
If you are using KDE/Plasma, there should be a widget for the taskbar that shows GPU usage. Go to the same screen where you normally add widgets and look for a "system monitor" widget. In the confi...
For a TUI solution: https://github.com/Syllo/nvtop Install it and type nvtop in a terminal.
How do you monitor GPU usage on Linux? I am most interested in a "% GPU usage" and maybe "GPU temp" statistic, not so much very detailed stuff.
Is it practical to use libostree for user files? Or is it too specialized for tracking an entire OS? I am not familiar with libostree, but sounds like it's "Git for filesystem trees". Seems like t...
Gnome disks can create a disk image, and then restore it to the new one. The new drive has to be same size or larger, although this is obvious. If it is larger, the partition will still be small, ...
Do any of the cron implementations allow you to manually trigger cron jobs (stuff in your crontab) right now, in the exact same manner as they would have when triggered on their usual schedule, exc...
/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...
Of course every language has some kind of random library... But can you generate custom random strings with just basic CLI tools? For example, we have /dev/random which provides a stream of random...
No wonder it's hard to find good programs - it's no longer necessary! At some point this became a built in part of Xorg via xinput. The process is something like this: xinput list and find the ...
I have multiple screens and I often connect and disconnect monitors while the system is running. i3 assigns a workspace to each monitor, but does so unpredictably. Sometimes my main monitor is work...
I'm not an expert on this at all, but so far there are no answers, so I'll try one. "Synchronization" is in the context of multithreading. For those who don't know how multithreading works: Multi...
In Unix systems like Linux, some commands are considered dangerous and only the root user can run them. Normally, you don't login as root. So when you want to run dangerous commands, you must first...
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...
Some pacman functions require sudo. When I forget the sudo, you get: error: you cannot perform this operation unless you are root. I then have to press the keys: up, home, s, u, d, o, space, en...
In case Ipify stops being free: https://dnsleaktest.com/ will show you your IP. I don't know if they have an API, but it's easy to parse the HTML: https dnsleaktest.com | rg '\d+\.\d+\.\d+\.\d+' -...
The existing answer is good, but I'll add a short version. man FOO is the most reliable way. A large majority of programs have a man page, and a large majority of man pages cover all aspects of ...
~/.config/systemd/user intended purely for units created and managed by the user manually, or are there any automated processes that expect to control it? For example, do packages or programs ever...
The systemd manual gives a list of path where systemd looks for unit files. However, I want to isolate my units in a path of my own choosing. Is it possible to configure systemd to add some path t...
Historically, cron was the main way to schedule tasks on Linux. Briefly, there will be some file like /etc/crontab which will contain one line for each task. The line starts with a schedule string ...
The standard way to schedule tasks in most Linux systems nowadays is to use systemd timers. This requires writing a systemd timer config file, which has syntax similar to INI. This is summarized i...
In i3, is there a way to move an entire workspace to another monitor, including all windows it contains?