kreadconfig5
reads values from KDE Plasma 5 configuration files
TLDR
Read a key from global configuration
SYNOPSIS
kreadconfig5 [options]
DESCRIPTION
kreadconfig5 reads values from KDE Plasma 5 configuration files. KConfig is KDE's configuration system, storing settings in INI-style files with groups and key-value pairs.
Configuration files are typically stored in ~/.config/ with names like kdeglobals, kwinrc, plasmarc, etc. The tool is useful for scripting and automation involving KDE settings.
PARAMETERS
--file FILE
Configuration file to read from--group GROUP
Configuration group (section)--key KEY
Key name to read--default VALUE
Default value if key doesn't exist
CAVEATS
KDE 5 specific; KDE 6 uses kreadconfig6. File paths can be relative to ~/.config or absolute. Groups and keys are case-sensitive.
HISTORY
kreadconfig5 is part of the KDE Frameworks, providing command-line access to KDE's configuration system. It complements kwriteconfig5 for reading settings in scripts.
SEE ALSO
kwriteconfig5(1), kreadconfig6(1), dconf(1)
