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
example:
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)
Regards
Régis
_______________________________________________
pygtk mailing list [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://www.async.com.br/faq/pygtk/