https://bugs.kde.org/show_bug.cgi?id=521499

            Bug ID: 521499
           Summary: [Feature Request] kscreen-doctor -j (JSON output) is
                    missing UUID (shown in "-o" output)
    Classification: Plasma
           Product: KScreen
      Version First 6.6.5
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: kscreen-doctor
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

DESCRIPTION
Using kscreen-doctor -o, outputs are listed like:

Output: 1 eDP-1 0238fbd2-2532-4ad8-9080-c99785f69a96

The UUID is useful in programmatic usage, but is sadly missing form
"kscreen-doctor -j". 

An example use case is automatedly mapping touch devices, e.g. via:
    kwriteconfig6 --file kcminputrc --group "Libinput" --group
"$TOUCH_DEVICE_VENDOR" --group "$TOUCH_DEVICE_PRODUCT" --group
"$TOUCH_DEVICE_NAME" --key "OutputUuid" "$UUID"
(sadly, reconfiguring "kwin" after that is not sufficient, but restarting the
session allows automating such a mapping). 

STEPS TO REPRODUCE
1. Run "kscreen-doctor -o" and see UUID (but that command is not really meant
for "parsing", see e.g. #485146 ). 
2. Run "kscreen-doctor -j", UUID is missing. 

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 6.6.5
KDE Frameworks Version: 6.27.0
Qt Version: 6.11.1

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to