Creating an xorg.conf file on the fly
Oliver Grawert
ogra at ubuntu.com
Tue Sep 25 09:21:28 UTC 2007
hi,
Am Montag, den 24.09.2007, 12:12 -0400 schrieb Kailesh MUSSAI:
> I am curious if anyone know how Ubuntu creates the xorg.conf file.
during installation, the liveCD boot or a boot of a thin client this
file is created on the fly by the postinst maintainer script of the
xserver-xorg package. essentially what the installer and livecd/ltsp
bootscripts do is to call dpkg-reconfigure xserver-xorg which invokes
the mentioned postinst script. this script calls dexconf to get an
initial file but changes all values according to debconf database values
and does about 80% of the configuration work here. with newer releases
of Xorg a config file isnt needed anymore for driver, monitor and
videomode setup ... sadly that doesnt apply properly to keyboards and
mice yet so that we'll have to live with the config file until a proper
solution is found for these.
ciao
oli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070925/f83f8d2d/attachment.sig>
More information about the ubuntu-users
mailing list