xscreensaver-dbus - tie xscreensaver into dbus
version 1.0.3
xscreensaver & xscreensaver-dbus > ~/xscreensaver-dbus.log &
This program will ensure that xscreensaver locks the screen before your laptop goes to sleep, and will prevent the screen saver from running while video is playing.
It does so by implementing the "idle inhibition" DBus service and using the "inhibitor locks" feature of logind.
If you use xscreensaver, you may have noticed that it doesn't integrate very well with all the new & fancy desktop features.
jwz has resisted adding this kind of integration to the base program, saying (sensibly) that they would bloat the code and introduce potential security holes.
From version 5.43, xscreensaver includes xscreensaver-systemd, a stripped-down version of a program initially developed by Martin Lucina, which handles the logind interaction. Both of those versions link to libsystemd, which you may not have if you use elogind instead of the full systemd.
So I wrote this.
Martin Lucina xscreensaver-systemd
the Debian bug where the above program is first mentioned
"Is there a decent way to inhibit screensavers in linux?" on StackOverflow
the systemd "Inhibitor Locks" documentation
the "idle inhibition" spec
Gianni Ceccarelli <dakkar@thenautilus.net>
This software is Copyright (c) 2021 by Gianni Ceccarelli <dakkar@thenautilus.net>.
This is free software, licensed under:
The GNU Affero General Public License, Version 3, November 2007
To install App::XScreenSaver::DBus, copy and paste the appropriate command in to your terminal.
cpanm
cpanm App::XScreenSaver::DBus
CPAN shell
perl -MCPAN -e shell install App::XScreenSaver::DBus
For more information on module installation, please visit the detailed CPAN module installation guide.