in reply to Number of monitors attached
See wxPerl monitor size in pixels for idea (and place where to look, like xwininfo )