On Mar 7, 4:25 am, "akbar" <[EMAIL PROTECTED]> wrote: > I googled and searched in archive. All I can find is finding > resolution with Tkinter and pygame. Any idea to find monitor > resolution with standard python module? > I can check from output of: xprop -root > _NET_DESKTOP_GEOMETRY(CARDINAL) . The problem is when you use Beryl or > Xgl, it is not correct anymore because Beryl or Xgl set this value > from amount of workspaces multiplied by monitor or screen resolution.
Perhaps read-edid [1] or ddcprobe [2] would work since they read the info strait off the EDID. You could probably read the EDID from python (mabye through the xlib binding?), but no need to reinvent the wheel. [1] http://john.fremlin.de/programs/linux/read-edid/index.html [2] http://sources.gentoo.org/viewcvs.py/gentoo-src/Xorgautoconfig/ddcprobe/ Regards, Jordan -- http://mail.python.org/mailman/listinfo/python-list