sxmo-utils: Prevent conky to freeze when leaving hybernation v1 PROPOSED

Stacy Harper: 1
 Prevent conky to freeze when leaving hybernation

 2 files changed, 0 insertions(+), 2 deletions(-)
#480730 .build.yml success
It does not actualise itself on rtcwakeup and stay freezed after crust
wakeup (incoming calls) (until manually lock and unlock the screen).

But I agree we should find a better way
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.sr.ht/~mil/sxmo-devel/patches/21898/mbox | git am -3
Learn more about email & git
View this thread in the archives

[PATCH sxmo-utils] Prevent conky to freeze when leaving hybernation Export this patch

We want conky to refresh itself on rtc and crust wake up. So in fact for
all kind of wakeup.

Plus, conky was moved in the user xinit script.

This remove the conky stop and cont kills to make it work after
all kind of hybernation.

Signed-off-by: Stacy Harper <contact@stacyharper.net>
 scripts/core/sxmo_postwake.sh   | 1 -
 scripts/core/sxmo_presuspend.sh | 1 -
 2 files changed, 2 deletions(-)

diff --git a/scripts/core/sxmo_postwake.sh b/scripts/core/sxmo_postwake.sh
index 18e3488..fcc978a 100755
--- a/scripts/core/sxmo_postwake.sh
+++ b/scripts/core/sxmo_postwake.sh
@@ -7,7 +7,6 @@
. "$(dirname "$0")/sxmo_common.sh"

pkill -CONT conky

(sleep 15 && sxmo_resetscaninterval.sh) &

diff --git a/scripts/core/sxmo_presuspend.sh b/scripts/core/sxmo_presuspend.sh
index d569b5d..2ac81c2 100755
--- a/scripts/core/sxmo_presuspend.sh
+++ b/scripts/core/sxmo_presuspend.sh
@@ -6,7 +6,6 @@
# shellcheck source=scripts/core/sxmo_common.sh
. "$(dirname "$0")/sxmo_common.sh"

pkill -STOP conky
pkill clickclack

sxmo-utils/patches/.build.yml: SUCCESS in 25s

[Prevent conky to freeze when leaving hybernation][0] from [Stacy Harper][1]

[0]: https://lists.sr.ht/~mil/sxmo-devel/patches/21898
[1]: mailto:contact@stacyharper.net

✓ #480730 SUCCESS sxmo-utils/patches/.build.yml https://builds.sr.ht/~mil/job/480730
I'm not entirely sure about this. What problem does it solve? You're
saying there's a conky freeze after leaving hibernation? That would mean
the cont signal in postwake doesn't work?

The conky stop and cont signals were implemented deliberately for
https://todo.sr.ht/~mil/sxmo-tickets/177 .  Though now I'm looking at
it, I wonder if I did that correctly: the hooks seem to run only for
crust sleep (where they are a bit useless as we sleep anyway), we rather
want them for normal lock and I guess we should implement that rather
then what you suggest here?

You're right that we moved conky to the user scripts, but sending
signals shouldn't hurt if it there's no conky running.


Maarten van Gompel (proycon)