#!/usr/bin/python from Xlib.display import Display from Xlib import X disp = Display() root = disp.screen().root