This forum has been archived. All content is frozen. Please use KDE Discuss instead.

[SOLVED] Wallpaper setup in skel

Tags: None
(comma "," separated)
User avatar
msdobrescu
Registered Member
Posts
119
Karma
0
OS

[SOLVED] Wallpaper setup in skel

Sat Aug 28, 2021 11:58 am
Hi, how can be written a plasma desktop configuration in skel (/etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc) to set a specific wallpaper image for the user?
I have tried to add lines below, that worked in the past:

Code: Select all

[Containments][15]
activityId=580e479a-1f48-4040-b152-79d411a48a15
formfactor=0
immutability=1
lastScreen=0
location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image

[Containments][15][Wallpaper][org.kde.image][General]
Image=file:///usr/share/wallpapers/background/background.jpg



But they are always replaced by a default setup:

Code: Select all

[Containments][17]
ItemGeometriesHorizontal=
activityId=21a84b8f-aabc-4fa6-9016-92ed81669cf3
formfactor=0
immutability=1
lastScreen=0
location=0
plugin=org.kde.plasma.folder
wallpaperplugin=org.kde.image

[Containments][17][Wallpaper][org.kde.image][General]
Image=file:///usr/share/wallpapers/Next/contents/images/1600x1200.png



Thank you!

Last edited by msdobrescu on Sat Feb 12, 2022 10:58 am, edited 2 times in total.
User avatar
Paul
Registered Member
Posts
64
Karma
0
OS

Re: Wallpaper setup in skel

Wed Sep 01, 2021 2:28 pm
Rather than using skel, have you considered using KDE's Kiosk framework: https://develop.kde.org/deploy/kiosk/introduction/

I've not used it myself, but it might do what you want.


Running KDE neon User Edition
User avatar
msdobrescu
Registered Member
Posts
119
Karma
0
OS

Re: Wallpaper setup in skel

Wed Sep 01, 2021 2:32 pm
Thanks, but I expect to be able to restore the state in its configuration files, otherwise how it would work between sessions?
I am missing something for sure and I'll check Kiosk too.
User avatar
msdobrescu
Registered Member
Posts
119
Karma
0
OS

Re: Wallpaper setup in skel  Topic is solved

Thu Sep 16, 2021 5:25 am
I've found the solution.
The wallpaper is related to an activity that is defined in ~/.config/kactivitymanagerdrc then used in ~/.config/plasma-org.kde.plasma.desktop-appletsrc, which makes sense, as some should be able to set a different wallpaper for each activity.


Bookmarks



Who is online

Registered users: bartoloni, Bing [Bot], Evergrowing, Google [Bot], ourcraft