[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: How Can I change wallpaper from CLI?
From:       Michael Pyne <mpyne () kde ! org>
Date:       2012-09-05 21:50:28
Message-ID: 1474724.TX4rkArxX9 () midna
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Wednesday, September 05, 2012 23:26:32 Aaron J. Seigo wrote:
> and how hard is it?
> 
> using namespace KActivities;
> m_resource = new ResourceInstance(window->wId(), this);
> 
> ... some time later ...
> 
> m_resource->setUri(m_currentImage);
> m_resource->setTitle(m_imageTitle);
> m_resource->setMimetype(m_imageMimetype);
> 
> voila.
> 
> show me a dbus api for wallpaper setting that can do that. :)

Does this actually change the wallpaper for the default containment though, or 
is more work still needed on that end? If this is the official method and it 
works now I'm sure people wouldn't mind implementing it.

Regards,
 - Michael Pyne
["signature.asc" (application/pgp-signature)]

>> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic