olorin99

joined 1 year ago
[–] olorin99@kbin.social 1 points 7 months ago

I haven't really noticed much of a difference. I figured it was probably worth actually being able to wake the laptop from sleep rather than having to restart it every time.

[–] olorin99@kbin.social 2 points 7 months ago (1 children)

So to check what suspend states your laptop supports run cat /sys/power/mem_sleep. It should print something like s2idle shallow [deep] with the option that is enabled having [] around it. To change the enabled option run echo "s2idle" > /sys/power/mem_sleep.
https://wiki.archlinux.org/title/Power_management/Suspend_and_hibernate has more info.

[–] olorin99@kbin.social 4 points 7 months ago (5 children)

Many modern laptops no longer support S3 sleep at all. It is likely to be an issue with the bios rather than a linux project. On my laptop, with Ryzen 7 5825U, I had to give up on S3 and use s2idle. Also had to pass "pcie_aspm=off" as a kernel parameter because it would take ages to wake the ssd without it. Overall works ok. Not as good as S3 but better than nothing.

[–] olorin99@kbin.social 2 points 11 months ago

I have something similar but without the discover weekly and lastFM. Awesome idea. Guess that'll be this weeks project.

[–] olorin99@kbin.social 4 points 11 months ago

I usually end up with community playing in the background while I'm working on something else. No idea how many times I've rewatched it.

[–] olorin99@kbin.social 6 points 11 months ago (1 children)

Only when a link brings me there or though a ddg search. No more browsing.

[–] olorin99@kbin.social 9 points 11 months ago

Yes passing "by reference" is essentially the same as "by pointer" but with some syntactical sugar to make it easier to work with.

[–] olorin99@kbin.social 5 points 1 year ago

Clearly barbie is a product of nuclear falloff.