Bug 452829

Summary: Configurable keyboard shortcut for turning the screen off, for laptops without a special key that does this
Product: [Plasma] plasmashell Reporter: jakubby
Component: Power management & brightnessAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: wishlist CC: jakubby, jpetso, nate, plasma-bugs-null
Priority: NOR    
Version First Reported In: 6.2.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
See Also: https://bugs.kde.org/show_bug.cgi?id=357456
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description jakubby 2022-04-21 16:28:29 UTC
SUMMARY
I can't use a custom keyboard layout for this in Wayland;;

SOFTWARE/OS VERSIONS
Linux/KDE Plasma:  5.24.4
(available in About System)
KDE Plasma Version: 5.93.0
KDE Frameworks Version: 5.93.0
Qt Version: 5.15.3

ADDITIONAL INFORMATION
Comment 1 Jakob Petsovits 2023-12-06 03:53:06 UTC
Not a direct fix for this bug, but in Plasma 6.0 you'll be able configure the screen to automatically turn off after a certain time when the screen is locked. You can set this to a value in the low seconds and use the "Lock session" keyboard shortcut, which defaults to "Meta+L", until Plasma adds a "Turn off screen" shortcut.
Comment 2 Jakob Petsovits 2025-02-24 17:42:50 UTC
You can configure a custom shortcut to turn off the screen by opening System Settings, "Keyboard" -> "Shortcuts" page, "Power Management" category (or search for "screen"), assign your favorite shortcut to "Turn Off Screen".

It looks like this has already been possible since 2019, but I just tested this under Wayland and it still works as it should.