Bug 435187 - no multi-modifiers only shortcuts support
Summary: no multi-modifiers only shortcuts support
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: input (other bugs)
Version First Reported In: 5.8.9
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://blog.martin-graesslin.com/blo...
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-31 14:37 UTC by Andrey
Modified: 2024-06-04 10:19 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrey 2021-03-31 14:37:31 UTC
Plasma got support for modifier only shortcuts in Plasma 5.8:
https://blog.martin-graesslin.com/blog/2016/08/modifier-only-shortcuts-available-in-plasma-5-8/
That support spans to single modifier shortcuts only.
This prevents it from using the feature for common shortcuts switching layout such as Alt+Shift, Ctrl+Shift etc.
Using that shortcuts from XKB configuration has drawback as no non-modifier key combinations with this modifiers are longer possible, i.e. Alt+Shift+<some_non-modifier_key>, see bug 435181.

Typical ~/.config/kwinrc config for the feature looks like: 
[ModifierOnlyShorcuts]
Alt=
Control=
Meta=org.kde.krunner,/App,,display
Shift=org.kde.plasmashell,/PlasmaShell,org.kde.PlasmaShell,activateLauncherMenu