On Monday 12 August 2002 21:29, Hetz Ben Hamo wrote:
> There is an option in configure desktop to let program run on the desktop
> (such as changing wallpapers, running rootail) - but I didn't play with it
> much.
>
> Hetz
>
> On Tuesday 13 August 2002 00:13, Nadav Har'El wrote:
> > On Mon, Aug 12, 2002, Eliran wrote about "Re: Change Background in 
Python":
> > > > see xsetroot(1)
> > > >
> > > > However this won't work in KDE. KDE's desktop includes its own "root
> > > > window". This breaks all of the programs that modify the root window.
> > >
> > > I asked for a python call :-) And yes, it won't work on KDE neither on
> > > Gnome2 ( I tested it ).
> > >
> > > Any other suggestion except using this non-portable way of changing the
> > > background ?
> >
> > Non portable? If anything KDE's attempt at commandeering the root window
> > is what is non-portable...
>

For kde use a dcop call to change the background.

dcop desktop KBackgroundIface setWallpaper <bg_image_path_and_name> <mode>

mode is an integer number specifiying different modes (tiled, stretched etc).

-- 
Meir Kriheli
MKsoft systems

================================================================To unsubscribe, send 
mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to