[plug] Detecting an external monitor before X starts

Michael Holland myk at myk.id.au
Fri Jun 8 09:00:05 WST 2007


On Thu, 7 Jun 2007, Steve Baker wrote:

> What I would like to do is to detect at system boot time (BEFORE X
> starts) if an external monitor is present, and pre-set the appropriate

If Bill's approach doesn;t suit, you want the EDID data that he mentioned.
'apt-get install read-edid' and grep the output of 'get-edid'.
  Or you could run the X server with appropriate args, so it just logs the
EDID data and quits.

HTH, Mike




More information about the plug mailing list