Comment 124 for bug 1252121

Yanpas (yanpaso) wrote :

dconf write /org/gnome/desktop/screensaver/ubuntu-lock-on-suspend true
dconf write /org/gnome/desktop/screensaver/ubuntu-lock-on-suspend false
This two-line script didn't solved my problem...
The last workaround I've invented is to change Command "suspend" from Gear Menu to:
   echo <yourpassword> | sudo -S pm-hibernate

Any suggestions how to do it?