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 #291732 Post edited:
Change the output to one block for better formatting
8 months ago
Edit Post #292217 Post edited:
8 months ago
Edit Post #292217 Initial revision 8 months ago
Answer A: Ubuntu system has lost DNS access
This is not a full answer, but my hypothesis is: Your system is configured to resolve domains exclusively through a single server running locally. Thereby, that local server can centrally control how DNS is handled, while no lookups can escape the server. This is probably because you tried to use ...
(more)
8 months ago
Suggested Edit Post #291732 Suggested edit:
Change the output to one block for better formatting
(more)
helpful 8 months ago
Comment Post #292085 I don't know if that's the source of this particular problem, but I would be surprised if it worked at all. Mesa/Vesa are the open source drivers. They're nice in that they're free as in freedom and you don't have to install any mystery binary blobs. But Nvidia/AMD don't support them much so these ar...
(more)
8 months ago
Edit Post #292176 Initial revision 8 months ago
Question 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?
(more)
8 months ago
Comment Post #292154 Since you are suggesting a pre-commit hook, does that mean there is no built in way in git to do this? Just curious, I think the hook method is great - thanks for sharing it.
(more)
8 months ago
Edit Post #292138 Initial revision 8 months ago
Question Is it a bad idea to pipe a script from curl to your shell?
Online, I often see someone tell people to run a command like `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"` (example from https://brew.sh/). The general pattern is that you download some shell script from an online location and send it straight t...
(more)
8 months ago
Edit Post #292137 Initial revision 8 months ago
Question Get notified when there are unmerged changes from origin
Sometimes I work with Git repos that have some changes fetched but not yet merged to the local branch. Occasionally I make commits without noticing this, which necessitates rebase/conflict resolution. I would like to be notified when I'm working with a Git repository such as this. Is there a way t...
(more)
8 months ago
Comment Post #292114 And, looks like if I set both OnBootSec and OnCalendar it will somewhat solve my problem. The OnCalendar will fire right after boot and fail, but a few minutes later OnBootSec will trigger again and this time succeed. My use case would be okay with an occasional fail, so long as there's a success soo...
(more)
8 months ago
Comment Post #292114 Thank you! For others - with systemd, the action has to be one command anyway, so if it's complex you have to wrap it in a script. So the way to skip the delay in manual runs would appear to be to run the script directly rather than the unit. You would still have the problem of annoying delays whi...
(more)
8 months ago
Edit Post #292107 Post edited:
8 months ago
Comment Post #292114 I'm guessing this will also delay `systemctl start myunit.service`. Is there a way to delay the timer only, and not the service itself, so that manual runs skip the delay?
(more)
8 months ago
Edit Post #292110 Post edited:
8 months ago
Edit Post #292110 Post edited:
8 months ago
Edit Post #292110 Post edited:
8 months ago
Edit Post #292110 Post edited:
8 months ago
Edit Post #292110 Initial revision 8 months ago
Answer A: How do you play Windows games on Linux?
Yes, you can run most Windows games on Linux through Wine. There are some specific caveats when using Wine, such as sandboxing (security), the choice of runner, drivers, video, controllers (gamepads), and whether to replace DirectX with Vulkan. Other than Wine, there are options such as VMs with a...
(more)
8 months ago
Edit Post #292109 Initial revision 8 months ago
Question How do you play Windows games on Linux?
A lot of games are made for Windows, and don't have an official Linux version. Can you play these on Linux? Asking specifically about games, not all programs, because games have a lot of additional requirements like graphics performance and anti-cheat. I am looking for a general overview, with ...
(more)
8 months ago
Edit Post #292107 Initial revision 8 months ago
Question How to delay systemd unit at boot/login?
I have a systemd unit that runs hourly, but when the computer has just booted/logged in it will "catch up" on the previous run, so it ends up firing right after I log in. Is there a way to make it wait a minute before attempting to start? It should only when catching up just after a boot. Otherwis...
(more)
8 months ago
Comment Post #291316 I've tried exactly this: ``` Wants=network-online.target After=network-online.target nss-lookup.target ``` But it fails right after boot&login with a DNS error. Doesn't nss-lookup already indicate that DNS should be working?
(more)
8 months ago
Edit Post #292106 Initial revision 8 months ago
Question 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 boots. I don't want to spot check - because the issue is sporadic, it will have to be more systematic. ...
(more)
8 months ago
Comment Post #292085 Well, the good news is that if your card is new, there's a good chance that it was just some half baked new feature that nvidia devs put in the driver, which they didn't test properly because they were rushing it out so that marketing could brag about it. But if so they'll fix it soon. You can try ro...
(more)
8 months ago
Edit Post #292105 Initial revision 8 months ago
Question Can you tell Linux to ignore a device until it finished booting?
I have a crappy USB hub. I connect some devices to this, like a USB microphone, which don't matter at all until I've booted successfully. Sometimes these devices cause an issue and my boot gets stuck (something like `Waiting for process: systemd-udevd`). If I disconnect the hub, boot, then connect...
(more)
8 months ago
Comment Post #292085 >No, I want just a single boot, with a single OS. So either Windows or Linux. I kind of have made a choice on Linux now, so if I can get this to work, I don’t wanna go back to Windows. A VM doesn’t solve any issues for me. Booting into Windows would only be for testing the hardware with different sof...
(more)
8 months ago
Comment Post #292085 >Do you know approximately what you changed Well, you're gonna love this: Around that time I coincidentally decided to make a new gaming computer instead of gaming on my workstation. On the new computer, I of course installed a fresh Manjaro (it was Arch before). Notably, I used the same nVidia GP...
(more)
8 months ago
Edit Post #292100 Initial revision 8 months ago
Question On a systemd distro, how to find out which boots were resume from hibernate?
If I run `journalctl --list-boots` I get a list of my previous boots. How can I tell which ones of these were resumes from hibernate, and which were booting "from scratch"? I want to do this because I'm troubleshooting an issue that happens when resuming from hibernate (actually it makes the re...
(more)
8 months ago
Comment Post #292085 >Dual-booting isn’t an option for me. I need everything to run side-by-side. You mean you want both the Linux and Windows to be running at the same time? That would be difficult. You could boot into Windows, and install a Linux inside a VM. Or Boot into Linux and install Windows inside a VM. No...
(more)
9 months ago
Comment Post #292085 The terminal isn't always useful, sometimes you just get a bunch of spam. But occasionally you get a specific error about some driver is missing etc. Btw, I had a similar issue recently where many games would appear to freeze for certain Wine runtimes when running full screen. They didn't actually...
(more)
9 months ago
Comment Post #292083 The reason I suggested an edit is that there is also the problem of "How do I install stuff on the hard disk when using a live OS, so I don't run out of RAM?" which is completely separate from your question, but the title sounds like it as well. I was trying to make it so that when someone asks that ...
(more)
9 months ago
Comment Post #292085 >Is it possible to create an NTFS partition on an otherwise Linux-formatted 2TB drive (got around 1 TB free), install Windows, test the environment, then delete the NTFS partition again, so that I give it back to the main approximately 2TB partition? Yes - the filesystem is per-partition. When cre...
(more)
9 months ago
Comment Post #292085 Ah, I see why you think it's a configuration issue. I don't so much suspect it's wine, that I think it's an update PopOS rolled out that works fine on a fresh install (which is probably how they test it) but breaks on a very specific configuration (such as the one you have). The idea is that other...
(more)
9 months ago
Comment Post #292085 Sorry, confusing terminology. By "host OS" here I mean the "outer OS", as in the one you are chrooting *from*. In this case, I was thinking the live OS, yes.
(more)
9 months ago
Comment Post #292085 Yeah - sorry, I don't really know a way to run steam from inside a live OS. Like I said, you could fiddle with mounting graphics etc. but the problem is when things don't work you don't know if you've found the bug or if it's just because you forgot something in your chroot setup. If your hypothes...
(more)
9 months ago
Comment Post #292091 Most mail checkers indeed try to detect concurrent runs, but I've noticed this is not always reliable. However, it's an interesting point and I'm glad you brought it up. Just to help organize things, I posted https://linux.codidact.com/posts/292092 - would you like to copy/paste your last bit ther...
(more)
9 months ago
Edit Post #292092 Initial revision 9 months ago
Question Forbid concurrent runs of a process
Suppose I have some hypothetical CLI program. It is important that only one instance of this program runs at any given time. When multiple instances run concurrently, bad things happen. Normally, the developer of the program should add some mechanism to prevent this, but let's say this one didn't ...
(more)
9 months ago
Edit Post #292086 Initial revision 9 months ago
Question Terminal: Continuously check mail, but not too often
I have a command `checkmail` that checks my mail. I have it configured to run hourly because I don't want to hammer the server too much. But, sometimes I am really at the edge of my seat for a response from someone, so I run it more often since I don't want to wait up to an hour. Surely there's...
(more)
9 months ago
Edit Post #292085 Post edited:
9 months ago