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 Basic GPU usage monitoring

This doesn't really answer the question as posed, but IMO it's a useful footnote: If the primary interest is to monitor GPU usage specifically during a 3D application that uses Vulkan, MangoHud ca...

posted 5mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A How to identify which Docker container an overlay is for?

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

1 answer  ·  posted 8d ago by matthewsnyder‭  ·  last activity 8d ago by GeraldS‭

Question docker
60%
+1 −0
Q&A How to find big files and directories?

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

posted 2mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Supervisor: display, prefix and color output from child programs

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

0 answers  ·  posted 2mo ago by matthewsnyder‭  ·  edited 2mo ago by matthewsnyder‭

60%
+1 −0
Q&A Command to show GPU model

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

posted 3mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A What is the most accurate CLOC (count lines of code) program?

Objectively, the most accurate way would be to actually count the lines. So you would do wc on each file and add them up. This ends up being not a very useful statistic, because it is sensitive to...

posted 3mo ago by matthewsnyder‭

Answer
60%
+1 −0
Q&A Download a TLS certificate from the command line

What command can be used to download the TLS certificate of a site such as https://wikipedia.org?

1 answer  ·  posted 3mo ago by matthewsnyder‭  ·  last activity 3mo ago by GeraldS‭

Question cli tls
60%
+1 −0
Q&A Change device name that shows up in pactl

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?

0 answers  ·  posted 4mo ago by matthewsnyder‭

Question audio pipewire
60%
+1 −0
Q&A Journalctl - how to restrict search to only certain boot IDs?

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

1 answer  ·  posted 4mo ago by matthewsnyder‭  ·  last activity 4mo ago by GeraldS‭

Question systemd journalctl
60%
+1 −0
Q&A Reliably set a wallpaper in i3

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

0 answers  ·  posted 4mo ago by matthewsnyder‭

Question arch-linux i3wm xorg
60%
+1 −0
Q&A How to clean up junk files in my home directory?

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

0 answers  ·  posted 4mo ago by matthewsnyder‭  ·  edited 4mo ago by matthewsnyder‭

60%
+1 −0
Q&A Mute sound on boot

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

0 answers  ·  posted 5mo ago by matthewsnyder‭

60%
+1 −0
Q&A What are the most active distros without systemd?

I can't answer this question fully, but I'll try my best. A reasonably comprehensive list of non-systemd distros can be found at https://nosystemd.org/. There might be some which are not on that l...

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

Answer
60%
+1 −0
Q&A Dual booting without rebooting

Suppose you have two Linux distributions installed in a dual boot situation. One issue that can happen is when you need to frequently switch. Rebooting is disruptive if you have a bunch of things ...

2 answers  ·  posted 5mo ago by matthewsnyder‭  ·  last activity 5mo ago by bgstack15‭

60%
+1 −0
Q&A What are the most active distros without systemd?

Ever since systemd was adopted by mainstream distros, there's been many reactive projects aiming to provide a distro without systemd. I've often had the impression that a lot of these were motivat...

2 answers  ·  posted 5mo ago by matthewsnyder‭  ·  last activity 5mo ago by matthewsnyder‭

60%
+1 −0
Q&A How can I put my home directory on a different partition?

Suppose you currently use the partition /dev/sda1 for everything, and you create a new partition /dev/sda2 to use for /home. It doesn't matter if the partition is on a different physical drive, sam...

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

Answer
60%
+1 −0
Q&A How to make changes to logind.conf take effect?

I added IdleAction=hibernate IdleActionSec=30min To my bat /etc/systemd/logind.conf. Then I waited 31 min, but nothing happened. It didn't hibernate. Presumably, the config changes are not loa...

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

57%
+2 −1
Q&A How to view a TLS certificate from the command line?

I have a TLS certificate, let's say codidact.pem (downloaded as in https://linux.codidact.com/posts/292251/292257#answer-292257). But when I view it the file it appears to be base64 encoded: $ cat...

2 answers  ·  posted 3mo ago by matthewsnyder‭  ·  edited 3mo ago by matthewsnyder‭

Question cli tls
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 1y ago by matthewsnyder‭  ·  last activity 1y 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 1y ago by matthewsnyder‭  ·  edited 1y 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 1y ago by matthewsnyder‭  ·  last activity 1y 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 1y ago by matthewsnyder‭  ·  edited 1y 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 1y 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 1y 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 1y ago by matthewsnyder‭

Answer