[OPEN] Plasma 6 Not Applying Custom plasma-org.kde.plasma.desktop-appletsrc – Default Config is Created

First check the forums - Do not know where to put it then put it here
Post Reply
aamirali51
Crewman
Posts: 6
Joined: Mon Nov 07, 2022 4:04 pm

Respect Sir,
First of all i am huge fan of you and realy appriciate you contiribution and work you have done for linux community.

I am working on a custom Arch-based distribution and have encountered an issue with applying a pre-configured plasma-org.kde.plasma.desktop-appletsrc file in Plasma 6. Despite placing the file in the correct location, Plasma 6 seems to ignore my custom configuration and instead generates a default setup on the first login.

The Issue:
In Plasma 5, I used to place the pre-configured plasma-org.kde.plasma.desktop-appletsrc file into /etc/skel/.config/, and it would be applied correctly to all new users. However, in Plasma 6, even after placing the file in both /etc/skel/.config/ and /usr/share/.config/, Plasma generates a default configuration on first login instead of using my custom one.

Environment Details:
Plasma Version: Plasma 6
Distribution: Arch-based (live environment with Calamares installer)
Configuration Location:
/etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc
/usr/share/.config/plasma-org.kde.plasma.desktop-appletsrc
What I've Tried:
File Placement: I’ve placed the custom plasma-org.kde.plasma.desktop-appletsrc file in both /etc/skel/.config/ and /usr/share/.config/ to ensure it’s copied to new users’ home directories, but it still defaults to the stock layout on first login.

Permissions: I’ve verified that the file has correct permissions:

bash
Copy code
sudo chown root:root /etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc
sudo chmod 644 /etc/skel/.config/plasma-org.kde.plasma.desktop-appletsrc
Forcing Plasma to Apply the Config: I attempted to reload the Plasma Shell after login using:

bash
Copy code
qdbus org.kde.plasmashell /PlasmaShell org.kde.PlasmaShell.reloadConfig
However, this doesn’t seem to affect the initial login layout.

Locking the Configuration: I tried making the file immutable using chattr +i, but this still didn’t prevent Plasma from generating the default layout.

Any guidance or recommendations would be greatly appreciated. Thank you for your time and support!
User avatar
erikdubois
Captain
Posts: 5970
Joined: Tue Nov 07, 2017 3:45 pm
Location: Belgium
Contact:

do you copy over the .local folder

in there is a database

it might be reading that and changing your files
Learn, have fun and enjoy.
But first use the power of the Arch Wiki
use the tutorials on https://www.youtube.com/erikdubois
then use the power of google
then use the power of our moderators.
aamirali51
Crewman
Posts: 6
Joined: Mon Nov 07, 2022 4:04 pm

yes i did copied the .local folder but the issue is the same . in your spare time kinldy create an tutorial on this topic or point me to your existing videos spacific to this.


Thank You Sir.
Post Reply

Return to “General Questions”