Skip to content

Prevent KDE Applications to overwrite elektra files #17

Description

@FelixResch

Some KDE applications appear to write default settings directly to their configuration file when the keys they require are not present (e.g. plasmashell, baloo). This is no problem, when the keys are loaded from a write protected location (e.g. /etc/) but results in Elektra parsing errors, when the file is in the user namespace.

A work-around would include the following changes:

  • move logic whether or not a file should be loaded to the backend and always return true for the Elektra backend
  • use /dev/null as file name on unixoids and NUL on windows systems

This way KDE applications can write their configuration and not corrupt the actual files.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions