Skip to content

Latest commit

 

History

History
14 lines (8 loc) · 1.11 KB

README.md

File metadata and controls

14 lines (8 loc) · 1.11 KB

xscreensaver-systemd is now integrated in XcreenSaver 5.43. You probably want to use the version there, and get the latest XScreenSaver goodness while you're at it.

If you're desperate for a version that works (sort of) with an older XScreenSaver, see the old branch.


This is a small utility providing systemd integration for XScreenSaver.

When run from ~/.xsession or equivalent, this will:

  1. Lock the screen before the system goes to sleep (using xscreensaver-command -lock).
  2. Ensure the XScreenSaver password dialog is shown after the system is resumed (using xset to force the screen to power on followed by xscreensaver-command -deactivate).

This is implemented using the recommended way to do these things nowadays, namely inhibitor locks. sd-bus is used for DBUS communication, so the only dependency is libsystemd (which you already have if you want this).