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 <[email protected]>
>Para: [email protected]
>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.





_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to