[H-GEN] kworldclock

Harry Phillips harry at tux.com.au
Tue Jun 8 07:37:45 EDT 2004


At a HUMBUG meeting a looong time ago I saw someone that had the 
kworldclock as their background.

It would automatically update itself every five minutes or so. They also 
had it so that the machine downloaded a cloud map and overlaid it.

All I want to do is generate the worldmap part every hour. I have 
created a script that runs fine in a terminal window but does not run 
from a console or cron.

The script looks like this:

#!/bin/bash
/usr/bin/kworldclock --dump -o /home/harry/wallpaper/map.jpg --size 1028x768


The error message I get when trying to run it from a console is:

Can't determine DISPLAY. Aborting.

Anyone know how to get kworldclock to output a dump using cron?

-- 
Regards,
Harry Phillips




More information about the General mailing list