dreemurrs-embedded / Pine64-Arch

:penguin: Arch Linux ARM for your PinePhone/Pro and PineTab/2
691 stars 105 forks source link

Consider gnome-settings-daemon patch to disable sleep notification #559

Closed Schmiddiii closed 10 months ago

Schmiddiii commented 1 year ago

Currently Phosh always sends a notification if it is about to sleep. This is particulary annoying with the new Phosh 0.28 update that unblanks the screen on notifications. Phosh recommends a patch to gnome-settings-daemon that would allow to disable this notification. Please consider providing a patched version of gnome-settings-daemon that would disable this warning.

Steps to reproduce

Don't touch the phone for a while, the notification will show.

Expected behavior

No notification should show, the screen should just go dark.

Actual behavior

The notification shows up.

Logfiles and additional information

None.

Workaround

Note that there exists a workaround to disable waking up the screen as noted in the PMOS issue tracker and the Phosh Wiki:

gsettings set sm.puri.phosh.notifications wakeup-screen-triggers '[]'
Danct12 commented 10 months ago

Done in 32336b031942a5e7d9b50ba5977a54e04e6987cb. It's also added in our gschema.