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
dconf write /org/gnome/ desktop/ screensaver/ ubuntu- lock-on- suspend true desktop/ screensaver/ ubuntu- lock-on- suspend false
dconf write /org/gnome/
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?