[Hampshire] Probing for monitors

Góra strony
Autor: Hugo Mills
Data:  
Dla: Hants LUG
Temat: [Hampshire] Probing for monitors

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x57577100.hantslug.org.uk.11173': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: verify signatures failed: Unknown system error
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. ---