Mobian on Nostr: Notes on the quest to get the alarm clock to wake up the phone from suspend: this ...
Notes on the quest to get the alarm clock to wake up the phone from suspend: this executed as user mobian actually resumed a L5:
systemd-run --collect --user --unit=alarm-clock --on-active="1m" --timer-property=WakeSystem=true gnome-clocks
Resuming without root permissions seems to work now (progress)!
There are still bugs, also saw
https://github.com/systemd/systemd/issues/29245Now, gnome-clocks "just" needs to call the required systemd timers to make the phone wake up on time...
Published at
2024-04-23 08:59:05Event JSON
{
"id": "ea7b720adda8ba41495df4b6073e5e166d363920987076e315462c58788153b8",
"pubkey": "1276e2d06899832b3fe51fd52ddef9070f443f5a8394d6388a364e59e8bb3300",
"created_at": 1713862745,
"kind": 1,
"tags": [
[
"proxy",
"https://fosstodon.org/users/mobian/statuses/112319708920490402",
"activitypub"
]
],
"content": "Notes on the quest to get the alarm clock to wake up the phone from suspend: this executed as user mobian actually resumed a L5:\nsystemd-run --collect --user --unit=alarm-clock --on-active=\"1m\" --timer-property=WakeSystem=true gnome-clocks\nResuming without root permissions seems to work now (progress)! \n\nThere are still bugs, also saw https://github.com/systemd/systemd/issues/29245\n\nNow, gnome-clocks \"just\" needs to call the required systemd timers to make the phone wake up on time...",
"sig": "178fcf00f6b26bf66744413a1908f61cdaa8ebf748fc2aa2a83cb25aeab4c501ac2874d410b6586487b2a02873cc1da26e86226147a2bae56e6645d459b9bd2c"
}