code: def set_screen_saver(self, timeout, interval, prefer_blank, allow_exposures, onerror = None):
          
          request.SetScreenSaver(display = self.display,
                                 onerror = onerror,
                                 timeout = timeout,
                                 interval = interval,
                                 prefer_blank = prefer_blank,
                                 allow_exposures = allow_exposures)
docs: See XSetScreenSaver(3X11).