Lock screen setting not respected for blank / suspend
Under GNOME settings, I've set the screen dim/blank values to be quite short to preserve power, but the suspend for much longer. Even though the setting for Lock screen after blank for
is set to a long interval, the screen locks immediately after turning blank.
See labarna's askubuntu issue reporting a similar situation on 17.10. His proposed solution does not really solve the initial problem:
- The switch he describes in the problem involves the lock setting for screen "blank";
- However, he answers with a switch for
ubuntu-lock-on-suspend
.
Seems like there's confusion in the way gnome-settings respects these two states.
It looks like the session is automatically suspended once the screen turns blank, and then the ubuntu-lock-on-suspend
flag kicks in.
If this is turns out to be the case - there should be a separate section in gnome-settings for suspend state, which can potentially include at least:
- Suspend on screen blank (switch / interval drop-down)
- Lock on suspend (switch)
Steps to reproduce:
- Open GNOME Settings
- Change
Power > Blank screen
to some short interval - Change
Power > Automatic suspend
to some long interval - Change
Privacy > Screen lock > Automatic screen lock
to some long interval - Wait for screen to go blank
- "Wake" screen - lock screen will appear
I'm using GNOME 3.30.1 on Ubuntu 18.10. These are my settings: