Refreshing desktop thru command line

Andrew Wendt awendt at
Sun Sep 28 08:48:19 BST 2003

On Sunday 28 September 2003 00:58, Sohail Somani wrote:
> I am using kwebdesktop to render a page to an image and save that as my
> my question is, once i render the image, how can I refresh the desktop
> thru the commandline to load the new image? It keeps the old wallpaper
> on it.

Are you running kwebdesktop manually then? I think it is mostly meant to be 
run automatically by kdesktop...

From the control centre, I can choose "Appearance" and then "Background"... 
Then there is a button "Advanced Options", which allows me to set up 
kwebdesktop. I check the box "Use the following program for drawing in the 
background", and then I can hit "Modify" and there is a "Refresh time" option 
that defaults to 10 minutes.

The options might not be in the exact same place for you, if you're running a 
different version, but they should still be there.

If you really want to do it from the command line, then this dcop command 
seems to be enough to make kdesktop reload the current wallpaper:
dcop kdesktop KBackgroundIface changeWallpaper

You can also load a new image in a similar way:
dcop kdesktop KBackgroundIface setWallpaper ~/mypicture.jpg 1

Good luck.
This message is from the kde mailing list.
Account management:
More info:

More information about the kde mailing list