XScreenSaver(1) | General Commands Manual | XScreenSaver(1) |
xscreensaver-systemd - lock the screen upon suspend, and inhibit screen-blanking during video playback.
xscreensaver-systemd [--verbose] [--version]
The xscreensaver-systemd program is a helper daemon launched by xscreensaver(1) for systemd(1) or elogind(8) integration. It does two things:
Blanking-related problems take two forms: failing to connect to D-Bus; and other programs requesting stupid things.
Only one program at a time can register with systemd(1) or elogind(8) for screen-saver-related events, so if another screen saver is running as a part of the desktop environment, xscreensaver-systemd will be unable to launch. This program has workarounds for Gnome and KDE, but if you are using something else, that might be a problem.
The proper way to fix this would be for Chrome to stop inhibiting once a video loops. That way your multi-hour movie inhibits properly, but your looping GIF only inhibits for the first few seconds.
Firefox does not have either of these problems.
Makes no attempt to inhibit the screen saver. Use VLC instead.
Makes no attempt to inhibit the screen saver. Use VLC instead.
Most programs fail to re-enable screen blanking if they crash or are killed while playing. We try to detect when this has happened, but that might not work with all versions of systemd, resulting in screen blanking remaining permanently disabled. If that happens, killing and restarting xscreensaver-systemd is a workaround.
X(1), xscreensaver(1), xscreensaver-settings(1), xscreensaver-command(1), systemd(1), sd-bus(3), elogind(8)
Copyright © 2019-2022 by Martin Lucina and Jamie Zawinski. 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.
Martin Lucina <martin@lucina.net>, 4-Jun-2019
6.06 (11-Dec-2022) | X Version 11 |