<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=""><div class="">I just tried to make it with QDBus. I queried all dbus methods, but there wasn’t any for wallpaper.</div><div class=""><br class=""></div><div class="">Are you talking about X11 way or about gconf?</div><div class=""><br class=""></div><div class="">Gconf is obsolete, but it is possible to make it with GLib.</div><div class="">I can rewrite this <a href="https://github.com/GNOME/glib/blob/master/gio/gsettings-tool.c" class="">https://github.com/GNOME/glib/blob/master/gio/gsettings-tool.c</a> with </div><div class="">«<span style="font-family: Consolas, Menlo, Monaco, "Lucida Console", "Liberation Mono", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Courier New", monospace, sans-serif; font-style: inherit; font-variant-caps: inherit; white-space: inherit; caret-color: rgb(36, 39, 41); color: rgb(36, 39, 41); font-size: 13px; background-color: rgb(239, 240, 241);" class="">set org.gnome.desktop.background picture-uri <a href="file:///path/to/file.jpg" class="">file:///path/to/file.jpg</a></span>» as args for example.</div><div class=""><br class=""></div><div class="">At the same time, I think, it is possible to change background with X11 everywhere. But it can work with X11 Pixmap only.</div><div class=""><br class=""></div><div class="">Which way is better?</div><div class=""><br class=""></div><div class="">Sincerely,</div><div class="">Igor Antropov</div><div class=""><div><br class=""><blockquote type="cite" class=""><div class="">3 апр. 2019 г., в 23:04, 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="">like this ?<div class=""><br class=""></div><div class=""><a href="https://stackoverflow.com/questions/1220826/changing-wallpaper-on-linux-programmatically" class="">https://stackoverflow.com/questions/1220826/changing-wallpaper-on-linux-programmatically</a><br class=""></div><div class=""><br class=""></div><div class="">Gilles Caulier</div></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mer. 3 avr. 2019 à 18:06, Igor Antropov <<a href="mailto:antropovi@yahoo.com" class="">antropovi@yahoo.com</a>> a écrit :<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class="">I tried with Gnome, but have no luck so far. <div class="">Seems like it’s easy to change wallpaper via gsettings set command, but i can’t find any docs about gnome dbus api.</div><div class=""><br class=""></div><div class="">Sincerely,</div><div class="">Igor Antropov<br class=""><div class=""><br class=""><blockquote type="cite" class=""><div class="">3 апр. 2019 г., в 0:35, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank" class="">caulier.gilles@gmail.com</a>> написал(а):</div><br class="gmail-m_-8971844243408890330Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 2 avr. 2019 à 23:14, Gilles Caulier <<a href="mailto:caulier.gilles@gmail.com" target="_blank" class="">caulier.gilles@gmail.com</a>> a écrit :<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr" class=""><div dir="ltr" class=""><br class=""></div><br class=""><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Le mar. 2 avr. 2019 à 22:58, Igor Antropov <<a href="mailto:antropovi@yahoo.com" target="_blank" class="">antropovi@yahoo.com</a>> a écrit :<br class=""></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" 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" target="_blank" class="">https://bugsfiles.kde.org/attachment.cgi?id=119216</a></div></div></blockquote><div class=""><br class=""></div><div class="">I review your patch... please wait...</div><div class=""> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div style="overflow-wrap: break-word;" class=""><div class="">I thought about putting that in context menu. Is there a way to input actions into context menu from DPlugins?</div></div></blockquote><div class=""><br class=""></div></div></div></blockquote><div class=""><br class=""></div><div class="">It's not yet possible to assign easily a plugin entry to context menu. </div><div class=""><br class=""></div><div class="">In fact, yes, it a little bit possible, as it's done with album context menu and import/export plugin actions.</div><div class=""><br class=""></div><div class="">But we cannot do it for item context menu, else gui will be bloat.</div><div class=""><br class=""></div><div class="">Also, i think than action must be moved from Tools to Items main menu.</div><div class=""><br class=""></div><div class="">Did you try to setup the desktop wall paper with Gnome, LXDE, or another desktop under Linux through Dbus ?</div><div class=""><br class=""></div><div class="">Best</div><div class=""><br class=""></div><div class="">Gilles Caulier</div></div></div>
</div></blockquote></div><br class=""></div></div></blockquote></div>
</div></blockquote></div><br class=""></div></body></html>