12510198

joined 1 year ago

Nheko is my favourite client, it uses QT and is written in C++, its lightweight and works well on my machines with low resources, it also respects my system theme

[–] 12510198@lemmy.blahaj.zone -5 points 3 days ago

sudo sed -i 's/libalpm.so.14/libalpm.so.15/g' /usr/bin/paru

[–] 12510198@lemmy.blahaj.zone 1 points 3 weeks ago

I made this userscript to put the vote count in comments back beside the vote button because the new one is kind of hard to see, its not the prettiest script (idk much about javascript), but I've tested it in Librewolf with Violentmonkey and it does work, hope it helps someone else!

// ==UserScript==
// @name        New script blahaj.zone
// @namespace   Violentmonkey Scripts
// @match       https://lemmy.blahaj.zone/post/*
// @grant       none
// @version     1.0
// @author      -
// @description 8/24/2024, 3:32:47 PM
// @run-at      document-idle
// ==/UserScript==

function main ()
{
	var parent_comments = document.getElementsByClassName("comment list-unstyled"); 
	for (var i = 0; i < parent_comments.length; /*i++*/)
	{
		/*console.log(i);*/
		var comments = parent_comments[i].getElementsByTagName("article");
		for (var j = 0; j < comments.length; j++)
		{
			var upvote_button = comments[j].getElementsByTagName("button")[1];
			
			if (upvote_button.attributes["vote_count_patched"] != null)
			{
				i++;
				continue;
			}
			
			var post_votes = upvote_button.attributes[2].textContent.split(' ')[0];
			upvote_button.append(' ' + String(post_votes));
			upvote_button.attributes["vote_count_patched"] = true;
			i++;
		}
	}
}
/*var mutation = null;
var mutation_observer = new MutationObserver(function(m) { mutation = m; console.log("new mutation logged yo");} );
mutation_observer.observe(document, { childList: true, subtree: true }); */

var mutation_observer = new MutationObserver(main);
mutation_observer.observe(document, { childList: true, subtree: true});

main();
[–] 12510198@lemmy.blahaj.zone 9 points 1 month ago (1 children)

I think it kinda looks like a lollipop

 

It took about 23 hours to get it booted under its own power using a binary kernel. And on the 4th day (today) I've managed to get a custom kernel working. Gentoo has been very fun to use and to customize, and it's very fast and responsive, even on my old hardware and with a hard disk, browsing heavy webpages with Librewolf is no problem at all. I've been sleeping on Gentoo for WAY to long.

[–] 12510198@lemmy.blahaj.zone 2 points 2 months ago

I think its just the non-exit nodes that are needed as long as the traffic stays inside the tor network, I dont think an exit node gets involved at all, but I'm not 100% sure

[–] 12510198@lemmy.blahaj.zone 5 points 2 months ago (2 children)

I think staying inside the tor network helps reduce the load on exit nodes, which helps all tor users who need to access the clearnet. I think there is even a HTTP header that can be put on the clearnet site that will put a button on the tor browser that tells users that there is a onion available.

[–] 12510198@lemmy.blahaj.zone 59 points 2 months ago (1 children)

What a bunch of cringe edgy antinatalist nonsense. Think about the future, if you don't have kids, who are we gonna feed to the machine a few decades from now?

[–] 12510198@lemmy.blahaj.zone 7 points 2 months ago

I figure that the administrators of your homeserver could see your IP address, I doubt that it would be sent to anyone you are just chatting with.

[–] 12510198@lemmy.blahaj.zone 12 points 4 months ago (2 children)

Ive only had to setup a nvidia system once, so I might be missing some packages, but I think pacman -Rns nvidia nvidia-utils lib32-nvidia-utils should get rid of all of it.

[–] 12510198@lemmy.blahaj.zone 1 points 4 months ago

WARNING: doing this will absolutely DESTROY YOUR SYSTEM, PERMANENTLY!!!

But if you wish to continue, you can erase all the EFI variables using the rm utility, I dont think you will be able to completely zero out the chip on the system from inside of Linux as its read-only.

But to delete all the EFI variables, cd into /sys/firmware/efi/efivars, if this directory is not availiable, either the efivarfs is not mounted, or you are booted in legacy BIOS mode. But once you are in this directory, run chattr -i ./* as root or sudo to remove the immutable bit on all the files, then run rm ./* as root. This WILL break your system. Only do this if you know how to restore your system using like a chip programmer.

[–] 12510198@lemmy.blahaj.zone 1 points 5 months ago (1 children)

This happened to me too. I had to grab the box that comes up and resize it like I would with a normal window, mine glitched a lot when I tried it, try resizing it as far as you can, it will try and glitch back, but just keep fighting it until it becomes a usable size, then log out of Plasma and log back in, and then you can size it back down to a normal size. Hopefully there will be an official fix for this soon

 

Ive been tryna figure this out all day, Ive read the manual for systemctl and I didnt see anything about switch-root after the initrd target. I did see a --force option, however it didnt do anything. Before the upgrade to version 255, I would use a script or manually mount the partition, and then I would just do like systemctl switch-root /mnt and it would just switch to the other system in an instant as if I booted it normally. But ever since this update it just prints Not in initrd, refusing switch-root operation. and does nothing.

Is there a configuration file I can edit to allow switch-root after the initrd? Or is it like hard-coded and systemd would need patching and recompiling to allow for this? If so is there a way to just trick systemd into thinking its in the initrd and just let me switch-root?

I was dissappointed when I found out I couldnt just switch-root anymore. Any help, ideas, or suggestions will be much appreciated, thank you!

EDIT: To switch root in the new versions of systemd, you will have to mount the filesystem you want to switch root into to /run/nextroot and run systemctl soft-reboot, and it will switch into the root just like before.

view more: next ›