gsoc19

Igor Antropov antropovi at yahoo.com
Wed Apr 3 23:14:05 BST 2019


I just tried to make it with QDBus. I queried all dbus methods, but there wasn’t any for wallpaper.

Are you talking about X11 way or about gconf?

Gconf is obsolete, but it is possible to make it with GLib.
I can rewrite this https://github.com/GNOME/glib/blob/master/gio/gsettings-tool.c <https://github.com/GNOME/glib/blob/master/gio/gsettings-tool.c> with 
«set org.gnome.desktop.background picture-uri file:///path/to/file.jpg» as args for example.

At the same time, I think, it is possible to change background with X11 everywhere. But it can work with X11 Pixmap only.

Which way is better?

Sincerely,
Igor Antropov

> 3 апр. 2019 г., в 23:04, Gilles Caulier <caulier.gilles at gmail.com> написал(а):
> 
> like this ?
> 
> https://stackoverflow.com/questions/1220826/changing-wallpaper-on-linux-programmatically <https://stackoverflow.com/questions/1220826/changing-wallpaper-on-linux-programmatically>
> 
> Gilles Caulier
> 
> Le mer. 3 avr. 2019 à 18:06, Igor Antropov <antropovi at yahoo.com <mailto:antropovi at yahoo.com>> a écrit :
> I tried with Gnome, but have no luck so far. 
> Seems like it’s easy to change wallpaper via gsettings set command, but i can’t find any docs about gnome dbus api.
> 
> Sincerely,
> Igor Antropov
> 
>> 3 апр. 2019 г., в 0:35, Gilles Caulier <caulier.gilles at gmail.com <mailto:caulier.gilles at gmail.com>> написал(а):
>> 
>> 
>> 
>> Le mar. 2 avr. 2019 à 23:14, Gilles Caulier <caulier.gilles at gmail.com <mailto:caulier.gilles at gmail.com>> a écrit :
>> 
>> 
>> Le mar. 2 avr. 2019 à 22:58, Igor Antropov <antropovi at yahoo.com <mailto:antropovi at yahoo.com>> a écrit :
>> Hello,
>> I made a simple plugin to export image as wallpaper. It is located in Tools->Export as wallpaper.
>> Link to .patch https://bugsfiles.kde.org/attachment.cgi?id=119216 <https://bugsfiles.kde.org/attachment.cgi?id=119216>
>> 
>> I review your patch... please wait...
>>  
>> I thought about putting that in context menu. Is there a way to input actions into context menu from DPlugins?
>> 
>> 
>> It's not yet possible to assign easily a plugin entry to context menu. 
>> 
>> In fact, yes, it a little bit possible, as it's done with album context menu and import/export plugin actions.
>> 
>> But we cannot do it for item context menu, else gui will be bloat.
>> 
>> Also, i think than action must be moved from Tools to Items main menu.
>> 
>> Did you try to setup the desktop wall paper with Gnome, LXDE, or another desktop under Linux through Dbus ?
>> 
>> Best
>> 
>> Gilles Caulier
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/digikam-devel/attachments/20190404/5d178c2e/attachment.html>


More information about the Digikam-devel mailing list