Read a key from a specific configuration file

kreadconfig5

  • Read 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 --file {{path/to/file}} --group {{group_name}} --key {{key_name}}

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