Ubuntu – 16.04 switches from default audio device when not available, but doesn’t switch back when the default becomes available

16.04automatic;defaulthdmisound

I have a laptop hooked up to a TV via HDMI. When the TV powers off, the audio output switches from HDMI to the built-in laptop speakers. This behaviour is new, as previous Ubuntu versions would always stay on the last device I chose (HDMI.) How can I control this feature so as to always have HDMI selected even when the TV is off?

Failing that, how can I disable the built-in laptop speakers so they are never available, hopefully forcing the audio output to HDMI?

Best Answer

So it turns out everything you think you're editing in /etc/pulse/default.pa file isn't doing squat until you copy it to your current user profile (~/.config/pulse/) Shout out to Nebuzaradan for discovering the solution: https://unix.stackexchange.com/questions/293399/how-to-set-hdmi-sound-output-as-default-on-ubuntu-16-04

Related Question