Never Sceen Lock

When screen blank in Settings → Power → “Blank Screen” is set to Never, then no matter what lock time is set in Settings → Privacy → Screen Lock → “Lock screen after blank for”, locking will never occur. I think this is really bad. I expect, when I set a lock time, that it will lock after exactly that time no matter what screen blanking is doing. I think screen blank and lock time should not have anything to do with each other.

1 Like

Anyway, what is the point for the users to have their screen being simultaneously turned on, and also locked down?

And yes, that is bad, that there is no warning, like “Your auto locking will never occur, because…”. Can your send a feature request to devs?

Super +L will lock the screen manually.

Lock screen after blank implies the auto locking feature is based on when the screen blanks, however I do agree it could be more clear that this feature won’t work if screen blanking is disabled.

You read about filing a bug here:
https://docs.fedoraproject.org/en-US/quick-docs/howto-file-a-bug/

Fedora GDM bugs are here:
https://apps.fedoraproject.org/packages/gdm/bugs/

Gnome GDM issues are here:

The one use case that I can see for this is if you want to play music via an HDMI output while the computer is locked. Ref: https://gitlab.gnome.org/GNOME/gdm/issues/425

1 Like

Actually, part of the reason that I brought this up was that it is also confusing to Fedora newbies; they have to figure out that the lock time is not what they set, but the blank time plus the lock time and these two times are set in different places - Privacy and Power. How about having the lock time as a fixed time after the inactivity clock starts ticking and in the same place - Privacy - asking if the user wants to blank at some time before lock time. This keeps both related times in the same place and I don’t know that blank time has much to do with Power anyway. This would be obvious for a newbie to figure out. If the user didn’t select a blank time before lock time then they would occur simultaneously. If they selected a blank time a number of minutes before the lock time then you get first blank then lock, which is the way I use it now.

Also, there are circumstances when a user wants no blank and no lock e.g. watching a movie. With the present situation the user needs to go to both Privacy and Power and reset. If the two were combined under Privacy then the user only needs to set lock time to never which at present is somewhat confusingly “Screen turns off”. It took me several minutes and a few short experiments to figure out what was going on.

Also, vits95 is right; no point to simultaneously turned on and locked. I’m not proposing that, just that the two times not add and that the lock time should be fixed after the inactivity clock starts and the blank time some minutes before the lock with them both set in the same place.

I’ll file a bug/feature request at the How to file a bug :: Fedora Docs link you set above. Thanks.

I wrote a script to toggle screen blanking and assigned it to a keyboard shortcut to work around this.
https://paste.centos.org/view/796ad328

#!/usr/bin/bash
#Toggle idle-delay to enable/disable screen blanking in gnome
IDLEDELAY=$(gsettings get org.gnome.desktop.session idle-delay | awk {'print $2'})
#How long in seconds to set the idle delay when setting screen blanking to on
TIMER=300
#ICONS for the notifcation
ICON_ON="/usr/share/icons/Papirus-Dark/symbolic/status/my-caffeine-off-symbolic.svg"
ICON_OFF="/usr/share/icons/Papirus-Dark/symbolic/status/my-caffeine-on-symbolic.svg"
 
if [[ "${IDLEDELAY}" != "0" ]]
        then
                gsettings set org.gnome.desktop.session idle-delay 0   
                notify-send "Screen Blanking DISABLED" -i ${ICON_OFF}
        else
                gsettings set org.gnome.desktop.session idle-delay ${TIMER}    
                notify-send "Screen Blanking ENABLED, Idle-Delay set For ${TIMER} Seconds" -i ${ICON_ON}
fi

It’s not perfect but it works.

2 Likes

HI! “This paste will croak in 21 Hours.” If pasting the scripts is abolished here?

1 Like

Consider using https://paste.opensuse.org

1 Like

“What language is your paste written in?”

    COBOL

"You have been terminated!"

Thanks for your input.

Err… Also, I’m trying to file a bug report, but I don’t see exactly what is the best Red Hat “Component” to file under. There are an awful lot of them. Any suggestions? Or should I only be filing under GDM? and not on the Rad Hat site under Fedora?

I’m not totally sure, I would think upstream gnome/gdm.

2 Likes