kreadconfig5

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

Install

All systems
curl cmd.cat/kreadconfig5.sh
Debian Debian
apt-get install libkf5config-bin
Ubuntu
apt-get install libkf5config-bin
Arch Arch Linux
pacman -S kconfig
image/svg+xml Kali Linux
apt-get install libkf5config-bin
Fedora
dnf install kf5-kconfig-core
Windows (WSL2)
sudo apt-get update sudo apt-get install libkf5config-bin
Raspbian
apt-get install libkf5config-bin

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

  • Read a key from the global configuration:
    kreadconfig5 --group group_name --key key_name
  • Read a key from a specific configuration file:
    kwriteconfig5 --file path/to/file --group group_name --key key_name
  • Check if systemd is used to start the Plasma session:
    kreadconfig5 --file startkderc --group General --key systemdBoot

© tl;dr; authors and contributors