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 #290112 Initial revision 7 months ago
Answer A: Run command with Key Combination in Gnome
Gnome should have a Settings app with a Keyboard shortcut section. Here you can click Add Custom Shortcut which will let you bind any key to any shell-style command. source Unless you are very sure of your command, I would recommend wrapping it in a script that also emits logs somewhere. If the co...
(more)
7 months ago
Edit Post #290008 Post edited:
Cleaned up parts that would not be useful to future readers of this question
7 months ago
Comment Post #290046 Ideally I'm looking for a CLI solution. I don't mind writing a Python script, but you would think that such a basic task should already have a program written for it.
(more)
7 months ago
Edit Post #290046 Initial revision 7 months ago
Question How to tile multiple small page PDFs on a single standard size PDF?
Suppose I have a PDF which is 2x3 in. I want to create a PDF with a single page, which has multiple copies of this. For example, if the small pieces are in landscape, and the large page is in portrait, I could tile 2x5 (6x10 in total area vs 8.5x11 letter paper) and fit a total of 10 copies on a sing...
(more)
7 months ago
Suggested Edit Post #290008 Suggested edit:
Cleaned up parts that would not be useful to future readers of this question
(more)
helpful 7 months ago
Comment Post #289952 Based on this, I discovered that `ssh -o StrictHostKeyChecking=no my_host` will do it all in one command. Instead of checking the host key, it will just add it to `known_hosts` without asking you. This is nice because it accepts aliases for `my_host` that are defined in `~/.ssh/config`.
(more)
7 months ago
Comment Post #289952 Thanks for the great answer! This addresses everything I was confused about.
(more)
7 months ago
Edit Post #289950 Initial revision 7 months ago
Question How to bypass SSH destination host key fingerprint check?
When you first connect to a host, `ssh` asks you about saving its fingerprint. If you do, on subsequent connections it will check the fingerprint and refuse to connect if it changed. I get that this is a security measure in case someone tries to impersonate my server. However, it is also very a...
(more)
7 months ago
Edit Post #289936 Post edited:
7 months ago
Edit Post #289936 Initial revision 7 months 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)
7 months ago
Comment Post #289935 The website isn't on the same host. It's some other website on the internet.
(more)
7 months ago
Edit Post #289869 Post edited:
7 months ago
Suggested Edit Post #289869 Suggested edit:

(more)
helpful 8 months ago
Edit Post #289750 Initial revision 8 months 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)
8 months ago
Edit Post #289717 Post edited:
8 months ago
Edit Post #289749 Initial revision 8 months 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)
8 months ago
Suggested Edit Post #289717 Suggested edit:

(more)
helpful 8 months ago
Suggested Edit Post #283940 Suggested edit:

(more)
helpful 8 months ago
Comment Post #289649 That's not true, sometimes people search for system files.
(more)
8 months ago
Edit Post #289685 Initial revision 8 months 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)
8 months ago
Edit Post #289682 Post edited:
8 months ago
Edit Post #289682 Post edited:
8 months ago
Edit Post #289682 Initial revision 8 months 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)
8 months ago
Edit Post #289654 Post edited:
8 months ago
Edit Post #289654 Initial revision 8 months 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)
8 months ago
Edit Post #289653 Initial revision 8 months 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)
8 months ago
Edit Post #289650 Post edited:
8 months ago
Edit Post #289650 Post edited:
8 months ago
Comment Post #289650 * https://linux.codidact.com/posts/288309 * https://linux.codidact.com/posts/285041
(more)
8 months ago
Edit Post #289651 Post edited:
8 months ago
Edit Post #289652 Initial revision 8 months 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)
8 months ago
Edit Post #289651 Initial revision 8 months 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)
8 months 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)
8 months ago
Edit Post #289650 Initial revision 8 months 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)
8 months ago
Edit Post #289649 Initial revision 8 months 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)
8 months ago
Edit Post #289648 Initial revision 8 months ago