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 »

Activity for matthewsnyder‭

Type On... Excerpt Status Date
Edit Post #289936 Post edited:
about 1 year ago
Edit Post #289936 Initial revision about 1 year ago
Answer A: How to list the first x files in each directory
There's three parts to this: 1. Find all directories (in your case, sounds like you want depth=3 only) 2. Print the top 3 files in a single directory 3. Apply 2 to each in 1 1 should be a separate question but both `find` can do it. I prefer `fd`: `fd --type directory . --max-depth 3 --min-de...
(more)
about 1 year ago
Comment Post #289935 The website isn't on the same host. It's some other website on the internet.
(more)
about 1 year ago
Edit Post #289869 Post edited:
about 1 year ago
Suggested Edit Post #289869 Suggested edit:

(more)
helpful about 1 year ago
Edit Post #289750 Initial revision about 1 year ago
Answer A: Nvidia docker runtime: Failed to create task for container
I found a partial fix. You have to run: ``` sudo nvidia-ctk cdi generate --output=/etc/cdi/nvidia.yaml ``` After this, podman is able to run it: ``` sudo podman run --rm --device nvidia.com/gpu=all ubuntu nvidia-smi -L GPU 0: NVIDIA GeForce GTX 1060 3GB (UUID: GPU-...) ``` However, Docke...
(more)
about 1 year ago
Edit Post #289717 Post edited:
about 1 year ago
Edit Post #289749 Initial revision about 1 year ago
Question Why does $XDG_DATA_HOME default to ~/.local/share?
Why does `XDGDATAHOME` default to `/.local/share`? Why not something less cryptic, like `/.data`? Why did they decide use that path?
(more)
about 1 year ago
Suggested Edit Post #289717 Suggested edit:

(more)
helpful about 1 year ago
Suggested Edit Post #283940 Suggested edit:

(more)
helpful about 1 year ago
Comment Post #289649 That's not true, sometimes people search for system files.
(more)
about 1 year ago
Edit Post #289685 Initial revision about 1 year ago
Answer A: What are the concrete security risks of forcibly terminating a process?
That sounds like bad design on the developers' part. There are many unavoidable ways a program may be terminated unexpectedly: Killed by an OOM killer Program crash Terminated by virus OS crash Computer lost power If these really do introduce a security risk, then it's very bad news fo...
(more)
about 1 year ago
Edit Post #289682 Post edited:
about 1 year ago
Edit Post #289682 Post edited:
about 1 year ago
Edit Post #289682 Initial revision about 1 year ago
Question Nvidia docker runtime: Failed to create task for container
I installed the Nvidia container toolkit) so I can use GPU acceleration in Docker containers. However, I can't get the containers to work: ```sh $ sudo docker run --runtime=nvidia nvidia/cuda:12.2.0-base-ubuntu20.04 nvidia-smi docker: Error response from daemon: failed to create task for contain...
(more)
about 1 year ago
Edit Post #289654 Post edited:
about 1 year ago
Edit Post #289654 Initial revision about 1 year ago
Question Are NixOS and Guix analogous projects?
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 arising from various dependency/version conflicts. Are there any significant differences between these...
(more)
about 1 year ago
Edit Post #289653 Initial revision about 1 year ago
Answer A: How do I tweak the start parameters of GUI apps?
tl;dr: 1. Find the `.desktop` file that you are currently running 2. It is probably in a system location, so copy it to a user location 3. Modify the file contents The normal way to create icons for GUI apps on Linux is to create `.desktop` files. These are files describing the shell-styl...
(more)
about 1 year ago
Edit Post #289650 Post edited:
about 1 year ago
Edit Post #289650 Post edited:
about 1 year ago
Comment Post #289650 * https://linux.codidact.com/posts/288309 * https://linux.codidact.com/posts/285041
(more)
about 1 year ago
Edit Post #289651 Post edited:
about 1 year ago
Edit Post #289652 Initial revision about 1 year ago
Answer A: How to fix DPI for Spotify
There's multiple, sometimes overlapping ways of altering the DPI globally on Linux. You should first ensure these are properly configured and Spotify is still not using them correctly. However, Spotify provides a `--force-device-scale-factor` argument for controlling DPI scaling. First, test it...
(more)
about 1 year ago
Edit Post #289651 Initial revision about 1 year ago
Answer A: Suggestion: Basic Linux skills compendium
My thoughts on the matter are clear from the question, but I'll add some example topics that could be covered by this "basics compendium": A "curriculum" of sorts that lists all the basic topics in a logical order for people who want to try learning all or most of them Explanation of what a she...
(more)
about 1 year ago
Comment Post #289647 I don't have time for a full answer, but basically it's: 1. Find the `.desktop` file for the app (see https://linux.codidact.com/posts/289648) 2. Edit the file's `Exec` field etc. 3. Note the difference between `.desktop`s under system paths like `/usr/share` and user paths under `~`.
(more)
about 1 year ago
Edit Post #289650 Initial revision about 1 year ago
Question Suggestion: Basic Linux skills compendium
We are all Linux users and enthusiasts on this site, as well as caring about FOSS. Although technically this is a site for technical Q&A, I think some level of Linux activism is possibly beneficial, in the sense of helping newbies "get into Linux". It should not be our job to convince people to use L...
(more)
about 1 year ago
Edit Post #289649 Initial revision about 1 year ago
Answer A: How do I find files?
The ancient utility `find` should come installed on the majority of distributions. Technically, `find` recursively locates all files and directories under a path, and prints their full paths. It is of course possible to pipe it to other tools like `grep` (actually, `ls` can also list recursively, whi...
(more)
about 1 year ago
Edit Post #289648 Initial revision about 1 year ago
Question How do I find files?
How can I search for files on my system? Ideally, I would like to search by various criteria, like date, name, extension, etc.
(more)
about 1 year ago
Edit Post #289647 Initial revision about 1 year ago
Question How do I tweak the start parameters of GUI apps?
There are many GUI apps on my computer that show up as eg. items in the start menu. When I launch these, what if I want to control how exactly they are launched, such as setting environment variables or adding additional parameters? For example, I can of course type `SOMEENVAR=foo gedit --some-arg...
(more)
about 1 year ago
Comment Post #289646 I don't have time to write a full answer. However, https://wiki.archlinux.org/title/HiDPI explains most of it. There are multiple graphics frameworks (GTK, Qt, etc) that each have their own separate configuration. Xorg itself also has global DPI settings which the graphics frameworks may or may no...
(more)
about 1 year ago
Edit Post #289646 Initial revision about 1 year ago
Question How do I globally configure consistent DPI for GUI apps?
How do I configure my system so that all GUI apps use a consistent DPI, without configuring each app individually?
(more)
about 1 year ago
Edit Post #289645 Initial revision about 1 year ago
Question How to fix DPI for Spotify
Spotify runs on my computer with higher DPI (bigger UI elements) than I'd like. How can I reduce it?
(more)
about 1 year ago
Comment Post #289619 A different IP.
(more)
about 1 year ago
Edit Post #289618 Post edited:
about 1 year ago
Edit Post #289620 Initial revision about 1 year ago