how to determine number of displays
-----BEGIN PGP SIGNED MESSAGE-----
I'm playing with X on my asus M6 notebook, debian Lenny with bits of
experimental and unstable to support KDE 4 (though i run E17 995 of the
time, just wanted to play with KDE).
Anyway, i use dual screens at work, and just builtin at home, i was
wanting to know if there's somethingi can poll before X actually fires
up to see what displays are attached?
My goal is to write an init script that wills start before entrance and
symlink an appropriate xorg.conf for the number of screens attached to
Thanks in advance
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----