I have two computers, one running Windows 7 and one running Ubuntu 11.10. They are both connected to an Aten Masterview CS-1742 switching device, so that I can use the same keyboard, monitors, mouse, and USB peripherals for both machines.
The one problem is that whenever I switch away from, and then back to Windows, only one monitor is active.
So, every time I come back to windows, I have to open up my Nvidia settings dialog, which looks like this:

I click on "My display is not shown", which brings up this dialog:

I click on "Rigorous display detection", then my second monitor is detected, and everything is fine:

Obviously this is not ideal.
How do I get Windows to maintain both monitors when I switch back and forth using the monitor switcher?
