GNOME Bugzilla – Bug 707649
screen blanking only works once
Last modified: 2013-09-09 13:30:21 UTC
Lock the screen -> the screen gets turned off as expected unlock the screen and lock it again -> the screen stays on restart gnome shell and it works again (one time) I've tracked this down to org.gnome.Mutter.DisplayConfig.PowerSaveMode not being reset when the screen gets turned on again. If I manually set it to 0 again after unlocking, blanking works again one time.
https://bugzilla.gnome.org/show_bug.cgi?id=696169#c40 *** This bug has been marked as a duplicate of bug 696169 ***
Oh sorry does not sound to be the same one.
Created attachment 254468 [details] [review] Monitor: don't shortcut set_power_save if the value is the same as the old one We don't get notifications from X11 when the mode is reset, so our cached value can get stale. To work around that, always forward requests to the backend (and let it deal with ignoring the change if wanted)
Created attachment 254469 [details] [review] Rename META_POWER_SAVE_UNKNOWN to UNSUPPORTED It conveys more clearly what this value means.
Review of attachment 254468 [details] [review]: OK.
Review of attachment 254469 [details] [review]: Way better.
Attachment 254468 [details] pushed as 016e2ae - Monitor: don't shortcut set_power_save if the value is the same as the old one Attachment 254469 [details] pushed as cacdaa0 - Rename META_POWER_SAVE_UNKNOWN to UNSUPPORTED