ROTOPE~1 :yell: on Nostr: I went through a bunch of grief getting hibernate to work on Ubuntu, turns out that ...
I went through a bunch of grief getting hibernate to work on Ubuntu, turns out that some distros *really* don't want you using hibernate.
What I think did it was
(1) follow the arch wiki stuff so your bootloader has a good resume value
(2) check /sys/power/resume
(2) fix up /etc/systemd/logind.conf with s/suspend/suspend-then-hibernate
(3) fuck around with /var/lib/polkid-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla and /usr/share/polkit-1/rules.d/com.ubuntu.desktop.rules
Published at
2024-09-09 14:22:33Event JSON
{
"id": "ce391478160b21aca7b6a6513ad19848377c1426ea3e63e8e58f855b1683772f",
"pubkey": "137f55204fdaadfd3048306720f14df8fdfdbae76b6a9c596cfab1f355f559e5",
"created_at": 1725891753,
"kind": 1,
"tags": [
[
"proxy",
"https://mastodon.social/@rotopenguin/113108041981053302",
"web"
],
[
"p",
"9d6742ff43235eb568c0bc55fa8acf7e004ca06a7c9e0c3da2b089a098b769b9"
],
[
"e",
"01e1af7428056a8df879b282e945f7cd6bb2ebaa5dc5fa0371e7773e59a8f6a3",
"",
"root",
"9d6742ff43235eb568c0bc55fa8acf7e004ca06a7c9e0c3da2b089a098b769b9"
],
[
"proxy",
"https://mastodon.social/users/rotopenguin/statuses/113108041981053302",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://mastodon.social/users/rotopenguin/statuses/113108041981053302",
"pink.momostr"
],
[
"-"
]
],
"content": "I went through a bunch of grief getting hibernate to work on Ubuntu, turns out that some distros *really* don't want you using hibernate.\n\nWhat I think did it was \n(1) follow the arch wiki stuff so your bootloader has a good resume value\n(2) check /sys/power/resume\n(2) fix up /etc/systemd/logind.conf with s/suspend/suspend-then-hibernate\n(3) fuck around with /var/lib/polkid-1/localauthority/10-vendor.d/com.ubuntu.desktop.pkla and /usr/share/polkit-1/rules.d/com.ubuntu.desktop.rules",
"sig": "8f6b1ad8b715c020a464d167a9fff76e87cc97b4f924d29028279a1a19db83657b1c8d32da0720d1bf9f1ce71d561b4f9780af8497dff6dc973b05866a4dd8fc"
}