The Linux Thread - The Autist's OS of Choice

Caution: Nix-hate ahead.

Gave Nix a shot as a package manager over the weekend, first on a clean Void vm, then an EndeavourOS vm.
Void was a near complete failure. The official install script wouldn't even run. Not enough patience to try to figure it out. The package from the void repos installed at least, and after about two hours of troubleshooting a ton of pitfalls and just outright broken shit, I got to a system that could install shit like Brave and Telegram.
EndeavourOS took me about 10 mins.

I won't be using it though. It may be great as a complete system, it may be awesome as a development environment, but integrating it with a non-Nix system is hell. The docs are trash. Its an ever moving project. Its literally webdev-like, which explains why the docs feel like webdev hell. If you have a non-Nix system that you like (like my comfy void setup) 95% of the time you'll want to use flatpaks instead for proprietary software like Steam or gigantic things like Brave.

I'll try guix next (as a package manager) and purely from looking at documentation I am laughing my ass off at how much better it already feels. When GNU has you beat on the implementation of your idea, you fucked up.
 
The impression I get is that Red Hat is trying to "standardize," as a process to increase market share. Realistically this may be necessary to defeat the Windows monopoly.

Windows hasn't been a monopoly in the server space for ages.

More and more server crap is moving towards containers, which means the underlying server OS is becoming less and less relevant as the developers can use whatever Base OS/Libraries and other crap they want in the container.

It's kind of ironic that as everything moves more and more to cloud, and everything becomes less free and more corporate-controlled, Linux is the backbone of that system.
 
Windows hasn't been a monopoly in the server space for ages.
Or even close to it except maybe shortly after Novell died. IMO the only really solid server OSes MS ever had were NT 3.5.1 and 4.
 
I have a systemd question.

I need to turn on a kasa smart plug on system startup and wake, and shut it off at sleep/shutdown

i uses pip to install python-kasa which works using the command 'kasa --alias "plugname" on', which is launched at /home/username/.local/etc - I have that added to the PATH variable, but it needs to be run as user "username".
KDE made this easy by using the notifications system in settings, but Zorin OS is GNOME based and so uses systemd and I'm just confused. Granted It's also past one in the morning and I *was* back on a normal sleep schedule.
 
Last edited:
  • Thunk-Provoking
Reactions: Marvin
You can write a normal systemd service and specify User and Group under the [Service] header.

You could also use a user service, just be aware it’ll only run when that user is logged in, not when the system boots.

For the first example you typically wouldn’t use your user account to run this thing, you’d make a kasa service account for this specific service.
 
  • Like
Reactions: Marvin
You can write a normal systemd service and specify User and Group under the [Service] header.

You could also use a user service, just be aware it’ll only run when that user is logged in, not when the system boots.

For the first example you typically wouldn’t use your user account to run this thing, you’d make a kasa service account for this specific service.
It's only used to turn on or off a smart switch with the speakers plugged in, it could run when the user session is started or ended and on sleep wake.
 
It's only used to turn on or off a smart switch with the speakers plugged in, it could run when the user session is started or ended and on sleep wake.
So you want to control the switch when a computer boots and shuts down? You could try using Homeassistant. There's a native tp link kasa integration that would give you more granular control of your automations.
 
So you want to control the switch when a computer boots and shuts down? You could try using Homeassistant. There's a native tp link kasa integration that would give you more granular control of your automations.
That looks interesting, but since I literally just need to turn a smart plug with a python app off and on homeassistant would be like hiring a servent to turn your bedroom lights off when you go to bed when you could just use a long stick. I'll try to figure out systemd more, I just got home from vacation and trying to get organized so I haven't been able to focus on this problem as well yet.
 
1691008829935.png


We keep winning, Fedorabros.
 
I'm visualizing the venn diagram of "people why buy overpriced mac hardware" and "people who insist on running linux" and, well I'm surprised they intersect.
Hello.

Apple are currently making the best laptops by a considerable margin, but even before the switch to Apple Silicon they were very high quality compared to the garbage you have to tolerate buying windows laptops. Good displays, good keyboards, superb trackpads, decent battery life, and slim. For software development I prefer having the project folder on my NAS, connected over Wireguard from my laptop, where I use VSCode and ssh under macOS to do all the actual work while the (Linux) workstation I’m controlling with ssh builds etc on the NAS project folder.
 
Hello.

Apple are currently making the best laptops by a considerable margin, but even before the switch to Apple Silicon they were very high quality compared to the garbage you have to tolerate buying windows laptops. Good displays, good keyboards, superb trackpads, decent battery life, and slim. For software development I prefer having the project folder on my NAS, connected over Wireguard from my laptop, where I use VSCode and ssh under macOS to do all the actual work while the (Linux) workstation I’m controlling with ssh builds etc on the NAS project folder.
they literally had multiple generations of laptops with shitty butterfly keyboards that are rendered unusable by dust, and a model that committed seppeku if you opened the display with just a teeny bit too much force.

that's ignoring the $999 monitor stand that casts the entire pricing scheme of their pro products in question.
 
Last edited:
Hello.

Apple are currently making the best laptops by a considerable margin, but even before the switch to Apple Silicon they were very high quality compared to the garbage you have to tolerate buying windows laptops. Good displays, good keyboards, superb trackpads, decent battery life, and slim. For software development I prefer having the project folder on my NAS, connected over Wireguard from my laptop, where I use VSCode and ssh under macOS to do all the actual work while the (Linux) workstation I’m controlling with ssh builds etc on the NAS project folder.
Would anyone really shill for free on the Internet. Just go an obscure Internet gossip forum and shill for a trillion dollar megacorp for absolutely FREE.
 
Back