KDE Version 5.27.5 on Debian 12
These are the commands I used
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta "org.kde.kglobalaccel,/component/krunner_desktop,org.kde.kglobalaccel.Component,invokeShortcut,_launch"
qdbus org.kde.KWin /KWin reconfigure
kwriteconfig5 --file ~/.config/kwinrc --group ModifierOnlyShortcuts --key Meta ""
qdbus org.kde.KWin /KWin reconfigure
Now the meta key does nothing and my shortcuts with the meta key are all gone. What do I do to undo these?
My script does something different to enable it, maybe try that?
For the menu to work with Meta all it needs is to have any shortcut bound to it while also not being bound to open KRunner or Overview by itself.
You might want to try using --delete to erase the entry you made in the config file to see if things get fixed.
thank you so much. your script worked amazing.
1 Like
guss77
4
BTW, on Plasma 6.1 you don’t need all that fiddling - just open Shortcuts and find the KRunner command:
Then click “Add custom shortcut” then press and release META:

Apply and you’re done.
You might get a popup that asks:
You say “Yes” and you don’t need to worry about conflicts.