snippetbashTip
kwriteconfig5 — Write KConfig entries for KDE Plasma. More information: <https://userbase.kde.org/KDE_System_Adminis
Viewed 0 times
kconfigcommandkdeclikwriteconfig5writeentriesfor
linux
Problem
How to use the
kwriteconfig5 command: Write KConfig entries for KDE Plasma. More information: <https://userbase.kde.org/KDE_System_Administration/Configuration_Files>.Solution
kwriteconfig5 — Write KConfig entries for KDE Plasma. More information: <https://userbase.kde.org/KDE_System_Administration/Configuration_Files>.Set a global configuration key:
kwriteconfig5 --group {{group_name}} --key {{key}} {{value}}Set a key in a specific configuration file:
kwriteconfig5 --file {{path/to/file}} --group {{group_name}} --key {{key}} {{value}}Delete a key:
kwriteconfig5 --group {{group_name}} --key {{key}} --deleteUse systemd to start the Plasma session when available:
kwriteconfig5 --file {{startkderc}} --group {{General}} --key {{systemdBoot}} {{true}}Hide the title bar when a window is maximized (like Ubuntu):
kwriteconfig5 --file {{~/.config/kwinrc}} --group {{Windows}} --key {{BorderlessMaximizedWindows}} {{true}}Configure KRunner to open with the Meta (Command/Windows) global hotkey:
kwriteconfig5 --file {{~/.config/kwinrc}} --group {{ModifierOnlyShortcuts}} --key {{Meta}} "{{org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch}}"Display help:
kwriteconfig5 --helpCode Snippets
Set a global configuration key
kwriteconfig5 --group {{group_name}} --key {{key}} {{value}}Set a key in a specific configuration file
kwriteconfig5 --file {{path/to/file}} --group {{group_name}} --key {{key}} {{value}}Delete a key
kwriteconfig5 --group {{group_name}} --key {{key}} --deleteUse systemd to start the Plasma session when available
kwriteconfig5 --file {{startkderc}} --group {{General}} --key {{systemdBoot}} {{true}}Hide the title bar when a window is maximized (like Ubuntu)
kwriteconfig5 --file {{~/.config/kwinrc}} --group {{Windows}} --key {{BorderlessMaximizedWindows}} {{true}}Context
tldr-pages: linux/kwriteconfig5
Revisions (0)
No revisions yet.