Don’t you have to add it to the /etc/fstab?
/swapfile swap swap defaults 0 0
Don’t you have to add it to the /etc/fstab?
/swapfile swap swap defaults 0 0
sure, i was tutoring how to resize swapfile if you installed already with it and want to make it bigger
Nate, just read your post here. Unfortunately I started another thread about swap because I didn’t see this one. How do you have systems-swap configured? Are you just using the swapFC functionality - or are you also using ZRAM or ZSWAP? I really like the idea of swap being dynamically allocated. Seems especially relevant to virtual machine usage.
I simply installed the thing, enabled and started the service and let it do its job. didn’t configure anything. i just monitored it with htop or bashtop to see how it is used/allocated.
Cool. Do you know if you had swap running already. Did you have to turn swapoff before starting up systemd-swap?
I’m going to give it try on one of my virtual machine sandboxes to see if it breaks anything. Thanks.
I had no swap enabled. swapoff would be a prerequisite I think.
Honestly, I’ve googled systemd-swap and just followed the first guide I encountered. Can’t remember what I did exactly
Cool, I did the same thing but it was a pretty sparse guide. I’ll just snapshot the drive and start playing around with it…
$ yay -S systemd-swap
installing it yes, but configuring it?
But the easiest way to get swap is here.
Out of curiosity, how does KDE do with battery life on a laptop (compared to, say, GTK)? I’ve been meaning to try it out for the longest time, but installing both side-by-side breaks my graphics drivers.
As you mention, side-by-side is a bit risky (trouble-wise) - but alternatives exist. Of course there are VM (Virtual Box, virt manager, VMware etc) and that can be a good way to try stuff. Another way is to create a different user to run a different DE - that way the configs don’t conflict. there is more info about the choices available “out there” - you might want to research it a bit.
Personally, I just install complete distros side-by-side and multi-boot, thus avoiding the potential problems - but that isn’t for everybody!
Can’t compare to GTK, but on this Aspire of some four, five years old, I get a good few hours of battery. Video calls will obviously drain it faster, as will watching a lot of videos but I don’t do that on the laptop anyway. I know, bit vague, but it’s a bit of a YMMV thing anyway…
I have tried them all and I don’t feel like I get any noticably different battery life out of one or the other to be honest.
I’ve also never really looked into that hard at all. That’s just a complete random guess.