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? I would still like to have the lock screen, even
blanking it, but without turning it off and keep using the external monitor speakers.
Currently I use Spotify from Flathub for playing music and when I make a break and leave
the music on, after few minutes it switches back to the internal speakers, that have worse
quality especially if I am away from the machine.
I have seen this same question raised in other forums , but couldn't see
solutions, so wanted to try to ask here in case anyone knows a way to deal with this.