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
I noticed that there are currently two flags for inhibiting screen idle, one based on whether a window is full-screen, and another for when audio is playing. A third option could be to listen for dbus events org.freedesktop.ScreenSaverInhibit and Uninhibit. The currently available flags --not-when-fullscreen, and --not-when-audio are not suitable for users who want their screens to dim when audio is playing in the background, but don't want dimming while watching a non-fullscreen video in e.g. a browser. xfce-screensaver describes similar functionality in their docs:
Inhibit
Request that saving the screen due to system idleness be blocked until UnInhibit is called or the calling process exits.
Here is an excerpt from dbus-monitor when starting and pausing a video in firefox:
I noticed that there are currently two flags for inhibiting screen idle, one based on whether a window is full-screen, and another for when audio is playing. A third option could be to listen for dbus events
org.freedesktop.ScreenSaver
Inhibit
andUninhibit
. The currently available flags--not-when-fullscreen
, and--not-when-audio
are not suitable for users who want their screens to dim when audio is playing in the background, but don't want dimming while watching a non-fullscreen video in e.g. a browser. xfce-screensaver describes similar functionality in their docs:Here is an excerpt from
dbus-monitor
when starting and pausing a video in firefox:And an excerpt for playing/pausing a video in vlc:
The text was updated successfully, but these errors were encountered: