[Hampshire] Probing for monitors

Top Page
Author: Hugo Mills
Date:  
To: Hants LUG
Subject: [Hampshire] Probing for monitors

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x56b1c100.hantslug.org.uk.16771': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Mon Jul 23 14:02:38 2007 BST
gpg: using DSA key B2C27BC21C335860
gpg: Can't check signature: No public key
All -

Does anyone know of a way of determining which external VGA/DVI
ports on a machine have a monitor attached?

I want to put it in the start-up for X to work out which of my two
X configs I need to use, so I need something which is both scriptable
(command-line only, text output), and doesn't require X to be running.

Hugo.

-- 
=== Hugo Mills: hugo@... carfax.org.uk | darksatanic.net | lug.org.uk ===
  PGP key: 1C335860 from wwwkeys.eu.pgp.net or http://www.carfax.org.uk
           --- All hope abandon,  Ye who press Enter here. ---