Version 0.8[1] of the XDG Base Directory Specification (released 2021-05-08) added a new directory, `${XDG_STATE_HOME}`. From the spec: > The $XDG_STATE_HOME contains state data that should persist between > (application) restarts, but that is not important or portable enough > to the user that it should be stored in $XDG_DATA_HOME. It may contain: > > - actions history (logs, history, recently used files, …) > - current state of the application that can be reused on a restart > (view, layout, open files, undo history, …) [1]: https://specifications.freedesktop.org/basedir-spec/0.8 This would significantly reduce churn of files in `${XDG_CONFIG_HOME}`, with significant benefits for use-cases where the config is immutable, under version control, or otherwise benefits from not changing due to incidental (rather than intentional) user action.
Not sure whether this would require changes to every Kxmlgui-using app, or if it could be done centrally. Keeping it open here just in case it's the latter.