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‭

132 posts
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 5mo ago by matthewsnyder‭

Answer
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 24d 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 1mo ago by matthewsnyder‭  ·  edited 1mo 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 1mo 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 2mo ago by matthewsnyder‭  ·  edited 2mo 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 2mo ago by matthewsnyder‭  ·  last activity 2mo 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 2mo ago by matthewsnyder‭  ·  edited 2mo ago by matthewsnyder‭

Answer
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 2mo ago by matthewsnyder‭  ·  last activity 2mo ago by Karl Knechtel‭

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 3mo ago by matthewsnyder‭  ·  edited 3mo 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 3mo ago by matthewsnyder‭  ·  edited 3mo 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 4mo 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 4mo ago by matthewsnyder‭  ·  last activity 3mo 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 5mo 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 5mo 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 5mo ago by matthewsnyder‭  ·  last activity 13d 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 5mo 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 5mo ago by matthewsnyder‭  ·  edited 5mo ago by matthewsnyder‭

Answer
57%
+2 −1
Q&A Download packages for full system upgrade without installing

I noticed that downloading all the pacman packages for a full system install takes a lot of time, so I want to create a systemd time that will periodically download them for me. That way, most of t...

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

Question arch-linux packages
50%
+0 −0
Q&A When should you install windows dlls for wine with winetricks?

Windows packages all of its API functions into DLLs, so when you have a program that relies on calls to X, Y and Z you must ensure that you have the correct set of DLLs that provide all of those. T...

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

Answer
50%
+0 −0
Q&A How can I change the timeout after too many incorrect login attempts?

This appears to be set by the option unlock_time in /etc/security/faillock.conf.

posted 10mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How can I change the timeout after too many incorrect login attempts?

When I enter the login password incorrectly 3 times, my computer locks me out from attempting a login for 10 minutes. How can I change the timeout?

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

Question arch-linux password
50%
+0 −0
Q&A Copy to clipboard from terminal with Vim bindings

Vim has multiple "registers", which in modern parlance is multiple internal clipboards. By default, yank sends to an anonymous register, which is separate from the clipboard. However, you can make...

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

Answer
50%
+0 −0
Q&A Simplest way of stripping leading/trailing whitespace from file or program output

I'll post this as an example of what I'm looking to do. The following script: import sys a = sys.stdin.read() b = a.strip() c = map(lambda s: s.strip(), b.splitlines()) for s in c: p...

posted 10mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How to debug NetworkManager issue after suspend/resume in Ubuntu 22.04

Although you have left a post saying it is solved, I think it's not uncommon for this kind of problem to show up. I think it can happen due to misconfiguration of either NM or the network drivers/h...

posted 11mo ago by matthewsnyder‭

Answer
50%
+0 −0
Q&A How do I use Proton without Steam?

This can be done with Wine Bottles. Install flatpak from your package manager. Install Bottles from Flatpak (may show up as Discover (Software Center)) May take a while, because it has many ...

posted 11mo ago by matthewsnyder‭

Answer