Please load the monitor config on startup from readonly locations too, and not only from the users home directory. Usecase: you have some workstations used by many different users. The workstations have multiple monitors and you want to configure them at a central place for all users. Otherwise every user needs configure them manually. Thus you could drop a monitor config to e.g. /usr/local/share/kscreen and the config will be picked up by the users kscreen if they login to the workstation for the first time. We have exactly this situation at my university and use a patched kscreen to solve this problem. Unfortunately I think our patch doesn't address all edge cases, because KScreen:Serializer assumes to have a writeable config file location in many places, so it would be nice if someone with a deeper understanding of the code could implement it correctly.
Sounds reasonable. Would you mind posting your patch, so I can have a look and get some inspiration from it?
Created attachment 106485 [details] Quick-and-dirty patch As I said, it's done quick and dirty: I'm not sure whether it works in all cases.
This was implemented by David Redondo with https://invent.kde.org/plasma/kscreen/-/commit/8fbe7ceb1628839a4bb77a4a33c0f183b3d19047!