<blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><pre style="white-space:pre-wrap">
and how are you attempting to do this right now?</pre></blockquote><div>Right now I am using DBus to find out the current activity and then the "plasma-desktop-appletrc" config file to find the current containment information. What I am trying to do is load the containment object using the Plasma::Containment::restore() function, but it fails at this point - <a href="http://api.kde.org/4.8-api/kdelibs-apidocs/plasma/html/containment_8cpp_source.html#l00296" target="_blank">Link 1</a>. I was intending to try and change wallpaper after loading the containment this way. I am not sure if this will work, but I didn't understand why isContainment() was returning false even when it is a Plasma::Containment object.</div>

<div><br></div><blockquote class="gmail_quote" style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

<pre style="white-space:pre-wrap">(the best way is probably to offer a dbus interface in plasma-desktop that then 
connects to the active wallpaper plugin ... which has a call for setting 
wallpapers by url)</pre></blockquote><div>How about adding a DBus function to "plasmaapp.cpp " which can set any wallpaper plugin into the current desktop containment as long as it is installed ? I am working on the code for that right now. Will post in reviewboard once completed!</div>
<div><br></div><div><br></div><div><br></div><div><br></div>
<div><br></div><div> </div>