On Fri, Jun 25, 2010 at 5:24 PM, BR!j!TH <[email protected]> wrote:
> Hi,
> I have a script that dumb a image from kstars and then set it as a desktop
> background. I want to put it in crontab. Following is the script.
> What I found was the script is executing. The image is getting created but
> it fails to set as desktop background ( the second line in the script)
> somebody please help me
> starwall file
> #!/bin/bash
> #starwall file
> kstars --dump -width 1280 --height 1024 --filename="/home/brijith/kstar.png"

Try giving the full path to kstars.
If you don't know the path, you can find it using the command
which kstars
> /usr/bin/gconftool -t string -s "/desktop/gnome/background/picture_filename"
> "/home/brijith/kstar.png"
> echo "Done"
> crontab entry
> # m h  dom mon dow   command
> */1 * * * * env DISPLAY=:0.0 /usr/local/bin/starwall >Desktop/error.txt
>
>
> --
> ubuntu-in mailing list
> [email protected]
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>
>

-- 
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in

Reply via email to