locking screen on suspend
Jonathan Stott
jonathan.stott at gmail.com
Sun Feb 20 16:46:23 CET 2011
On 20 February 2011 15:19, Ali Abdallah <aliov at xfce.org> wrote:
> From a script you can do the following:
>
> dbus-send --system --print-reply --dest=org.freedesktop.UPower
> /org/freedesktop/UPower org.freedesktop.UPower.*
>
> Replace * with Hibernate or Suspend; so before doing the above command you
> can lock your screen then call it.
>
> On thing also important to do before suspend/hibernating is:
>
> dbus-send --system --print-reply --dest=org.freedesktop.NetworkManager
> /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.sleep
>
> Regards,
> Ali
Thanks once again
Regards
Jon
More information about the Xfce
mailing list