mblumenstingl created this revision. mblumenstingl added a reviewer: Plasma. mblumenstingl added a project: Plasma. Herald added a subscriber: plasma-devel. mblumenstingl requested review of this revision.
REVISION SUMMARY PowerDevilDPMSAction already provides implementations for X11 and Wayland which allow turning off the screen. For X11 there was a way to do this on the command line (with "xset dpms force off"), but there's no such replacement for Wayland yet. Add an action - to which users can assign a shortcut - to turn off the screen. TEST PLAN start a plasma wayland session open systemsettings5 -> Shortcuts -> Global Shortcuts -> Power Management assign a shortcut to "Turn Off Screen" press this shortcut (screen must now turn off) REPOSITORY R122 Powerdevil REVISION DETAIL https://phabricator.kde.org/D22261 AFFECTED FILES daemon/actions/dpms/CMakeLists.txt daemon/actions/dpms/powerdevildpmsaction.cpp daemon/actions/dpms/powerdevildpmsaction.h To: mblumenstingl, #plasma Cc: plasma-devel, LeGast00n, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart