I'm using Ubuntu 17.10 on a laptop and I disabled the 'screen lock', but every time I closed and reopened the laptop lid, the system shows me the GDM login and asks for password. Is there a way to prevent this?
Asked
Active
Viewed 921 times
2
-
possible duplicate of https://askubuntu.com/questions/22735/disable-locking-the-screen-after-resuming-from-suspend – Mukesh Sai Kumar Dec 06 '17 at 07:14
-
My laptop never goes to 'suspend' state, the lid turn off only the screen. It's different. – cialu Dec 06 '17 at 07:39
-
This may be something that Gnome and XFCE have in common. – Trylks Dec 22 '17 at 00:43
1 Answers
1
This disables screen locking altogether, including when closing and opening the lid:
gsettings get org.gnome.desktop.lockdown disable-lock-screen # Get current setting, should be false
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'

Elijah Lynn
- 3,828