How to change wallpaper in XFCE using the terminal? I also would like to change the lock screen wallpaper, but firstly the wallpaper is sufficient too.
I’ve found this code
dbus-send --session --dest=org.kde.plasmashell --type=method_call /PlasmaShell org.kde.PlasmaShell.evaluateScript 'string:
var Desktops = desktops();
for (i=0;i<Desktops.length;i++) {
d = Desktops[i];
d.wallpaperPlugin = "org.kde.image";
d.currentConfigGroup = Array("Wallpaper",
"org.kde.image",
"General");
d.writeConfig("Image", "file:///PATH/TO/IMAGE.png");
}'
But this doesn’t work, theoretically because it is only available for KDE.