I am looking for a way to manage my HDMI port on my laptop. The features I am looking for are:
1) Swapping the audio source from the speakers to the HDMI output and vice versa when a HDMI source is plugged in
2) Setting the output resolution to that of the maximum supported by the external hardware while maintaining the original resolution on the laptops screen
3) Automatically doing all this so I don't need to manually play with this stuff any more
For a while now 1) was achieved via me editing the /etc/asound.conf alsa uses to switch from card 0 device 0 to what ever my laptops HDMI port was assigned to at the time. I want to automate this.
Next 2) has always been an issue. When ever I issue the `xrandr --output HDMI1 --auto` command it outputs to the TV/monitor as 1080p, but there are distortions on the screen and apps will not full screen due to the laptops resolution being 1280x768. The app will full screen to the laptops monitor, but the TV will only display the full screen application in the upper left corner and have distortions to fill the rest of the screen. I am after having the app fill my monitor, but upscale the display to fill the entire 1080p+ TV/monitor.
Is there a way/application to seamlessly automate the audio switching and properly upscale my laptops display to fill the external sources screen? Afterwards reverse the changes when the HDMI source is removed from the port.
Thanks
