Xorg semi-autoconfiguration?

Latest response

Is there a way how to make Xorg configure the devices and screens based on the HW scenario (ie. without need to manually prepare whole xorg.conf) and automatically switch between them? We are using USB Displaylink devices and in case this device is not available it breaks the prepared configuration and user has to manually switch the xorg.conf for non-USBDP scenario and restart Xorg. It would be also great if we can prepare some "rule-them-all" configuration as user's are running on machines with different graphic cards.
Do we really need to script all this manually before we start the X server or do Xorg have some mechanism how to build xorg.conf file with respect to specified requirements eg. when USBDP is connected then add the Xinerama support into ServerLayout section etc?

Attachments

Responses