AFAIK there is no way on KDE/Wayland to query the state of DPMS for a monitor. There is a method via ddccontrol or ddcutil (see here: https://unix.stackexchange.com/questions/785736/command-line-to-tell-if-monitor-is-off-in-wayland ) but it would be nice to have a more straightforward method, and kscreen-doctor seems like an appropriate tool for the job. Having the info included in the results of -o would make sense, and we could have -d with no argument supplied print the current DPMS state. Operating System: Kubuntu 24.10 KDE Plasma Version: 6.1.5 KDE Frameworks Version: 6.6.0 Qt Version: 6.6.2 Kernel Version: 6.11.0-9-generic (64-bit) Graphics Platform: Wayland Processors: 8 × Intel® Core™ i7-4770K CPU @ 3.50GHz Memory: 15.5 GiB of RAM Graphics Processor: NVIDIA GeForce GTX 1060 6GB/PCIe/SSE2
A possibly relevant merge request was started @ https://invent.kde.org/plasma/libkscreen/-/merge_requests/218
Git commit ce7cb1ef84bc0c283abd057167f4f00e34066ef1 by Xaver Hugl. Committed on 10/01/2025 at 16:05. Pushed by zamundaaa into branch 'master'. doctor: fix "--dpms show" It just hanged the process before M +16 -6 src/doctor/doctor.cpp https://invent.kde.org/plasma/libkscreen/-/commit/ce7cb1ef84bc0c283abd057167f4f00e34066ef1
Git commit d3efb5c3a4684da3c2eebbb08c36ad66ebeb7024 by Xaver Hugl. Committed on 10/01/2025 at 16:06. Pushed by zamundaaa into branch 'master'. doctor: add dpms to help text M +5 -1 src/doctor/main.cpp https://invent.kde.org/plasma/libkscreen/-/commit/d3efb5c3a4684da3c2eebbb08c36ad66ebeb7024
Git commit e229d2901f82eaca5e04a6a40bfb2410c814702b by Xaver Hugl. Committed on 10/01/2025 at 16:53. Pushed by zamundaaa into branch 'Plasma/6.3'. doctor: fix "--dpms show" It just hanged the process before (cherry picked from commit ce7cb1ef84bc0c283abd057167f4f00e34066ef1) M +16 -6 src/doctor/doctor.cpp https://invent.kde.org/plasma/libkscreen/-/commit/e229d2901f82eaca5e04a6a40bfb2410c814702b
Git commit a641ee4ad28bd8574475d417f1b565dd51fb0c3b by Xaver Hugl. Committed on 10/01/2025 at 16:53. Pushed by zamundaaa into branch 'Plasma/6.3'. doctor: add dpms to help text (cherry picked from commit d3efb5c3a4684da3c2eebbb08c36ad66ebeb7024) M +5 -1 src/doctor/main.cpp https://invent.kde.org/plasma/libkscreen/-/commit/a641ee4ad28bd8574475d417f1b565dd51fb0c3b