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
Comment Post #291359 Ah, I hadn't noticed that :)
(more)
21 days ago
Comment Post #291256 Yes :) If the answer is > You cannot trigger cron jobs manually. You can only do that in systemd, this is one of the things systemd tried to "fix" vs. cron. That is acceptable, I just don't know for sure if it is.
(more)
about 1 month ago
Comment Post #291137 Ah, my mistake. Of course, it's the other way around.
(more)
about 2 months ago
Comment Post #291020 WSL can act funny because of the way it's integrated into Windows, where many core Linux functions are disabled because Windows does it for WSL. Docker, while also not a full Linux, tends to have fewer problems so try running it in a container like https://hub.docker.com/_/archlinux . Plus, many p...
(more)
2 months ago
Comment Post #290914 You should mention the distro. The baseline audio set up usually differs a lot between them.
(more)
3 months ago
Comment Post #290827 >`sudo ls ~` will not tell you whether `sudo` sets `HOME` This claim is not made in this question.
(more)
3 months ago
Comment Post #290666 I posted this to share what I know, but I am curious if there are other ways to do it. So please feel free to post an answer if you know any others.
(more)
4 months ago
Comment Post #290222 https://linux.codidact.com/posts/289489
(more)
5 months ago
Comment Post #290213 Unfortunately, `sudo inxi -G -xxx` doesn't seem to report VRAM. There's a lot of information in it though, so maybe it does but I missed it?
(more)
6 months ago
Comment Post #288401 Name or path? Kind of a big difference in this context :) For names I don't think it really matters, but also I don't see much reason for a de jure limit (as opposed de facto limits imposed by implementation, which come and go without impacting the official standard). For paths, it can be very ...
(more)
7 months ago
Comment Post #290136 Actually, I think a corollary of my question is if you restrict filenames, then what happens when some program you install does try to create one? (granted, in Linux most packages do not have junk in filenames - I doubt if any do) So you would want to leave a backdoor so that the *system* can crea...
(more)
7 months ago
Comment Post #290136 I also had a question about this. I think the argument is > You can't just read the source code of all your programs and figure out which ones will create files. Which is theoretically true. In practice, the vast majority probably use a handful of system API calls for file creation. However,...
(more)
7 months ago
Comment Post #290113 @#8049 Closing the question for this feels unfriendly to me. I initially assumed that it's obvious the question is about Linux, given the name ("linux") and logo (a penguin) of the site. In fact, I thought you were asking about distro, not OS. In retrospect, that is wrong, because technically the ...
(more)
7 months ago
Comment Post #290113 I would have preferred if you hadn't closed it. I don't think closing the question is necessary just to get me to edit and add a small detail. Nevertheless, I did add it.
(more)
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
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
Comment Post #289935 The website isn't on the same host. It's some other website on the internet.
(more)
7 months ago
Comment Post #289649 That's not true, sometimes people search for system files.
(more)
8 months ago
Comment Post #289650 * https://linux.codidact.com/posts/288309 * https://linux.codidact.com/posts/285041
(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
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)
8 months ago
Comment Post #289619 A different IP.
(more)
8 months ago
Comment Post #289544 Trial and error it is then. :)
(more)
9 months ago
Comment Post #289541 >"bookmarked folders" would seem to be an OS-level (or at least window-manager-level) feature Why?
(more)
9 months ago
Comment Post #289544 Do you know if there is official documentation on the syntax of this file?
(more)
9 months ago
Comment Post #289492 Exactly what I was hoping for! Magic, indeed.
(more)
9 months ago
Comment Post #289489 Ripgrep for example has a great way of handling cases. If query is all lower case, it does case insensitive. If it has upper case chars, it is case sensitive. You can also force case sensitive with a switch.
(more)
9 months ago
Comment Post #289489 Case sensitive search is annoying, no fuzzy search, a lot of complex hotkeys that are hard to remember...
(more)
9 months ago
Comment Post #289380 It seems like "encryption" doesn't really answer my question in that case.
(more)
9 months ago
Comment Post #289432 Since it works on Windows, it must not be a hardware issue. Next step would be, is it your config or Ubuntu itself. To settle that, what happens with an Ubuntu LiveCD?
(more)
9 months ago
Comment Post #289380 What I'm saying is, the logic in this answer appears to be: > Encrypt the SSD, and then it doesn't matter if people can recover the data because they wouldn't be able to decrypt it However, the flaw in this logic appears to be: > If your encryption key happens to leak, you can no longer cons...
(more)
9 months ago
Comment Post #289401 There is no such command. ``` $ systemctl start-follow Unknown command verb start-follow. ```
(more)
9 months ago
Comment Post #289380 Of course, you would still have the secure erase problem if you leaked the key, because you can no longer consider the cryptodisk secure. I get that there is variation between hardware implementations. For that matter, same could be said for magnetic HDDs. But at the end of the day, I doubt all th...
(more)
9 months ago
Comment Post #289354 Let me edit the answer. I figured the cache would be easy to figure out from what I posted, but sounds like it's not.
(more)
9 months ago
Comment Post #289354 Honestly, I've ran into such issues with it as well. It seems like `xdg-open` is supposed to be the final word, but sometimes isn't. I despise this tool for that reason, but we seem stuck with it. The file associations are actually cached, and I think after changing one you also have to reload the...
(more)
9 months ago
Comment Post #289300 And furthermore, systemd should be destroyed. :)
(more)
10 months ago
Comment Post #288934 I consider them whitespace.
(more)
10 months ago
Comment Post #288970 @#63646 Evidently, Docker Desktop (which is probably what you would use on windows) supports both: https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-containers Either should work. You should skim the instructions for both and see which one is easier. I don't have much experience with Doc...
(more)
10 months ago
Comment Post #288962 It's https://github.com/sharkdp/bat. I assume people would search for something like `bat linux` :) Yes, the Python code can be improved. But I'm wondering if someone has already written such a program, which is in wide circulation, before I go off maintaining my own.
(more)
10 months ago
Comment Post #288915 >some commenters argued that the original short version was unanswerable because you'd have to check every implementation of every Unix/Linux command 🙄 It sounds like your question would be satisfied with just some general rules of thumb + a few illustrative real world examples, and you're not ...
(more)
11 months ago
Comment Post #288915 As a programmer and Unix philosophy adherent, I write many programs, many of them taking textual input on the terminal. I would die of shame if someone ever found a bug in my programs where they break just because of a terminal newline. It would be like taking an IQ test and getting a double digit sc...
(more)
11 months ago
Comment Post #288915 This reads a bit like a rant disguised as a question. Superficially, you're asking what problems can happen if you omit the terminal newlines, but really you spend a lot of time explaining how the answer is "nothing, that rule is dumb" (which I agree with, btw). It doesn't really read like a genuine ...
(more)
11 months ago
Comment Post #288915 Uh, wait, how does being closed on SX cause it to be verbose? Is it because they nagged the original asker into adding a lot of detail? I think the whole point of this site is that the moderation policy is different than SX, so it might be better to ask the question the way it should have been asked ...
(more)
11 months ago
Comment Post #288913 It seems like `pamixer --sink 123 -i 10` works. In my case, looks like the device which gets used as a default sink is not the one I have connected. So the problem with this command is to figure out which sink should be used.
(more)
11 months ago
Comment Post #288849 There shouldn't be any future problem. MariaDB was specifically designed to be a drop in replacement for MySQL, in exactly this type of situation.
(more)
11 months ago
Comment Post #288309 >break down any one liners into their constituent parts, explaining each of them This is what I tend to do as well, and yes it is laborious. Instead I suggest that *just breaking down the steps* and linking to the question explaining each step should be considered a sufficient answer. And if the q...
(more)
11 months ago
Comment Post #288562 @#53919 You are right that part of the question stems from a confusion over what's due to missing shell escapes, what's due to missing regex escapes, and what's because of whatever flavor of regex is being used for the sed invocation. Naturally, an answer should address this point as well. To clar...
(more)
11 months ago
Comment Post #288562 That syntax would actually solve my problem, except that I couldn't get it to work. `b+` is a valid regex meaning "1 or more `b`'s" and the `s/b+/X/` should instruct `sed` to replace each occurence of `b+` with `X`. My input `abc` should therefore be transformed to `aXc`. But I get: ``` $ echo a...
(more)
11 months ago
Comment Post #288544 Hmm. I assumed there was just a single obvious program that is the culprit. This was a big pacman update, so it's hard to say exactly why it was. I can keep an eye on it in future updates. What exactly would I do with `rmmod`/`modprobe`? Are there any useful keywords to look for in the pacman log?
(more)
11 months ago