https://bugs.kde.org/show_bug.cgi?id=487816

Niccolò Venerandi <nicc...@venerandi.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |nicc...@venerandi.com

--- Comment #1 from Niccolò Venerandi <nicc...@venerandi.com> ---
The wallpaper is read in the `plasma-org.kde.plasma.desktop-appletsrc` file:

```
[Containments][1][Wallpaper][org.kde.image][General]
Image=/home/niccolove/Nextcloud/Photos/Wallpapers/IMG_1618.png
```

each containment (e.g. monitor) has its own entry, so that different
containments can have different wallpapers. There's a setup script, called
'org.kde.plasma.desktop-layout.js', that's part of the global theme and that an
set this kind of things automatically:

```
var desktopsArray = desktopsForActivity(currentActivity());
for( var j = 0; j < desktopsArray.length; j++) {
    desktopsArray[j].wallpaperPlugin = 'org.kde.image';
}
```

you can add:

```
    desk = desktopsArray[j];
    desk.currentConfigGroup = new Array("Wallpaper","org.kde.image","General");
    desk.writeConfig("Image", "/usr/share/something/");
```

I guess the correct way to do this would be to create a new look and feel theme
that inherits anything from the Beeze one but only changes the wallpaper in the
above script. However I never tried this.

Does this help?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to