xrandr multihead and window placement
Julien Cristau
jcristau at debian.org
Wed Sep 19 02:35:03 PDT 2007
On Wed, Sep 19, 2007 at 12:19:55 +0300, Marius Gedminas wrote:
> Well, you could narrow it down by looking at Xinerama information and
> seeing if it's reported correctly.
>
> If you have Python with Gtk+ bindings installed, you could try this
> little script:
>
> #!/usr/bin/python
> import gtk.gdk
>
> if __name__ == '__main__':
> screen = gtk.gdk.screen_get_default()
> n = screen.get_n_monitors()
> for i in range(n):
> rect = screen.get_monitor_geometry(i)
> print "Monitor %d: %dx%d at (%d, %d)" % (i, rect.width, rect.height,
> rect.x, rect.y)
>
Or simply xdpyinfo -ext XINERAMA.
Cheers,
Julien
More information about the xorg
mailing list