[Xorg] X server autoconfiguration
Matthieu Herrb
matthieu.herrb at laas.fr
Thu Aug 19 09:14:13 PDT 2004
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 ?
>
Since XFree86 4.3.99.something the X server is able to run without a
configuration file at all.
Otherwise a simple wrapper like
if [ ! -f /etc/X11/xorg.conf ]; then
Xorg -configure
mv ${HOME}/Xorg.conf.new /etc/X11/xorg.conf
fi
Xorg
will do the job too (and let you tweak the generated xorg.conf
afterwards if needed).
--
Matthieu Herrb
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 4071 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://lists.x.org/archives/xorg/attachments/20040819/1fbf96bf/attachment.bin>
More information about the xorg
mailing list