SUMMARY I need to use Left Alt+Shift to switch between keyboard layouts. I configured this when installing Fedora 33 (upgraded to 34 then35 since). In an X11 Plasma session the shortcut somehow still works; in a Wayland Plasma session it does not. In the System Settings, under Workplace > Shortcuts> Keyboard layout switcher, this shortcut is not visible and can not be set. "Switch to next keyboard layout" is set at Ctrl+Alt+K. When I expand it and click "Add custom shortcut" then press Left Alt and Shift, the shortcut is not saved. Instead, it awaits a further key press. STEPS TO REPRODUCE 1. Open KDE System Settings 2. Select Workplace > Shortcuts> Keyboard layout switcher 3. Expand Switch to next keyboard layout 4. Click +Add Custom Shortcut 5. Hold Left Alt and Shift OBSERVED RESULT No shortcut is set, the system awaits a further key press EXPECTED RESULT Left ALt+Shift shortcut is set SOFTWARE/OS VERSIONS Windows: macOS: Linux/KDE Plasma: (available in About System) KDE Plasma Version: KDE Frameworks Version: Qt Version: ADDITIONAL INFORMATION
Update: the setting works in X11 because it is in /etc/X11/xorg.conf.d/00-keyboard.conf It can not be set via KDE settings which creates a regression under Wayland.
Update: I have found a way to set Alt+Shift as the shortcut under Wayland! KDE Settings > Hardware > Input devices > Keyboard > Layouts , click "Main shortcut" and you get a selection that includes Alt+Shift. But I can't do this same thing under Workspace > Shortcuts. It's a usability issue with KDE Settings.
It seems as expected behavior - for modifiers-only shortcuts, Plasma has no UI currently but one can do it with manually editing special config. So maybe close this to prevent confusion, and open a new issue instead about impossibility to do it via UI?
It *can* be done with the UI. Just in another place of the UI compared to all other shortcuts.
Yes, that's what I mean - the "usual" shortcuts-assignment dialogs do not accept modifiers-only shortcuts. Keboard KCM is a specialized one.