Is there a way to autodetect when a display is disconnected?
My question is basically this question, but that's rather old now, and desktop Linux is changing fast.
I have a laptop with NVidia graphics (GeForce 9800M GS), the proprietary drivers, and Ubuntu 11.04 (using Unity).
Can Twinview be automated so that when I disconnect my external monitor, it's automatically disabled? The reserve would be nice as well, but the first is more important.