2017-05-03 00:27:23 |
tankmissile |
description |
When starting variety in KDE Plasma, clicking the status bar icon does not bring up the menu. The icon also looks blurry (probably incorrect sizing or theme).
KDE Plasma now has a D-Bus message system that can be accessed through the qdbus command. The wallpaper can be changed using the command below. However, it only works when widgets are unlocked. There's some kind of security vulnerability if widgets are locked.
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "
var allDesktops = desktops();
for (i=0; i < allDesktops.length; i++) {
d = allDesktops[i];
d.wallpaperPlugin = 'org.kde.image';
d.currentConfigGroup = Array('Wallpaper', 'org.kde.image', 'General');
d.writeConfig('Image', 'file://"$WP"')
}
"
When the set_wallpaper script is generated, it can not be edited due too invalid characters. I was able to scrub the script clean myself, but it's still a nuisance to new users. |
When starting variety in KDE Plasma, clicking the status bar icon does not bring up the menu. The icon also looks blurry (probably incorrect sizing or theme).
KDE Plasma now has a D-Bus message system that can be accessed through the qdbus command. The wallpaper can be changed using the command below. However, it only works when widgets are unlocked. There's some kind of security vulnerability if widgets are locked.
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.evaluateScript "
var allDesktops = desktops();
for (i=0; i < allDesktops.length; i++) {
d = allDesktops[i];
d.wallpaperPlugin = 'org.kde.image';
d.currentConfigGroup = Array('Wallpaper', 'org.kde.image', 'General');
d.writeConfig('Image', 'file://"$WP"')
}
"
When the set_wallpaper script is generated, it can not be edited due too invalid characters. I was able to scrub the script clean myself, but it's still a nuisance too new users. |
|