From 18961bc91eb6c6dc9519d20de1af32d59471b734 Mon Sep 17 00:00:00 2001 From: Axel Navarro Date: Thu, 25 Feb 2021 19:30:30 -0300 Subject: [PATCH] kwriteconfig5: add page (#5292) --- pages/linux/kwriteconfig5.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/linux/kwriteconfig5.md diff --git a/pages/linux/kwriteconfig5.md b/pages/linux/kwriteconfig5.md new file mode 100644 index 000000000..5d3533283 --- /dev/null +++ b/pages/linux/kwriteconfig5.md @@ -0,0 +1,32 @@ +# kwriteconfig5 + +> Write KConfig entries for KDE Plasma. +> More information: . + +- Display help: + +`kwriteconfig5 --help` + +- 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}} --delete` + +- Use 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"}}`