The Linux Thread - The Autist's OS of Choice

Really, is:
Code:
python3 -m venv yt-dlp
# Module venv not found.
# Fuck
sudo apt install python3-venv
python3 -m venv yt-dlp
cd yt-dlp
. ./bin/activate
pip install yt-dlp
Really so hard?
obviously you can also replace pip install yt-dlp with git clone https://github.com/yt-dlp/yt-dlp.git ; cd yt-dlp ; pip install . and there are a few other modules you might want.
I liked running pip install --user yt-dlp, but apparently that's now outdated or insecure or some other shit and the system complains with an error. If I wanted to invoke yt-dlp or other Python programs the old fashioned way, I now need to add venvs to $PATH or set up shell scripts as aliases for them.

PEP 668 – Marking Python base environments as “externally managed”​

Author: Geoffrey Thomas <geofft at ldpreload.com>, Matthias Klose <doko at ubuntu.com>, Filipe Laíns <lains at python.org>, Donald Stufft <donald at stufft.io>, Tzu-ping Chung <uranusjr at gmail.com>, Stefano Rivera <stefanor at debian.org>, Elana Hashman <ehashman at debian.org>, Pradyun Gedam <pradyunsg at gmail.com>

PEP-Delegate: Paul Moore <p.f.moore at gmail.com>
I hate every single one of these people.
 
I liked running pip install --user yt-dlp, but apparently that's now outdated or insecure or some other shit and the system complains with an error. If I wanted to invoke yt-dlp or other Python programs the old fashioned way, I now need to add venvs to $PATH or set up shell scripts as aliases for them.


I hate every single one of these people.
I've never used pip --user in recent memory. Everything has too many dependencies so it's just venv time.
In very rare cases where the packages in my distro are sufficient then I'll use them that way, but that's pretty rare.
 
I liked running pip install --user yt-dlp, but apparently that's now outdated or insecure or some other shit and the system complains with an error. If I wanted to invoke yt-dlp or other Python programs the old fashioned way, I now need to add venvs to $PATH or set up shell scripts as aliases for them.


I hate every single one of these people.
I hate everything about python.
 
[monitor issues]
Are you trying to extend the displays or duplicate them? X11 or wayland? Have you tried this with 2 monitors and if so did they have the same issue? That this happens with multiple gpus seems almost absurd so I'm betting there's some esoteric problem. Have you / can you boot into a live usb and see if it still happens there?

Anyway without more information my best guess is some kind of DRM/HDCP bullshit. If I'm right IMO you should be looking at stripping HDCP from the TV signal. Also KVM switches ("hdmi switchers") have some downsides (particularly as it relates to HDCP) so it may not be as cut-and-dry as "spend $30 on hardware to fix the problem completely".

I'm well aware, hence why I was just focusing on the 'main' machine in my post. If you extrapolate it to the entire home network,
Did I misunderstood you when you said
I'm only focusing on one machine directly exposed to the Internet here,
? I took it to mean one computer plugged directly into your ISPs hardware.

Regarding the rest of your post I think the best option is something like pfsense installed on libre booted hardware. No, it's not as efficient as something modern but a low end core 2 quad is like 60w and I'm not so broke that one lightbulb is going to cause me to go hungry. If anything $1/mo or whatever is pretty cheap for some piece of mind.
 
Bit obvious, but none of the xorg-server forks, Wayback or XLibre, are really ready for gaming. Wayback doesn’t have mouse wrapper support, meaning you’ll get a spinny mouse that makes any WINE that uses it unplayable. XLibre crashes or freezes games, and can even freeze the OS if you switch virtual desktops too much. For the foreseeable future, Xorg will be king. Wayback uses XWayland, seems more minimal than XLibre, and may become the norm.
Also,
>Picom has over 603 forks
What the hell are we doing people?
 
When the easiest way to set up a service written in python is to make a docker and just root-install all the dependencies as a big blob because shit just breaks with venvs or --user, maybe your ecosystem is garbage and needs to be overhauled entirely.
You'd think people would have learned from RPM hell.

Also I think this will just get worse with people using LLMs to code shit pulling in libraries they don't really need until PyPI forms fucking Dante's Inferno with how many cross-dependencies there are.
 
Wayland implementations for Xorg window managers suck ass too. Almost none of them are portable, besides Sway, and they have fewer features than their X equivalents. RiverWM upstream loves to break their config every major release, and it's not a drop-in replacement for bspwm. It doesn’t even follow the binary tree model.

Dwl has quirks too, with the config.h code being way more strict than dwm, and it’s not really 1-to-1. There are fewer patches available because you have to port everything yourself. Hikari is dead, so no cwm there.

Wayfire does a really good job at replacing cwm and Compiz however, but it has fewer plugins than Compiz. Not a problem though, because it has some really nice plugins like per-window zoom, a useful expo mode, or per-workspace wallpaper. In my experience, Wayfire is the best window manager for Wayland. The documentation is decent, upstream is focused on stability, the config is easy to modify and understand, and it has some really nice effects.

Hyprland is really overrated. It relies way too heavily on hyprctl, which requires all sorts of workarounds for stuff like tmux because it doesn’t transfer environment variables. It also relies too much on its own daemons and D-Bus. Suffice it to say, it’s superbloated. It pulls in so many goddamn dependencies. And because it’s so active, upstream ends up breaking stuff every update.

I also hate how so many of them moved to Codeberg or GitLab. It fragmented the communities around them,already small as it is, making it really annoying to look up support for issues. What was even the point of this?
 
I hate everything about python.
Oh good, I'm not the only one. I thought I was just stupid. Any time I've downloaded a program off Github and it's a Python script, I have no idea what to do with it. Some time ago I messed around with a program to convert text files in a particular game to a readable format, and the instructions they give for installing it just did not want to work. I tried for like an hour using all sorts of pip and python3-pip and venv commands and whatever before I got the idea to just copy the commands they were giving to call on and activate the Python script into the form of its own separate Python script and run that from the terminal, and that finally worked.
 
Oh good, I'm not the only one. I thought I was just stupid. Any time I've downloaded a program off Github and it's a Python script, I have no idea what to do with it. Some time ago I messed around with a program to convert text files in a particular game to a readable format, and the instructions they give for installing it just did not want to work. I tried for like an hour using all sorts of pip and python3-pip and venv commands and whatever before I got the idea to just copy the commands they were giving to call on and activate the Python script into the form of its own separate Python script and run that from the terminal, and that finally worked.
A long time ago you'd install python, and just run `python script.py`

Many years of heaping on shit later you get where we are today. It reminds me of how bad Java got before it stopped being used outside enterprise SAAS & Android.
 
A long time ago you'd install python, and just run `python script.py`
I still do that. If your "project" in python is longer then a file, you should consider using a different language.
Many years of heaping on shit later you get where we are today. It reminds me of how bad Java got before it stopped being used outside enterprise SAAS & Android.
You know what? Now that you've mentioned Java, maybe it's a good thing, that the Rust-containment zone exists.
 
Bit obvious, but none of the xorg-server forks, Wayback or XLibre, are really ready for gaming. Wayback doesn’t have mouse wrapper support, meaning you’ll get a spinny mouse that makes any WINE that uses it unplayable. XLibre crashes or freezes games, and can even freeze the OS if you switch virtual desktops too much. For the foreseeable future, Xorg will be king. Wayback uses XWayland, seems more minimal than XLibre, and may become the norm.
Also,
>Picom has over 603 forks
What the hell are we doing people?
What version of Xlibre are you running? 25.0.0.8 fixed a lot of things and the AUR version is managed by someone tryi g to sabotage it
 
On python packages. That kind of thing is why I don't like distros that aren't rolling release. If I can just have my actual package manager handle it, it's so much better.

On the state of Wayland compositors. dwl is definitely not up to snuff with dwm. River, feels somehow like it's even harder to implement features than dwl. At least for some things.

Speaking of hyprctl, it's kind of crazy saying hyprland relies on hyprctl too heavily. When everything is done in river with riverctl and rivertile (I can't remember if that is their name). Hyprland is definitely bloated. But it really doesn't have a choice.

At least if you don't want to leave the end user putting together absolutely everything to have a working environment. Also the breaking on updates hasn't really been a thing for a while.

When major changes would happen earlier on, you would pretty often have to change something in your config. Now it's pretty rare, if ever. And when it does happen you get a banner at the top of the screen telling you what you need to do to fix it. Which is usually changing a word.
 
? I took it to mean one computer plugged directly into your ISPs hardware.

Regarding the rest of your post I think the best option is something like pfsense installed on libre booted hardware. No, it's not as efficient as something modern but a low end core 2 quad is like 60w and I'm not so broke that one lightbulb is going to cause me to go hungry. If anything $1/mo or whatever is pretty cheap for some piece of mind.
Yeah, that was the idea, sorry if my wording was poor. On that note, I'm looking at getting a 3050 Micro as a dedicated firewall box. It uses about 11-14W on idle so it can definitely serve year round without affecting my power bill in any meaningful way. It has only one ethernet port but a splitter / NIC / USB-to-ethernet type thing should resolve that. Will snag one soon and let you know how it goes.

I also hate how so many of them moved to Codeberg or GitLab.
I've actually become quite partial to Gitea recently after finding out the company I work for uses it as their in house git service. Was honestly surprised they didn't spring for enterprise features and instead built their own hosting from the ground up. Sometimes you get pleasantly surprised by finding FOSS in unexpected places.
 
It was the AUR version, and I'm seeing massive sperging out in the comment section. The hell is going on?
The short version is that the AUR version seems to be maintained by some sort of troon who is very slow to release updates and makes changes that breaks things, and when asked to fix things responds with hostility. And when Xlibre tried to set up their own version (xlibre-xserver) he moved to get it removed. I believe Xlibre set up their own repository you can add to your sources list.
 
The short version is that the AUR version seems to be maintained by some sort of troon who is very slow to release updates and makes changes that breaks things, and when asked to fix things responds with hostility. And when Xlibre tried to set up their own version (xlibre-xserver) he moved to get it removed. I believe Xlibre set up their own repository you can add to your sources list.
very troon like behavior if you ask me.
 
Speaking of hyprctl, it's kind of crazy saying hyprland relies on hyprctl too heavily. When everything is done in river with riverctl and rivertile (I can't remember if that is their name). Hyprland is definitely bloated. But it really doesn't have a choice.
Sure, river has it worse in that regard. But, it doesn't pull in Systemd like Hyprland does - from what I'm seeing? Also, wayfire is able to have more features than either of them and doesn't pull in systemd. Way less depends too.
 
The short version is that the AUR version seems to be maintained by some sort of troon who is very slow to release updates and makes changes that breaks things, and when asked to fix things responds with hostility. And when Xlibre tried to set up their own version (xlibre-xserver) he moved to get it removed. I believe Xlibre set up their own repository you can add to your sources list.
very troon like behavior if you ask me.
I doubt a troon would name his account "Vitalii Kuzhdin". He's just Ukrainian.
 
Back