You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Screensaver Inhibiting
Prior to Karmic, applications that wished to temporarily suspend the screensaver from coming up could periodically send the "poke" command to gnome-screensaver, either using the DBus API, or with the gnome-screensaver-command tool. This would cause gnome-screensaver to reset the idle counter, preventing it from reaching the preset value.
Beginning with Karmic, the proper way to suspend the screensaver is to use the gnome-screensaver DBus API "Inhibit" method. (Ref.: gnome-screensaver FAQ)
Unfortunately, many applications such as VLC, Mplayer and xdg-screensaver still use the "poke" command, which was deprecated and disabled in the current gnome-screensaver codebase. See the following bugs for more information:
Running systemd-inhibit as long running process is potentially risky (what happens if the python process dies abruptly?). Probably should not be a supported method.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Starting a list here for deprecated and/or unsupported ways for inhibiting screensaver or suspend. Could move to part of docs some day.
Gnome: gnome-screensaver-command --poke
Quote from https://wiki.ubuntu.com/DebuggingScreenLocking/HowScreenLockingWorks:
systemd-inhibit
Using systemd-inhibit as a heartbeat is not supported: System will start sleep even with:
Running systemd-inhibit as long running process is potentially risky (what happens if the python process dies abruptly?). Probably should not be a supported method.
Beta Was this translation helpful? Give feedback.
All reactions