2

I have a crontab job set. It is a script to change the Desktop background wallpaper every 3 minutes. It was perfectly working before upgrading from Hardy to Lucid. When upgraded to Lucid, the wallpaper changes only when I login. It shows new wallpaper everytime I logout and login again or after restarting. It shows the same wallpapers which were set as the cron job script path.

Is crontab feature changed in Lucid? What is happening? Please help.

8128
  • 28,868

3 Answers3

1

Does your script include a call to gconftool-2 to set the wallpaper? This relies on certain gnome / dbus environment variables being set, and they won't be set in the environment in which cron runs.

For a workaround see here:

For a bug report on this, see here:

DaithiF
  • 2,521
0

I found an interesting post about that 'problem' give it a try here hope its help cheers!

0

Another option (does not solve your problem..... just avoids having it ;) ):

I had a quite bunch of images (over 300) I wanted to rotate on my screen.... so I made this script. It goes through all of them (jpg's only in may case, but can be modified if there are other types) and creates an xml file (called bg.xml). You can chose this latest file, bg.xml, as a rotating wallpaper.

You can set INTERVAL to 180 (seconds) and TRANSITION according to your preferences (and any other thing you like, of course).

Hope it helps :)

luri
  • 4,132