[ubuntu] Stop laptop desktop from panning when switching back from external display

view full story

http://ubuntuforums.org – I have a dell xps 1530 laptop that I often connect to my 1080p tv via its HDMI connection. I can toggle between the three options for the display by hitting fn-f8 but it doesn't do a very good job of detecting the display. When switching from the laptop to the tv it will stay at the laptops screen size (1280x800) and so I have to bring up the nvidia X server settings control to change this (oddly setting to Auto works). When switching back I have a similar problem. The resolution correctly drops back down to 1280x800 but I'm then stuck with panning set to 1920x1080. I've had a bit (Hardware)