https://bugs.kde.org/show_bug.cgi?id=445566
Bug ID: 445566 Summary: "Turn off screen" keyboard shortcut doesn't work Product: Powerdevil Version: 5.23.3 Platform: Archlinux Packages OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: general Assignee: plasma-b...@kde.org Reporter: ad.liu....@gmail.com Target Milestone: --- SUMMARY In systemsettings, the "Turn off screen" shortcut under "Power management" doesn't work. When pressed, the screen turns off then immediately on again. STEPS TO REPRODUCE 1. Open systemsettings 2. In keyboard shortcut - power management, set a custom shortcut for "turn off screen" 3. Press that shortcut OBSERVED RESULT Screen turns off then immediately on. EXPECTED RESULT Screen turns off. SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.23.3 KDE Frameworks Version: 21.08.3 Qt Version: 5.15.2 ADDITIONAL INFORMATION Setting a custom shortcut with the following command (from the kdeconnect document) works: sleep 0.1 && qdbus org.kde.kglobalaccel /component/org_kde_powerdevil invokeShortcut "Turn Off Screen" So my guess it is the key depressing event turned the screen back on, so a sleep is necessary. -- You are receiving this mail because: You are watching all bug changes.