change my display output from my monitor to my TV connected by HDMI (via xrandr)
change the default sound output from analog to hdmi with:
pacmd set-default-sink alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3"
change steam to big picture mode using:
steam "steam://open/bigpicture"
The sound output for the rest of the desktop is changed to hdmi as I want (so I know the pacmd command is working), but Steam big picture still outputs the sound to my analog output. Sound settings in big pictures mode say that the output is set to hdmi, but it is not. However, if I set the sound output in Steam settings to analog and then back to hdmi, then the output actually switches to hdmi.
The display output for HDMI is turned completely off before running the script so this might somehow affect Steam's strange behaviour. The version of Ubuntu I'm running is 14.10.
I have written a script to do three things:
pacmd set-default-sink alsa_output.pci-0000_01_00.1.hdmi-stereo-extra3"
steam "steam://open/bigpicture"
The sound output for the rest of the desktop is changed to hdmi as I want (so I know the pacmd command is working), but Steam big picture still outputs the sound to my analog output. Sound settings in big pictures mode say that the output is set to hdmi, but it is not. However, if I set the sound output in Steam settings to analog and then back to hdmi, then the output actually switches to hdmi.
The display output for HDMI is turned completely off before running the script so this might somehow affect Steam's strange behaviour. The version of Ubuntu I'm running is 14.10.