How Ubuntu installer auto setups XF86Config-4?

Fabio Massimo Di Nitto fabbione at canonical.com
Fri Oct 1 04:10:39 UTC 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Mark,

Mark C wrote:
| HI,
|

| phew! :)
|
| I've done the same for Ubuntu, but I would like to autodetect and auto
| configure X for him (like the installer does), it seems to installer
| does this after the first reboot, but I havn't worked out what script or
| programs are responsable for this.
|
| Could anyone advise me on how this is done?
|
| apart from running dpkg-reconfigure x86-xserver

This isn't impossible.. install ubuntu on the spare driver (like you
already did, right?).

Be sure to have: laptop-detect. discover1, xresprobe and mdetect installed.

Keep a copy of xserver-xfree86_4.3.0.dfsg.1-6ubuntu22_i386.deb
If you installed from cdrom it should be in /var/cache/apt/archive,
otherwise grab it from the network and put it somewhere.

there are several ways know to rerun autodetection, but i will give you
the one i usually use to test the package and simulate a fresh install.

apt-get --purge remove xserver-xfree86

NOTE that will take away also another package but don't be scared. It's
only a virtual (empty) package.

mv /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.old

and than dpkg -i xserver-xfree86_4.3.0.dfsg.1-6ubuntu22_i386.deb

Fabio

- --
<user> fajita: step one
<fajita> Whatever the problem, step one is always to look in the error log.
<user> fajita: step two
<fajita> When in danger or in doubt, step two is to scream and shout.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iQIVAwUBQVzYvVA6oBJjVJ+OAQLbiQ/+JNConUaFnN2vbZe/k00cjJNAtfc/pLcm
OLXwciUrsv0cde1aNHXoz/iN8N6yAG4tRwhr4I7lKPAEKptlc6d9C6hD8MBM/HnY
3bCwzGd/F7weuAyweBOs1UuPpHpydbdZuE8r4L2sITzoNegYTOcX/FyYHh29VB1k
K2nHbk53B/b9lBnkXsfyBGfyJTL4mbwVBFnv4YF0MpHPRswhchMipJBqolaadO78
yfxe7DOkifnWit9f6f6aAfANxprjIOJ0Qqca2rrjQ2Umw9dp/fdT0CT28hWRrHGS
2R+8xRe7vddD83YTqCes7cQL77inCuDFHn+MDih5iNMzqnP7z9CXmhUN3XWkxlkc
Vj1fLf50hwK2FqRUm3DctB7odj7G6fpzVYD46mttBE9CK14XbxC8+UMC3pOmavWr
KQMoAuYOEv+nv7B39fhetAuEMxPPKy5E+Q/TdzfLO5M3veB+zMzNp95MVDWGzvvv
jURVCnfD6JoMH8cZak5l6D1P67YixRmcWe3crTtpLDtoD5gBVpN5K71sNdyEAMOv
rAUxPMBY6t1TC6pGtLPzkDUkVMoMDqhiCLxTz6CxnbCtPrWcrjx5ckB6Yy+wgtGp
96cm57bpuncOZcl3Il/Iof+4WnuYD66FBdZ/kvfqnxnS3F4AFf62w4hFJmL/3UcY
og9A3noGKKA=
=SExE
-----END PGP SIGNATURE-----




More information about the ubuntu-users mailing list