Bug#791394: workaround
Michael Biebl
biebl at debian.org
Tue Jul 7 14:41:41 UTC 2015
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?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20150707/cd353284/attachment.sig>
More information about the pkg-gnome-maintainers
mailing list