Internal/external laptop switching with custom resolution
I want to configure my laptop to use an external monitor if one is connected and the internal LCD panel otherwise. No TwinView. Sounds simple. And I got it working via "nvidia-settings" by enabling the external monitor only in "xorg.conf". Then, when the external monitor is disconnected, it automatically falls back to the LCD panel.
So far so good, except for one thing: the maximum resolution of the LCD panel is too high for my eyes. (I have low vision.) So when I use the external monitor, I want it running at it's highest resolution (1280x1024), but when it falls back to the internal LCD panel, I want it to use a custom resolution (1600x1024 even though the hardware can go higher). Is there a way to configure this without resorting to two "xorg.conf" files?