edinbruh

joined 2 years ago
[–] edinbruh@feddit.it 1 points 12 hours ago* (last edited 12 hours ago)

The comment said that people that install systemd based systems and then fight systemd tools are stupid. In that instance a guy is dead set on using netplan and shell scripts on a system with networkd, when using just networkd would have been extremely simple. Maybe in a system without systemd it would have been easier to use netplan, but the guy decided to install systemd and then fight it, and then suggested other people do the same.

[–] edinbruh@feddit.it 1 points 21 hours ago

I did not, but it was a close call

[–] edinbruh@feddit.it 4 points 1 day ago (2 children)

Not today. I will not get distracted by horny posting...

[–] edinbruh@feddit.it 7 points 1 day ago (2 children)

Think harder, I know you can. Maybe reread the comment. Maybe compare those lines with that one line change.

Maybe notice that I specifically said to install a system without systemd if you don't like it, instead of fighting the tool you installed and then complaining.

[–] edinbruh@feddit.it 1 points 2 days ago

How do you tell the sex of a day old chicken?

[–] edinbruh@feddit.it 21 points 2 days ago* (last edited 2 days ago) (4 children)

Honestly, one of the worst parts of the Linux community is people trying to force 30 years old tools in systems built around systemd. If you want to use that old stuff then don't install the modern replacement, find a different distro built around that ideal instead.

I remember a post on serverfault or askubuntu about disabling DHCP default gateway but keeping DHCP address assignment on a tap interface, and bring it up at boot, and the accepted answers was "configuring DHCP in networkd/NetworkManager systems is almost impossible, here's how I did it" and it's three pages of cobbling together ifconfig and netplan with startup scripts, that work by pure chance.

Wanna see the actual full networkd configuration for that?

# /etc/systemd/network/tap0.network
[Match]
Name=tap0

[Network]
DHCP=ipv4

[DHCPv4]
UseRoutes=false

That's it, all that the post asked for is handled by six lines. "How do I discover that?" you may ask, because if it's three lines, but I have to dig for hours before finding it than it's not that useful. Simple, I go on the systemd documentation for .network files and search for DHCP. And this is a niche use case, the basic usage is readily available on the arch wiki as with anything else. Note, this does nothing for IPv6, and the interface will have IPv6 route configured, but this wasn't relevant to the post, and my home's IPv6 layout is "peculiar" so I have omitted it here.

[–] edinbruh@feddit.it 68 points 2 days ago* (last edited 2 days ago) (6 children)

Hmmm, I'm pretty sure you just need to systemctl disable sshd.socket and then configure it how you like. Don't trust every "solution" you see online, they are often full of bullshit written by people trying to fit a square peg in a round hole. I bet that kernel parameter thing is something to disable it on the first boot, before you get the chance to configure the thing properly.

Edit: @thorhop@sopuli.xyz wrote a comment about that option here, go to the thread if you are interested.

[–] edinbruh@feddit.it 4 points 3 days ago (1 children)

Can you sink in slurry? Isn't it like super dense. I remember a veritasium video where he tries to get submerged in cement but he just floats up to his waist because a human is not dense enough to sink in cement.

[–] edinbruh@feddit.it 6 points 3 days ago

What if you are just delaying dinner? I often have dinner after 22:00

[–] edinbruh@feddit.it 37 points 6 days ago (1 children)

He will be remembered

Thanks to the ram

[–] edinbruh@feddit.it 18 points 6 days ago

First question: what's your gender?

Second question: did you lie?

[–] edinbruh@feddit.it 7 points 1 week ago

Wow, so unexpected. Who could have seen this coming? 🙄

At least Google had the decency to write "sponsored" on the sponsored results, but with this it's not even an option.

 
 
 

I'm curious about trying meshtastic, and I was planning to buy the Wio L1 Tracker once aliexpress sales start. Though, I have read that the antenna isn't quite great, so I was thinking about buying a better one. Also, I'm buying the pro one instead of the oled kit because for 15 extra euros I get both the battery and the assembled case.

The meshtastic website recommends the gizont 10dbi whip antenna for 868 mhz (I'm in europe). The problem is that the antenna comes in sma-male or in rp-sma-male, and I have no idea what connector the tracker has. I know I could just buy an extra ipex connector, but I'd rather keep the original one, rather than spending extra money, considering I'm not even sure to catch any node in my area.

Another question I have is if it's reasonable to use a 10dbi antenna or if it's too high gain, as I see people use ~6dbi antennas for base stations. I'm in an urban area most of the times, but I also plan on using it for hiking, a couple of time in the summer. I know nothing about radios, so I have no idea of how impactful are these numbers.

 
 

cross-posted from: https://feddit.it/post/23350094

what are your experiences using game controllers with linux, I'm especially interested in the xbox series s controller because it's the one I have, but I'm also interested in other controllers. From my experience the latency is disappointing, but I have no way of proving it.

So, I primarily use this controller in bluetooth mode using xpadneo. There's definitely noticeable latency, but in most games it's fine, I played through a lot of games without bother... until I played Conker: Live and Reloaded. On the infamous race level, it took me like two days to pass it, and I only made some progress when i connected the cable and dropped BT. Even that was fine though, It was just one old game and just one level, there could be a number of things to blame for that. Come hollow knight, as the game got harder after beating Hornet, it quickly became apparent that I couldn't get far without the cable, save for traversing the world, still, not that bad... until I got to fight radiance. It has been extremely frustrating, I tried it for days and eventually I started just doing a few attempts every few days, without any improvement, finding it hard to get to the second phase. Today I visited my parents and in the late evening decided to try it on a windows computer I left here, mind you, the last time I played was more than a week ago. So, I start the game, plug the same controller in, with the same cable, I beat Radiance on the fucking first try, with half health bar left...

It literally happened 10 minutes ago, I'm still riled up, this doesn't make sense, this has to be latency, there is no way I got that better just like that, It is literally impossible.

So, after all that, I need to unfuck the latency of my controller someway... Ok, it's fine on most games, but this situation is... frustrating

 
 

Reposting my question here to cast a wider net

 
 
 
 

I'm using sunshine for remote gaming on my Linux PC. Because I use Wayland and don't have an Nvidia I use kmsgrab for capture (under the hood sunshine uses ffmpeg).

I have noticed that I can enter tty and kmsgrab will capture it as well. If it just captured after logging in my user I wouldn't be surprised, but it also captures the login screen.

I autostart it at login using my systemd user configuration (not systemwide) so it should just have my user's permission level. I get the same results if I put it in KDE's autostart section, so it's not a systemd thing.

Why does that work? Shouldn't you need special privileges to capture everything?

The installation instructions tells you to do sudo setcap -r $(readlink -f $(which sunshine)) is this the reason why it works? What does the command do exactly?

 

SOTTR can now run in proton-experimental (it used to crash due to a missing vulkan feature), but how does it compare to the native version?

Normally I would just use the native version, but got the game from epic, which doesn't provide the native build. So if I wanted to run native I would have to acquire the game from other sources (keep in mind that I own the game on epic), which is less than ideal. But I wouldn't do it if there's no advantage.

view more: next ›