My laptop with Ubuntu 19.04 detected and set my HDMI output on every boot. But since I upgraded to 19.10, I need to set it manually every boot as follows:
I already tried every single solution proposed in How do you set a default audio output device in Ubuntu 18.04?, but apparently there's something different in 19.10. What I did specifically:
$ pactl list short sinks 9 alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1 module-alsa-card.c s16le 2ch 48000Hz SUSPENDED $ pactl set-default-sink 'alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1'
- Add either the device number and device name in
set-default-sink 9 and set-default-sink alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1 and set-default-sink 'alsa_output.pci-0000_00_1f.3.hdmi-stereo-extra1'
Comment the line
Switch profiles in PulseAudio Volume Control to HDMI2.
None of these persisted after reboot.