~mil/sxmo-tickets#238: 
Update conky on periodic crust wakeup

Conky look fixed in an old version and is not kept updated on periodic wakeups.

Status
REPORTED
Submitter
~stacyharper
Assigned to
No-one
Submitted
2 months ago
Updated
2 months ago
Labels
feature

~stacyharper 2 months ago

it look like we do not trigger postwake.sh when leaving crust with rtc wakeups. Dunno if we do this for a reason

~stacyharper 2 months ago

~stacyharper 2 months ago*

And I think we still miss a hook that we'll use when waked up from sleep by crust

atm, conky will stay freezed until we sleep and wakeup again

~stacyharper 2 months ago

Or maybe we should just not freeze conky in the first place. If we want it running on earch rtc wake + crust + full wakeup

~stacyharper 2 months ago

this is way simpler : https://lists.sr.ht/~mil/sxmo-devel/patches/21898

Remove both kills to make conky to refresh itself naturaly on each kind of wakeups.

~proycon 2 months ago

it look like we do not trigger postwake.sh when leaving crust with rtc wakeups. Dunno if we do this for a reason

Yes, that was deliberate.. an RTC wakeup doesn't count as a 'full' wakeup. It's mostly meant to quickly check notifications and go back to sleep.

Or maybe we should just not freeze conky in the first place

But there was a good reason for doing so: see https://todo.sr.ht/~mil/sxmo-tickets/177 , but I wonder if I implemented that correctly now I reconsider this.

~stacyharper 2 months ago

But there was a good reason for doing so: see https://todo.sr.ht/~mil/sxmo-tickets/177 , but I wonder if I implemented that correctly now I reconsider this.

Oh right. I was not aware of this.

So, maybe my first attempt to complete missing cases and restarting conky on rtcwakeup would be better. But we still miss a hook to handle crust wakeups.

~stacyharper 2 months ago

Buuuut. Does conky really refresh screen while suspended ? o_O Should we stop and continue it on lock and unlock hooks rather than suspension ones ?

~stacyharper 2 months ago

buuut then, do we really want to not update conky while screen is locked ? We should rather have new hooks on sreen-off and screen-on

Register here or Log in to comment, or comment via email.