https://bugs.kde.org/show_bug.cgi?id=420493

--- Comment #7 from Yevhen <xalt7x.serv...@gmail.com> ---
I've tested Andrey suggestion from
https://bugs.kde.org/show_bug.cgi?id=453506#c3
Since Plasma 5.8 we can bind "Modifier-only" KWin shortcut (for now it could be
"Meta", "Alt", "Shift" and "Control", according to the
https://invent.kde.org/plasma/kwin/-/blob/Plasma/5.27/autotests/integration/modifier_only_shortcut_test.cpp)
which triggers action on release (not press).
So I assigned "Shift" to the qdbus command to switch the keyboard layout

kwriteconfig5 --file kwinrc --group 'ModifierOnlyShortcuts' --key 'Shift'
'org.kde.keyboard,/Layouts,org.kde.KeyboardLayouts,switchToNextLayout'
qdbus org.kde.KWin /KWin reconfigure

Looks like this is the way! Now I can switch keyboard layouts with a single
"Shift" press. But when I use combinations involving "Shift", the keyboard
layout doesn't change and combinations seem to work properly. E.g., I can type
capital letters and other symbols, use Ctrl+Shift+V paste on a terminal
emulator, etc.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to