HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

kreadconfig5 — Read KConfig entries for KDE Plasma. More information: <https://userbase.kde.org/KDE_System_Administ

Submitted by: @import:tldr-pages··
0
Viewed 0 times
kconfigcommandreadkdeforclientrieskreadconfig5
linux

Problem

How to use the kreadconfig5 command: Read KConfig entries for KDE Plasma. More information: <https://userbase.kde.org/KDE_System_Administration/Configuration_Files>.

Solution

kreadconfig5 — 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:
kreadconfig5 --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}}

Code Snippets

Read a key from the global configuration

kreadconfig5 --group {{group_name}} --key {{key_name}}

Read a key from a specific configuration file

kreadconfig5 --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}}

Context

tldr-pages: linux/kreadconfig5

Revisions (0)

No revisions yet.