SUMMARY Since introduction of Night Color it is very inconvenient to turn it off (while you watching a movie or playing a game at night) without going into settings. It will be great to have some sort of control interface to interact with Night Color subsystem so user may decide when to have it enabled or disabled. D-Bus seems to be a standard and obvious option for that case so even scenarios when user may want to automatically turn it off or on (e.g. when launching full screen applications) become possible. STEPS TO REPRODUCE 1. Enable Night Color from KCM OBSERVED RESULT No ability to control from anywhere except KCM. EXPECTED RESULT Changing Night Color settings from widget/another app SOFTWARE/OS VERSIONS Operating System: Arch Linux KDE Plasma Version: 5.17.4 KDE Frameworks Version: 5.65.0 Qt Version: 5.14.0 Kernel Version: 5.4.6 OS Type: 64-bit
There is already a d-bus interface (in KWin) you can use to control from widget or other apps. That's what the KCM uses as well by the way.
(In reply to Roman Gilg from comment #1) > There is already a d-bus interface (in KWin) you can use to control from > widget or other apps. > > That's what the KCM uses as well by the way. Thanks. Is there are some comprehensive docs on KDE-related D-Bus interfaces? It was not a trivial thing to find exact methods and I just dug into qdbus to find out.
See /usr/share/dbus-1/interfaces/org.kde.kwin.ColorCorrect.xml