XScreenSaver(1)

NAME
xscreensaver-systemd - lock the screen when the machine suspends.

SYNOPSIS
xscreensaver-systemd

DESCRIPTION
The xscreensaver-systemd program is a helper program to integrate xscreensaver with systemd(1). When run from ~/.xsession or equivalent, this will:

1:  Lock the screen before the system goes to sleep (using xscreensaver-command -suspend).

2:  Ensure the XScreenSaver password dialog is shown after the system is resumed (using xscreensaver-command -deactivate).
    This is implemented using inhibitor locks; sd-bus(3) is used for DBUS communication.

BUGS
Uses libsystemd.

SEE ALSO
X(1), xscreensaver(1), xscreensaver-demo(1), xscreensaver-command(1), systemd(1), sd-bus(3)

COPYRIGHT
Copyright © 2019 by Martin Lucina. Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

AUTHOR
Martin Lucina <martin@lucina.net>, 4-Jun-2019