Hi

Am 07.07.2015 um 15:28 schrieb Daniel Pocock:
> 
> For those who have root or sudo, this is a workaround:
> 
> a) run the command
> 
>      sleep 10 ; pm-hibernate
> 
> b) before the 10 second sleep finishes, go to the status menu and lock
> the screen
> 
> If you don't do step (b) then the machine will not prompt for a password
> when it wakes up again
> 
> The pm-hibernate command is in the pm-utils package.

Please avoid the usage of pm-utils. It's no longer actively developed
and doesn't properly integrate with modern desktops using logind.

A much better workaround is
systemctl hibernate

This will trigger logind and make sure the screen is locked and
everything which installed a logind inhibitor is signalled.

You could even bind that command to a keyboard shortcut.

Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to