Why not add this to your code
Then make your window use the detected size?Code:import gtk, pygtk window = gtk.Window() screen = window.get_screen() print "width = " + str(screen.get_width()) + ", height = " + str(screen.get_height())
Just a thought :-)



