kwriteconfig5 Command Examples

Write KConfig entries for KDE Plasma. More information: https://userbase.kde.org/KDE_System_Administration/Configuration_Files.

kwriteconfig5 --help

kwriteconfig5 --group {{group_name}} --key {{key}} {{value}}

kwriteconfig5 --file {{path/to/file}} --group {{group_name}} --key {{key}} {{value}}

kwriteconfig5 --group {{group_name}} --key {{key}} --delete

kwriteconfig5 --file {{startkderc}} --group {{General}} --key {{systemdBoot}} {{true}}

kwriteconfig5 --file {{~/.config/kwinrc}} --group {{Windows}} --key {{BorderlessMaximizedWindows}} {{true}}

kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} {{"org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch"}}