One thing I like for MacBooks is that they are usable within a second after opening their lid when they were on stand by.
Ubuntu always requires me to enter my password when I resume from suspend, which can be very annoying.
How can I disable this?
Related bugs
It turns out that this really is undesired behavior, and there are several bugs related to this issue.
Bug #553646 on launchpad
Bug #643036 on GNOME bugzilla
Start gconf-editor (press ALT-F2, then type
gconf-editor
).Seach down to Apps/gnome-power-manager, then click on "lock".
You have two choices : either untick "suspend", or tick "use_screensaver_settings" (of course, you'd then have to go to screensaver preferences and remove the "lock screen" option.
And :
This will disable the locking, altogether, so you won't be able to lock the screen even if you wish to, but if you don't care, just enter these commands. The first commands just gets your current setting, which is likely false:
regards,
As mentioned in the comments, the solution mentioned above doens't work for Ubuntu 11.10. Please see How do I stop the screen from being locked on suspend? to 'fix' the issue on 11.10.
Here is a solution for Ubuntu / Lubuntu / Xubuntu 18.10.
First let's switch away from
light-locker
andxscreensaver
to the defaultgnome-screensaver
as used in Ubuntu:Now for
gnome-screensaver
, there is a nice setting to disable lock on suspend that is permanently configured this way:To see the other possible settings for
gnome-screensaver
:Finally, log out from the X11 session and log in again to make the changes effective. The computer will now be usable within a second after resuming from suspend. Great to save energy in my off-grid home in winter :-)
There is more work to do, beyond unticking “use screensaver settings”.
See Advanced preferences for GNOME Power Manager
I wanted to shut down monitor ("lock") and come back without asking for password.
Im using Ubuntu 18.04. After I tired every related settings:
I ended up crating a new hotkey (lets say Super+K) that runs this command:
which "activates the screensaver" in my case it is blank and turns off the monitor.
So I can decide whether I would like to activate basic or password protected lock.
Note Super+L activates lock by default: