finding monitor or screen resolution in Linux with standard python module

José Antonio Salazar Montenegro jsalazar at madisa.com
Wed Mar 7 10:54:57 EST 2007


I'm using Beryl too, and xwininfo -root gives te correct resolution.

akbar 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.
>
>   

NOTA: La informacion de este correo es de propiedad exclusiva y confidencial. Este mensaje es solo para el destinatario indicado, si usted no lo es, destruyalo de inmediato. Ninguna informacion aqui contenida debe ser entendida como dada o avalada por MADISA, sus subsidiarias o sus empleados, salvo cuando ello expresamente se indique. Es responsabilidad de quien recibe este correo de asegurarse que este libre de virus, por lo tanto ni MADISA, sus subsidiarias ni sus empleados aceptan responsabilidad alguna.

NOTE: The information in this email is proprietary and confidential. This message is for the designated recipient only, if you are not the intended recipient, you should destroy it immediately. Any information in this message shall not be understood as given or endorsed by MADISA, its subsidiaries or their employees, unless expressly so stated. It is the responsibility of the recipient to ensure that this email is virus free, therefore neither MADISA, its subsidiaries nor their employees accept any responsibility.




More information about the Python-list mailing list