Automatically select right sound output when plugging in HDMI
0
votes
1
answer
59
views
I'm using Fedora 40. I alternately plug in my monitor (without speakers) and my home theater system to my laptop's single HDMI port. I would like to automatically direct sound output to the home theater system if it's plugged in, and otherwise use the internal speakers. As it is, sound output automatically switches to HDMI if it was previously set to do so, regardless of which device is connected.
Is there something I could configure to remember the desired sound output per connected device, instead of treating all devices connected via HDMI the same?
aplay -L
lists different names when the different devices are connected, but wireplumber does not update its node properties from ALSA when hotplugging.
Asked by Max
(101 rep)
Jan 31, 2025, 08:26 PM
Last activity: May 14, 2025, 07:57 AM
Last activity: May 14, 2025, 07:57 AM