View Full Version : Fetch information about attached monitors using python

October 6th, 2009, 08:03 AM
Hello World! I'm working on a piece of software, and I need to fetch a bit of information about the attached monitors to the system. I relatively easily fetched the screen size using Xlib, but I would like independent information about each monitor attached, this piece of software is being designed primarily for systems which use an nvidia card with TwinView enabled. I.E. Screen size is not representative of actual hardware, xserver thinks of it as one large screen instead of two monitors. Now I think an xlib function may have the info I need, if you could point me in the right direction, that would be great, thanks.