Plasma wallpaper changing via D-Bus

Aaron J. Seigo aseigo at
Thu Sep 17 17:51:15 CEST 2009

On September 16, 2009, Renan Cakirerk wrote:
> I would appreciate any assistance or advice on which file(s) I should
> modify to add d-bus support for the wallpaper changing feature.
> (kdebase-workspace-4.2.4/plasma/shells/desktop)?

yes, this would go into shells/desktop. note that 4.2.4 is a bit old by now as 
far as development goes: we're working already on 4.4. if you can work using 
the sources in KDE's svn trunk that would be best, otherwise we can hopefully 
forward port your work.

anyways .. you'll want to build dbus bridges between DesktopCorona (which 
knows about all the Containments), Containments and wallpapers.

essentially, you should be able to enumerate Containments from the 
DesktopCorona, then ask the Containment for it's wallpaper object and then 
pass in URLs to the wallpaper object (as well as perhaps retrieve what 
mimeyptes, if any, that wallpaper object supports).

this means you'll need to add methods that do this; personally, i'd recommend 
starting a new class for the dbus interface that accesses DesktopCorona, 
etc.'s public API to do the fun work.

Aaron J. Seigo
humru othro a kohnu se
GPG Fingerprint: 8B8B 2209 0C6F 7C47 B1EA  EE75 D6B7 2EB1 A7F1 DB43

KDE core developer sponsored by Qt Development Frameworks
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : 

More information about the Plasma-devel mailing list