On Wed, Feb 11, 2009 at 6:48 PM, Alan Coopersmith <Alan.Coopersmith at sun.com> wrote: > Kyle McDonald wrote: >> I'm just wondering if it's possible to have a single Xorg config file >> that will handle both situations? I'd hate to have to login at the text >> console, copy in a saved config, and then restart a service or reboot >> the machine. > > xrandr 1.2 allows resizing the desktop and adding/removing outputs on the > fly - I've never tried with a docking station, but I have taken a running > laptop, plugged in a projector to the VGA output, run xrandr to activate > the output, and seen the picture just appear on screen. Google should > find more examples of using xrandr in situations like this - for the most > part, Xorg on Solaris, Linux & BSD should be the same here. > > -- > -Alan Coopersmith- alan.coopersmith at sun.com
I can confirm what Alan Coopersmith has said 100%. I'm doing the same with my two Amilo Laptops and an external 19" Sun TFT. The only thing which can happen is, that your Monitor doesn't get properly recognized, depending on the ddx module you need for your graphic chipset. (It could show something like "Beyond valid sync range ..." and freeze your system, no matter which sync ranges you specify in xorg.conf, if it exists.) But normally it should work well. Plug&play, dynamically, during runtime. Both screens are active at the same time (maybe a slight delay). And when you shut the laptop (to protect it from getting dusty), the laptop display switches off, the external DVI-connected display just stays on (maybe the screensaver mistakenly starts, but that's it). %m
