kwriteconfig5
writes values to KDE Plasma 5 configuration files
TLDR
Set a global configuration key
SYNOPSIS
kwriteconfig5 [options]
DESCRIPTION
kwriteconfig5 writes values to KDE Plasma 5 configuration files. It enables scripted modification of KDE settings without manually editing configuration files.
Configuration files are stored in ~/.config/ with names like kdeglobals, kwinrc, plasmarc. Changes may require restarting the affected application or Plasma session to take effect.
PARAMETERS
--file FILE
Configuration file to write to--group GROUP
Configuration group (section)--key KEY
Key name to set--delete
Delete the key instead of setting it--type TYPE
Value type (bool, string, int, etc.)
CAVEATS
KDE 5 specific; KDE 6 uses kwriteconfig6. Some changes require restarting Plasma or logging out. Groups and keys are case-sensitive.
HISTORY
kwriteconfig5 is part of KDE Frameworks 5, complementing kreadconfig5 for reading settings. It enables automation of KDE configuration in scripts and dotfile management.
SEE ALSO
kreadconfig5(1), kwriteconfig6(1), dconf(1)
