SUMMARY ModifierOnlyShortcuts configured in kwinrc do not work in Plasma 5.17, but worked in Plasma 5.16 STEPS TO REPRODUCE 1. Edit kwinrc with [ModifierOnlyShortcuts] Meta=org.kde.kglobalaccel,/component/krunner,,invokeShortcut,run command 2. Restart Plasma or reconfigure KWin OBSERVED RESULT Nothing happens after pressing Meta key EXPECTED RESULT Krunner should be displayed SOFTWARE/OS VERSIONS Linux/KDE Plasma: Neon 5.17 (available in About System) KDE Plasma Version: 5.17.0 KDE Frameworks Version: 5.63.0 Qt Version: 5.13.1 ADDITIONAL INFORMATION
BEFORE 5.17 UPDATE: 1. Running "qdbus org.kde.kglobalaccel" outputs "/component/krunner". 2. Running "qdbus org.kde.kglobalaccel /component/krunner org.kde.kglobalaccel.Component.invokeShortcut "run command"" opens KRunner. AFTER 5.17 UPDATE: 1. Running "qdbus org.kde.kglobalaccel" outputs "/component/krunner_desktop". 2. Running "qdbus org.kde.kglobalaccel /component/krunner_desktop org.kde.kglobalaccel.Component.invokeShortcut "run command"" does NOT open KRunner.
org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component.invokeShortcut,_launch or more directly org.kde.krunner /App org.kde.krunner.App.display In any case, there was never a UI to configure this option so it is not a kwin bug.
I tried both of them before. They work from command line but don't work when configured as ModifierOnlyShortcut. I tried kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component.invokeShortcut,_launch" kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.krunner,/App,,org.kde.krunner.App.display" If this is not a bug of kwin, which component can I report it under?
BTW I prefer kglobalaccel version because pressing Meta once opens krunner and pressing Meta second time closes krunner. The other version always opens krunner and you have to use Esc to close krunner.
And one more thing. Remapping Meta key to Launcher menu works, so I guess it is an issue with krunner.
And another one more thing :) I managed to get it working with this config kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner_desktop,,invokeShortcut,_launch"