LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

kreadconfig5

reads values from KDE Plasma 5 configuration files

TLDR

Read a key from global configuration
$ kreadconfig5 --group [group_name] --key [key_name]
copy
Read a key from specific file
$ kreadconfig5 --file [path/to/file] --group [group_name] --key [key_name]
copy
Check systemd boot setting
$ kreadconfig5 --file startkderc --group General --key systemdBoot
copy

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

INSTALL

sudo apt install libkf5config-bin
copy
sudo pacman -S kconfig5
copy
sudo apk add kconfig5
copy

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

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid