I like the variety wallpaper changer and it doesn’t work with default kde config. It just gives an error message saying that it won’t work if gadgets are locked (and doesn’t work anyway even if they are not locked). It used to work on Solus linux, so I cheated and stealed their solution.
The correction is rather simple. Just add the qdbus command to make the wallpaper change possible with the actual script;
Here are the details :
1 - the script to change wallpaper is at : $HOME/.config/variety/scripts/set_wallpaper and the only reason it doesn’t work is because the qdbus executable doesn’t have the correct name.
With KDE you already have the package libqt5-qdbus installed and the following executable /usr/bin/qdbus-qt5 in place.
But in other OSes it seems it is called qdbus instead of qdbus-qt5.
As root create the following link to an alternate name : # ln -s /usr/bin/qdbus-qt5 /usr/bin/qdbus
And start variety or, if it is already started, right click on the icon and select “next” to switch to a new image now and it should work.
And voilà you have a functional “variety” now.
Now it would be great to correct it directly in the OpenSUSE libqt5-qdbus package.
I don’t have this part of code you show in my version here. I installed variety some time ago but wasn’t able to use it.
Is the $HOME/.config/variety/scripts/* scripts would be updated if this code was changed afterwhile ?
That was the problem. I Had installed variety 0.7.1-1.5 in july 2019 and didn’t know I had to update those scripts.
So eveything is ok with variety. It is only me ignorant about thoses scripts!
May be a message to the users or to the admin would be a good thing when these scripts are upgraded would be welcome.