Setting default wallpaper with a script
Antony Loebs
barefootedjournalist at gmail.com
Tue May 4 18:09:52 CEST 2010
So I've continued to play around with scripting the default Plasma desktop
(with JavaScript) and have a quick question: how can I set the wallpaper? I
tried the following
---
var activity = new Activity("desktop");
activity.currentConfigGroup = new Array("Wallpaper");
activity.writeConfig("wallpaper",
"/usr/share/wallpapers/Default_wallpaper/");
---
but with no joy.
Thanks in advance!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/plasma-devel/attachments/20100504/47c64cf2/attachment.htm
More information about the Plasma-devel
mailing list