[Xorg] X server autoconfiguration

Alan Cox alan at lxorguk.ukuu.org.uk
Thu Aug 19 07:45:23 PDT 2004


On Iau, 2004-08-19 at 16:22, Francois Tigeot wrote:
> With 'X -configure', the X server is able to auto-detect which driver
> to use and write a sample configuration file.
> 
> This mechanism forces to run the server twice, the first time to generate
> a sample xorg.conf file which will be used untouched by the server in a
> second time.
> 
> Is there a way to have the server auto-detect the appropriate graphic
> driver at run time without having to use a temporary configuration file ?


Soething like


mv X Xsv

and set X to be

#!/bin/sh

if [ ! -e /etc/X11/xorg.conf ]; then
	X -configure
fi
exec /usr/X11R6/bin/Xsv


Software tools are good. Saves putting a million ugly special cases into
applications 8)






More information about the xorg mailing list