On Fri, Feb 04, 2005 at 12:50:44AM +0100, Kevin Krammer wrote: > On Friday 04 February 2005 00:30, stan wrote: > > I'm trying to convert from Gnome (1.4) to KDE (3.7). > > > > In Gnome, I have a perl script that is started up with the equivelant of > > autorun. It then selects a random iamge from a directory of images, and > > uses xv to set the root X window to that image. Works like a charm. > > > > I've tried several things to try to get KDE to emualte this behavior, but I > > cna't seem to figure out how to get it to just leave the background > > untouched. Is this possible? If not, I'll follow up with another question > > about how to change the behavior of the closest thing I've foundin KDE. > > I think the best way is to set the wallpaper by DCOP > > from commandline this would look like this > > #> dcop kdesktop KBackgroundIface setWallpaper path_plus_filename mode > > mode is a numerical value for how the image gets displayed: > centered = 1 > tiled = 2 > center tiled = 3 > scaled = 6 > > (the KDE sources have this definition, NoWallpaper is 0: > NoWallpaper, Centred, Tiled, CenterTiled, CentredMaxpect, > TiledMaxpect, Scaled, CentredAutoFit, ScaleAndCrop, lastWallpaperMode) > Mmm, that's close. I could addd that to the perl script. However, when I try it from the command line it, like my script, gets imeaditly overwritten by something else KDE is doing. How should I have the settins in control panel to make this work? -- "They that would give up essential liberty for temporary safety deserve neither liberty nor safety." -- Benjamin Franklin ___________________________________________________ . Account management: https://mail.kde.org/mailman/listinfo/kde. Archives: http://lists.kde.org/. More info: http://www.kde.org/faq.html.