-
-
Notifications
You must be signed in to change notification settings - Fork 193
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Info" values are difficult to parse, visually and programmatically. #2451
Comments
My original use case was simply that I wanted the values to paste in other places for development and testing. Having it in xml/json would make that a lot more annoying. Can you provide your use case why you need in another format? And do you really need all those values? Typically you would only want a couple like btaddress and maybe the icon name. |
@infirit, would https://en.wikipedia.org/w/index.php?title=INI_file&oldid=1232644417#Example suit you better, then? That's what FreeDesktop and KDE use. It's a lot simpler.
I use it to compare hardware information across devices. |
The device info window/plugin is for simple viewing and retrieving some values. I personally like to keep it that way. If you want parse-able data get the properties directly from bluez over dbus with something like below.
Which outputs
GLib/Gio provides nice DBus classes that hides a lot of the details from the user and has bindings for many languages. |
@infirit, could the value and key at least be on the same line then, separated by something like a tab? That would then give me an easily readable TSV. I can't imagine you find it easier to read each value on a new line?
Thanks. I'll do that. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
Prerequisites
Versions
cpe:/o:fedoraproject:fedora:40
I have consulted the Troubleshooting page and done my best effort to follow.
Request
When I duplicate the content of the undermentioned window to my clipboard:
...the result is nigh incomprehensible:
Consequently, I suggest that you instead copy those values in some kind of key-value pair specification, like JSON (or XML).
The text was updated successfully, but these errors were encountered: