[pygtk] running gtk from crontab

Magnus Therning magnus at therning.org
Wed Dec 7 22:18:40 WST 2005


On Wed, Dec 07, 2005 at 02:26:00PM +0200, Nikos Kouremenos wrote:
>On 12/7/05, Loris Caren <loris at caren.demon.co.uk> wrote:
>> 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.
>
>if you import gtk in a non X11 terminal it raises

Could xvfb be a solution. It's used quite a bit in the Java community.

 http://www.javasource.org/GifServlet/linux.html

/M

-- 
Magnus Therning                    (OpenPGP: 0xAB4DFBA4)
magnus at therning.org
http://therning.org/magnus

Software is not manufactured, it is something you write and publish.
Keep Europe free from software patents, we do not want censorship
by patent law on written works.

Finagle's Second Law:
Always keep a record of data -- it indicates you've been working.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.daa.com.au/pipermail/pygtk/attachments/20051207/972dfdb4/attachment.pgp


More information about the pygtk mailing list