Robert Mihaly wrote:

> Hi everyone,
> 
> I have an external monitor connected via HDMI which has better sounding
> speakers than the internal ones. Sometimes I leave the machine idle while
> keep playing audio on it, but shortly after the lock screen kicks the
> external monitor is turned off (power saving I guess) and the audio
> switches back to the internal speakers. I use Fedora Workstation 31, Gnome
> 3.34.1, PulseAudio 13.0, Kernel 5.3.11.
> 
> Does anyone know about a way to prevent turning off the external monitor
> when audio is being played through the HDMI port? 

Yes, there's a well-known API to inhibit power-management for media players.

What application are you using to play audio?

For example, I know that vlc supports the api for when video is playing, but 
apparently not for audio-only unfortunately.
Reference: https://forum.videolan.org/viewtopic.php?t=144664

-- Rex
_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org

Reply via email to