Changing the background image

Kevin Krammer kevin.krammer at gmx.at
Fri May 21 08:29:33 BST 2004


On Friday 21 May 2004 04:06, Jeremy Cohoe wrote:
> Hi
>
> I can change the background image using Kcontrol > Appearance & Themes >
> Background, then clicking the Wallpaper tab, then finally clicking an image
> out of the Wallpaper dropdown list. Once I select my image, then click
> Apply, the image on the background is changed instantly.
>
> Is there a way to do this non-interactively? I would like my users to be
> able to click an icon on the desktop or menu that changes the wallpaper
> instantly.

If you know the image's filename, you can do it by DCOP
see
dcop kdesktop KBackgroundIface
function setWallPaper

Cheers,
Kevin

-- 
Kevin Krammer <kevin.krammer at gmx.at>
Qt/KDE Developer, Debian User
www.mrunix.de - Unix/Linux programming forum
www.qtforum.org - Qt programming forum
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: signature
URL: <http://mail.kde.org/pipermail/kde/attachments/20040521/d7e6eebd/attachment.sig>
-------------- next part --------------
___________________________________________________
This message is from the kde mailing list.
Account management:  https://mail.kde.org/mailman/listinfo/kde.
Archives: http://lists.kde.org/.
More info: http://www.kde.org/faq.html.


More information about the kde mailing list