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.
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.
Type the following in the terminal after the $ prompt:
gsettings get org.gnome.desktop.screensaver ubuntu-lock-on-suspend
If the result displayed is true then set it to false using:
gsettings set org.gnome.desktop.screensaver ubuntu-lock-on-suspend false
NOTE: The above question and this answer is for Ubuntu 18.04. Works on Ubuntu 24 LTS as well. Tested on April the 2nd 2025.
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.
In Ubuntu 19.04, there is finally a method to configure this without executing commands:
Open the "Settings" program, or start it with gnome-control-center.
Navigate to "Privacy" and click on "Screen locking".
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
You can disable the password from suspend in 18.04 by going into Settings -> Privacy -> Screen Lock -> [Click he Slider from On to Off]