Re: [Hampshire] Probing for monitors

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

Reply to this message
gpg: failed to create temporary file '/var/lib/lurker/.#lk0x574ad100.hantslug.org.uk.30299': Permission denied
gpg: keyblock resource '/var/lib/lurker/pubring.gpg': Permission denied
gpg: Signature made Tue Jul 24 14:10:54 2007 BST
gpg: using DSA key B2C27BC21C335860
gpg: Can't check signature: No public key
On Mon, Jul 23, 2007 at 09:38:49PM +0100, Jonathan Hudson wrote:
> On Mon, 23 Jul 2007 14:02:38 +0100
> Hugo Mills <hugo@???> wrote:
>
> >    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

>
> Maybe ddcprobe can do what you need (in that it fails predictably
> on my headless (but with video card) box, and detects the monitor
> correctly on the others).


That doesn't seem to useful here, unfortunately. There's always one
monitor plugged in (the flat panel in the lid of the laptop), so it
always succeeds. Thanks for the suggestion, though.

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
   --- Anyone who claims their cryptographic protocol is secure is ---   
         either a genius or a fool.  Given the genius/fool ratio         
                 for our species,  the odds aren't good.