On 09/19/2016 06:00 PM, Manuel Amador (Rudd-O) wrote:
> 1. if PulseAudio ('s D-Bus session) is tied to a GUI session in X11 or
> Wayland,
> 4. and there is a spec-compliant screen saver on the same D-Bus session
> bus (GNOME's or KDE's, for example),
> 2. and at least one audio stream is playing to a sink, which has the
> HDMI profile selected (we will call this a "qualifying stream"),
> 5. then it may be plausible to use D-Bus messages to delay screen saving
> until all qualifying streams pause or stop playback.
>
The relevant D-Bus APIs to inhibit and uninhibit screen saving are:
method uint org.freedesktop.ScreenSaver.Inhibit(string application_name,
string reason_for_inhibit)
and uninhibit()
under org.freedesktop.ScreenSaver /ScreenSaver
--
Rudd-O
http://rudd-o.com/
signature.asc
Description: OpenPGP digital signature
_______________________________________________ pulseaudio-discuss mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/pulseaudio-discuss
