How to list keys in `--group` using `kreadconfig6`?

I’d like to use what Revision - Ask Ubuntu describes

kwriteconfig6 --file kdeglobals --group KDE --key widgetStyle Breeze

to ascertain what kcm_color sets (instead of what kcm_style does). However,

kreadconfig6 --file kdeglobals --group KDE

doesn’t return a list of keys, so I have no idea of what to poll (--key colorScheme doesn’t return anything).


Does anything like Revision - Unix & Linux Stack Exchange exist?

Hi, were you able to solve this? I am trying to find all what I can use to disable audio power saving in ~/.config/powermanagementprofilesrc but I can’t figure out.

1 Like

@something-beautiful, no. Like command line - gsettings like tools for KDE - Ask Ubuntu describes, I don’t think it’s possible. Are you willing to file a WISHLIST ticket at KDE Bugzilla?

I think it would be a sensible request to add some kind of “list” behavior if the tool is called without full parameters.

E.g. if you just provide the file it lists the groups in that file, if you provide file and group it lists the keys.

I am sure, one could just open the file with less or a text editor, but it should be easy enough to implement for people who prefer to “query”

1 Like

@krake, that was how I too expected it to work when I first tried the tool. I’ve filed bugs.kde.org/show_bug.cgi?id=498473#c0.

1 Like