Set a global configuration key

kwriteconfig5

  • Write KConfig entries for KDE Plasma.
    More information: <https://userbase.kde.org/KDE_System_Administration/Configuration_Files>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

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

click the source code to copy install kwriteconfig5 on any operating system with command-not-found.com