34

Where can I disable super_L key (windows key) opening KDE menu?

Or where can I change this shortcut?

2 Answers 2

46

In KDE Plasma 5.8, the super/win key is also used to trigger the launcher, when pressed and released without combining it with another key. To disable the feature,

  1. put this into ~/.config/kwinrc:

    [ModifierOnlyShortcuts]
    Meta=
    
  2. then reload the window manager (kwin), either by logging out and logging back in, or with with this command:

    qdbus org.kde.KWin /KWin reconfigure
    

Equivalently run this

kwriteconfig5 --file kwinrc --group ModifierOnlyShortcuts --key Meta ""

Sources:

5
  • 5
    Addition: configuration should be reloaded after that. To reload configuration, run kwin_x11 --replace or just log out and log in.
    – Sasha
    Commented Nov 10, 2018 at 10:52
  • 11
    Addition: kwriteconfig5 --file kwinrc --group ModifierOnlyShortcuts --key Meta "" command can be used instead of editing the config file manually.
    – Sasha
    Commented Nov 10, 2018 at 10:53
  • Confirmed working in KDE Plasma 5.18.5 on Manjaro. (Just in case someone thinks it's outdated because the answer is from 2016.) Commented Jul 3, 2020 at 7:17
  • 2
    Confirmed to work in Kubuntu 22.04, using command from @Sasha you don't need to logging back.
    – Eneko
    Commented Jun 23, 2022 at 9:16
  • still working 2023, arch linux / KDE plasma. Thanks for solution, this was a major annoyance
    – carpii
    Commented Feb 12, 2023 at 21:43
1

Things have changed in Plasma 6.1 concerning "modifier-only" shortcuts, and it's much easier to do such a configuration: they can be configured visually with the Shortcut system settings and are now stored together with other shortcuts in “~/.config/kglobalshortcutsrc”.

More details can be found here: https://www.lorenzobettini.it/2024/06/modifier-only-shortcuts-in-kde-plasma-6-1/

Here's an example of the default configuration for the "Meta" key:

enter image description here

2
  • I was about to post the same answer here, but seeing you already have one, please make use of the screenshots and steps-to-reproduce from the one I just posted here. This will make it easier for people to figure out what to do.
    – Hi-Angel
    Commented Jun 24 at 6:59
  • I added a screenshot, and the explanation that the linked blog post provides more details Commented Jun 24 at 9:09

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .