Bug 378949

Summary: read only config files should be treated as immutable
Product: [Plasma] plasmashell Reporter: Aaron Peterson <alpeterson>
Component: PanelAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: normal CC: kde, kde
Priority: NOR    
Version First Reported In: 5.8.5   
Target Milestone: 1.0   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Aaron Peterson 2017-04-19 09:35:40 UTC
This may be more general than just plasma...
Plasma should not be editing it's own configuration files unless explicitly allowed to do so... 

so this means that plasma should check the permissions and ability to change the file( such as checking disk space if the file is writable) to make sure that it can actually write the file... and not allow users to change settings that are not allowed to be edited.

This is a straightforward and clear thing... but someone went thru the trouble of making a dialog box popup saying that the configfile wasn't writable...
so it might be an opportunity to refine the design.

(I'm still rooting for KDE, windows10 has deleted enough of my work on it's own update schedule and disrespect,  that I can understand that free software can have errors too)

I made the plasmashellrc readonly in attempt to stop plasma from seemingly randomly changing my panel widths...  it reset it on some vertical height changes... that's another severe bug...
This one
Comment 1 David Edmundson 2018-01-25 11:53:28 UTC
See immutable entries:
https://api.kde.org/frameworks/kconfig/html/options.html
Comment 2 Kai Uwe Broulik 2018-01-25 14:12:39 UTC
Also note that while immutable config entries will cause them not to sync to disk when changed, Plasma will still happily apply any changes but then forget about them on next start. You might also want to try setting the shell "system immutable", cf [1] (the unlocked desktop one) which will disallow unlocking widgets, changing launchers, favorites, etc.

[1] https://userbase.kde.org/KDE_System_Administration/Kiosk/Introduction#KDE_Action_Restrictions