How to disable entirely the GNOME lock screen?
Asked Answered
H

3

7

I've already followed the method to deactivate automatic screen lock as explained in this article. However, when the screen turns off and I shake the mouse or press a key to wake it up, I'm still greeted with the lock screen (pictured below).

How can I disable entirely the Gnome lock screen, so that when I wake up the screen, it shows my desktop/apps and not this useless lock screen?

Please note that, unlike this question, I still want the screen to turn off after a period of inactivity, but I don't want the lock screen to show up when I wake the screen up.

GNOME lock screen

Homiletic answered 2/8, 2019 at 16:8 Comment(0)
H
4

The only way I found is to use a Gnome extension called Disable Screen Shield.

Homiletic answered 3/9, 2019 at 2:15 Comment(0)
G
7

Please try gsettings set org.gnome.desktop.lockdown disable-lock-screen true. It works on Arch, should work on Ubuntu. If you prefer GUI: dconf-editor > org > gnome > desktop > lockdown > …etc

Geller answered 2/9, 2019 at 13:15 Comment(4)
Thanks for the feedback! I believe this is the same parameter as going into Settings > Privacy > Screen Lock. It doesn't work.Homiletic
Did you try it or you "belive" only? Lockdowns are intented to be used in enterprise solutions so they are not visible in GUI.Teetotum
Did /you/ try it? The purpose of "disable-lock-screen" is to "Prevent the user to lock his screen" [Description as shown in dconf-editor]. It removes the lock button from the top-right menu. It doesn't do what the OP asked, I tried...Phonon
This parameter is a key factor in lock screen. It also works with false, if you have problems enabling the lock mechanism (like me).Advised
H
4

The only way I found is to use a Gnome extension called Disable Screen Shield.

Homiletic answered 3/9, 2019 at 2:15 Comment(0)
P
0

To disable it from command line (or any configuration script), run

gsettings set org.gnome.desktop.screensaver lock-enabled false

or alternatively

dconf write /org/gnome/desktop/screensaver lock-enabled "'false'"

Mind the quotes!

Phototherapy answered 19/6 at 20:28 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.