[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

how to determine number of displays



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

Hi list.

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
/etc/X11/xorg.conf ...

Thanks in advance

Rich Healey
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHwi3PLeTfO4yBSAcRArZKAJ4jVaPTXdB1rlZNEok9a0SopcmDMQCgi7vB
/1GTpcsZhMRa2b1iF1jYGOI=
=e7kL
-----END PGP SIGNATURE-----


Reply to: