[ubuntu] HDMI sound output working, but not automatically

view full story

http://ubuntuforums.org – Hi, Each time I use the HDMI output to connect my laptop and my TV everything works fine except the sound output. I have to go to sound preferences and change there the output to hdmi so that it works. My question is: is there a way to do this automatically?. I mean, it would be great if ubuntu automatically change the sound output to hdmi when I plug the cable. On Windows is that way, it's "direct". If there is no way to do so, do you think this should be automatic? Thanks!! (Hardware)