Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Posts by matthewsnyder‭

197 posts
60%
+1 −0
Q&A Is there a way to automatically normalize paths when extracting RARs?

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...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by Karl Knechtel‭

60%
+1 −0
Q&A Install and run Windows applications

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...

posted 6mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How do I keep track of configuration changes?

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...

1 answer  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 6mo ago by matthewsnyder‭

60%
+1 −0
Q&A How do I find the code of a keyboard key?

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...

posted 6mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Basic GPU usage monitoring

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...

posted 6mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Basic GPU usage monitoring

For a TUI solution: https://github.com/Syllo/nvtop Install it and type nvtop in a terminal.

posted 6mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Basic GPU usage monitoring

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.

3 answers  ·  posted 6mo ago by matthewsnyder‭  ·  last activity 5mo ago by matthewsnyder‭

Question hardware
60%
+1 −0
Q&A Is libostree practical for user files?

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...

0 answers  ·  posted 7mo ago by matthewsnyder‭

Question libostree
60%
+1 −0
Q&A How do I migrate my main filesystem to a new drive?

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, ...

posted 8mo ago by matthewsnyder‭  ·  edited 8mo ago by Karl Knechtel‭

Answer
60%
+1 −0
Q&A Manually trigger cron jobs

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...

0 answers  ·  posted 8mo ago by matthewsnyder‭

Question cron
60%
+1 −0
Q&A How do you generate random strings from /dev/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...

posted 8mo ago by matthewsnyder‭  ·  edited 8mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How do you generate random strings from /dev/random?

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...

1 answer  ·  posted 8mo ago by matthewsnyder‭  ·  last activity 8mo ago by matthewsnyder‭

Question cli random
60%
+1 −0
Q&A How do you remap mouse buttons?

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 ...

posted 8mo ago by matthewsnyder‭  ·  edited 8mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A In i3wm, how to create affinity between screens and workspaces?

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...

0 answers  ·  posted 12mo ago by matthewsnyder‭

60%
+1 −0
Q&A What is synchronization in Wine?

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...

posted 9mo ago by matthewsnyder‭  ·  edited 9mo ago by matthewsnyder‭

Answer
60%
+4 −2
Q&A Why does Linux use the sudo command?

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...

posted 9mo ago by matthewsnyder‭  ·  edited 9mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How do you remap mouse buttons?

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...

posted 10mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A An alternative to pacman sudo nag?

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...

2 answers  ·  posted 10mo ago by matthewsnyder‭  ·  last activity 9mo ago by TowerOfTurtles‭

60%
+1 −0
Q&A How to find your public IP address from command-line?

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+' -...

posted 11mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How to RTFM well to get a CLI command

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 ...

posted 11mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Is it safe to completely take over ~/.config/systemd/user?

~/.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...

0 answers  ·  posted 11mo ago by matthewsnyder‭

Question systemd
60%
+1 −0
Q&A Can you put systemd units under a custom path?

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...

1 answer  ·  posted 11mo ago by matthewsnyder‭  ·  last activity 7mo ago by Cadence‭

60%
+1 −0
Q&A Modern and practical way to schedule tasks on a Linux machine that is not always on

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 ...

posted 12mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Modern and practical way to schedule tasks on a Linux machine that is not always on

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...

posted 12mo ago by matthewsnyder‭  ·  edited 12mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A In i3wm, how do I move a workspace with its windows to another screen?

In i3, is there a way to move an entire workspace to another monitor, including all windows it contains?

0 answers  ·  posted 12mo ago by matthewsnyder‭