Disable password request from suspend - 18.04

How can I disable password request after suspend in Ubuntu 18.04? I have already turned off the screen lock but that didn't fix it.

I am new Ubuntu user. There seems to be lots of information on how to fix this in older versions.


Solution 1:

For most Ubuntu distributions and versions try this in the terminal:

gsettings get org.gnome.desktop.screensaver ubuntu-lock-on-suspend
true

If the result is true then set it to false using:

gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false

Just remember to reset it before your cleaning person comes over for monthly work.

Solution 2:

Disable screen lock after suspend by installing dconf-editor

sudo apt install dconf-editor

then navigate to

org/gnome/desktop/screensaver and turn off ubuntu-lock-on-suspend.

enter image description here

Solution 3:

You can disable the password from suspend in 18.04 by going into Settings -> Privacy -> Screen Lock -> [Click he Slider from On to Off]

Solution 4:

In Ubuntu 19.04, there is finally a method to configure this without executing commands:

  1. Open the "Settings" program, or start it with gnome-control-center.

  2. Navigate to "Privacy" and click on "Screen locking".

  3. Disable "Lock the screen in standby".

Internally, it has just the same effect as the command mentioned in another answer here:

gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false