Re: How can I get KDE to leave the background alone?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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)

Cheers,
Kevin
-- 
Kevin Krammer <kevin.krammer@xxxxxx>
Qt/KDE Developer, Debian User
www.mrunix.de - German Unix/Linux programming forum
www.qtforum.org - Qt programming forum
___________________________________________________
.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.

[Index of Archives]     [Trinity (TDE) Desktop Users]     [Fedora KDE]     [Fedora Desktop]     [Linux Kernel]     [Gimp]     [GIMP for Windows]     [Gnome]     [Yosemite Hiking]
  Powered by Linux