[pygtk] running gtk from crontab

Regis FLORET r.floret at laposte.net
Thu Dec 8 21:52:22 WST 2005

Le mercredi 07 décembre 2005 à 10:39 +0000, Loris Caren a écrit :
> Does anybody know if it is possible to run (py)gtk scripts that don't 
> need a GUI from crontab or from a non X11 terminal? This might seem a 
> daft requirement, but I'm using the pygtk image processing 
> capabilities to do some batch processing for images that I don't need 
> to display.

Try to launch it with the --display option

	my_program --display=:0

where :0 is your X server.

See the X-Window documentation for more informations (eg starting a
program with a remote X server)



More information about the pygtk mailing list