Disable locking the screen after resuming from suspend

Solution 1:

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.

alt text

And :

alt text

Solution 2:

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:

gsettings get org.gnome.desktop.lockdown disable-lock-screen
gsettings set org.gnome.desktop.lockdown disable-lock-screen 'true'

regards,