Different xorg for different configs

Russell Shaw rjshaw at netspace.net.au
Mon Jul 31 03:44:03 PDT 2006

Paul Kaplan wrote:
> I know how to use different server layout stanzas in xorg.conf to configure X 
> for different situations.  How would I get X to determine whether an external 
> monitor is attached to my system at boot time and then call the appropriate 
> server layout without any intervention on my part?
> I have a xinerama enabled config that works with my external monitor attached, 
> but leaves me with a largely inaccessible piece of my desktop when the 
> monitor isn't present.

I haven't seen that done. get-edid|parse-edid reads the edid from a monitor,
but it doesn't seem to have an option for getting the second monitor. You could
use that in a script if it was modified to be able to get the edid from both

More information about the xorg mailing list