Detecting dual monitors on startup

Hi, My target embedded system runs Redhat 7.3 & it can have display going to one monitor.. or there can be a dual head PCI graphics card(e.g nVidia) present which has the display going to two monitors. On startup(before X), i'll need to detect how many monitors are present & then run different programs based on that outcome.

How would i detect how many monitors are available on startup?

Thanks

Reply to
merrick
Loading thread data ...

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.