kworldclock

From: Harry Phillips (harry_at_hkjsfh.com)
Date: 06/08/04


Date: Tue, 08 Jun 2004 20:37:50 +1000

I have installed the kdetoys package on my Mandrake 10 machine. I want
the kworldclock to create a wallpaper that shows the sunlight on the
worldmap for me.

I have created a script in my home directory called worldmap that has
the following:

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

I setup crontab to run the script but it doesn't update the wallpaper.
If I try and run the script from a console it comes up with an error
message:

Can't determine DISPLAY

I think that is why cron can't run it but I can from Aterm or xTerm.
Does anyone have any ideas on how to get cron to update the map for me?

-- 
Regards,
Harry Phillips


Relevant Pages

  • Push New Wallpaper To XP Clients
    ... I need a VB script that upon startup, will look for a wallpaper in JPEG ... or if a reboot is required as these machines are rebooted each night. ...
    (microsoft.public.windows.group_policy)
  • RE: How do you change the background on a remote system?
    ... you cant set the wallpaper using this property. ... Hopefully someone else can whip up a script for you. ... or add the reg key setting to your logon script. ... >> Directory) and make the settings change. ...
    (microsoft.public.scripting.vbscript)
  • RE: Script to change desktop wallpaper?
    ... If you know VB or just VB script you may be able to use this in your ... The other way to change wallpapers is to redirect the wallpaper using Group ... -> Active Desktop and then Active Desktop Wallpaper allows you to specify a ... "Tadashi Inayama" wrote: ...
    (microsoft.public.windows.server.general)
  • Re: Gnome 3: change wallpaper via commandline
    ... I need a way to change the wallpaper ... via commandline. ... gconf anymore to store background image information) has stopped ... Cool script though. ...
    (Fedora)
  • Re: And now... a totally trivial question about wallpaper/background images for Lispers
    ... if any of you have any cool wallpaper, ... This script is written in Ruby ... # This program is free software; you can redistribute it and/or modify ... # GNU General Public License for more details. ...
    (comp.lang.lisp)