You are not logged in.
Hi,
Is there any way to change KDE wallpaper from the command line? I found a dcup command online but I don't have it in the latest version of KDE on Arch.
Last edited by EgidioCaprino (2016-08-14 12:24:27)
Offline
Hi,
Is there any way to change KDE wallpaper from the command line? I found a dcup command online but I don't have it in the latest version of KDE on Arch.
Yes, after the Bug 217950 was fixed - Ability to set desktop wallpaper via a dbus command: https://bugs.kde.org/show_bug.cgi?id=217950
--> Comment 42: https://bugs.kde.org/show_bug.cgi?id=217950#c42
Add method to run a script from DBus directly
That is - run a java scrip to set the plasma wallpaper - Plasma reviewboard has an example script: https://git.reviewboard.kde.org/r/125648/
Offline
Thank you Rog,
How do you run the JS script? NodeJS?
Alos, I think that overwriting the file with the current wallpaper should work around.
Offline
Thank you Rog,
How do you run the JS script? NodeJS?
You call the script from the qdbus:
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript <YourScriptHere>
dbus wiki: https://en.wikipedia.org/wiki/D-Bus
Last edited by Rog131 (2016-08-14 11:26:11)
Offline
Thank you Rog!
Offline