<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hello,<div class="">I made a simple plugin to export image as wallpaper. It is located in Tools->Export as wallpaper.</div><div class="">Link to .patch <a href="https://bugsfiles.kde.org/attachment.cgi?id=119216" class="">https://bugsfiles.kde.org/attachment.cgi?id=119216</a></div><div class="">I thought about putting that in context menu. Is there a way to input actions into context menu from DPlugins?</div><div class="">What should I do next?</div><div class=""><br class=""></div><div class="">Sincerely,</div><div class="">Igor Antropov </div><div class=""><div class=""><div><br class=""></div><div><br class=""><blockquote type="cite" class=""><div class="">1 апр. 2019 г., в 12:17, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" class="">caulier.gilles@gmail.com</a>> написал(а):</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">yes, <div class=""><br class=""></div><div class="">Please use git/master now. We merge dplugins branches few weeks ago.</div><div class=""><br class=""></div><div class="">For the bugs to fix, i tag entries with "junior-jobs"</div><div class=""><br class=""></div><div class="">Why not to work on this entry :<br class=""></div><div class=""><div class=""><br class=""></div><div class=""><a href="https://bugs.kde.org/show_bug.cgi?id=254932" target="_blank" class="">https://bugs.kde.org/show_bug.cgi?id=254932</a><br class=""></div><div class=""><br class=""></div><div class="">It's about to write a small plugin to setup a selected image from digiKam as desktop background.</div><div class=""><br class=""></div><div class="">Technical details provided by Plasma team can be found here :</div><div class=""><br class=""></div><div class=""><a href="https://bugs.kde.org/show_bug.cgi?id=217950" target="_blank" class="">https://bugs.kde.org/show_bug.cgi?id=217950</a><br class=""></div><div class=""><br class=""></div><div class="">Typically, this kind of command line must do the job :</div><div class=""><br class=""></div><div class=""><span style="font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", "Fira Sans", Ubuntu, Oxygen, "Oxygen Sans", Cantarell, "Droid Sans", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Lucida Grande", Helvetica, Arial, sans-serif; font-size: 14px; white-space: pre-line;" class="">dbus-send --session --dest=org.kde.desktop.Background.xml --type=method_call / Background.xml org.kde.Background.xml.evaluateScript 'string:
var Desktops = desktops(); 
for (i=0;i<Desktops.length;i++) {
d = Desktops[i];
d.wallpaperPlugin = "org.kde.image";
d.currentConfigGroup = Array("<span class="gmail-il">Wallpaper</span>",
"org.kde.image",
"General");
d.writeConfig("Image", "{image address}");
}'</span></div></div><div class=""><br class=""></div><div class="">Best</div><div class=""><br class=""></div><div class="">Gilles Caulier</div></div></div></blockquote><br class=""></div></div></div></body></html>