[pygtk] Fullscreen on second monitor
craf
pyclutter at gmail.com
Sun Dec 25 23:21:13 WST 2011
Hi Thomas.
The problem may be related to the distribution of ubuntu and the type of
video card installed.
I have a Ubuntu 9.10 and ATI video card, and your code recognizes me 2
monitors. But if I run it on a newer version of Ubuntu does not work.
That's why I use a distribution as old as the newest, I do not recognize
the second monitor.
Regards.
Craf
>-----Mensaje original-----
>De: Thomas Güttler <guettli at thomas-guettler.de>
>Para: pygtk at daa.com.au
>Asunto: [pygtk] Fullscreen on second monitor
>Fecha: Sat, 24 Dec 2011 23:26:27 +0100
>Hi,
>how can I show the fullscreen window on the secondary monitor?
>At best, the fullscreen mode should start on this screen where,
>the current (not fullscreen) application is running.
>At the moment the fullscreen is on my laptop, and not on the
>secondary monitor.
>With pygtk I can't seem to find a secondary screen:
>
> display_manager = gtk.gdk.display_manager_get()
> for display in display_manager.list_displays():
> print display
> for num in range(display.get_n_screens()):
> screen=display.get_screen(num)
> print 'screen', screen
>
>output:
><gtk.gdk.DisplayX11 object at 0xa74ddec (GdkDisplayX11 at 0xa34b008)>
>screen <gtk.gdk.ScreenX11 object at 0xa74dd24 (GdkScreenX11 at 0xa34e0d8)>
>I use Ubuntu 11.10.
More information about the pygtk
mailing list