Bug 378531

Summary: KScreenlocker does not support custom hotkeys for layout switching
Product: [Unmaintained] kscreenlocker Reporter: Mike Krutov <nekoxmachina>
Component: generalAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: bshah, kde, mgraesslin
Priority: NOR    
Version First Reported In: 5.5.5   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 5.12.0
Sentry Crash Report:

Description Mike Krutov 2017-04-07 10:28:15 UTC
My configuration in system-settings keyboard module defines 3 layouts:

- US
- Czech
- Russian.

I use custom per-layout hotkeys (meta-shift-{1,2,3}) to switch layouts. 

This hotkeys are not available in KScreenLocker, so if I lock screen with let's say russian layout - my two resorts are either $setxkbmap from other tty either switching layout via mouse clicks.

What I'd expect is to have that hotkeys active in KScreenLocker as well.
Comment 1 Kai Uwe Broulik 2017-04-07 10:46:41 UTC
Patch https://phabricator.kde.org/D5331
Comment 2 Mike Krutov 2017-04-07 11:01:32 UTC
Wow, that was fast. Thank you!
Comment 3 Kai Uwe Broulik 2017-12-21 15:30:19 UTC
Git commit 4180796cd389b7f77da96307d6254cb0ea62e99f by Kai Uwe Broulik.
Committed on 21/12/2017 at 15:29.
Pushed by broulik into branch 'master'.

Whitelist Switch keyboard layout to shortcuts

This changes the whitelist to be a QRegularExpression to allow for more sophisticated whitelisting.
An expression matching "Switch keyboard layout to .*" has been added.
FIXED-IN: 5.12.0

Differential Revision: https://phabricator.kde.org/D5331

M  +17   -15   globalaccel.cpp

https://commits.kde.org/kscreenlocker/4180796cd389b7f77da96307d6254cb0ea62e99f