KDE assign meta key to trigger the menu window but depending on the situation this does not always work.

This issue seem to be fixed on newer version of KDE but this is not yet widely distributed.

How to fix it ?

  1. First disable the meta key feature (source) : edit ~/.config/kwinrc, adding the following lines:
  1. Then restart kwin with kwin_x11 --replace & disown.

  2. Map a new key to meta with xmodmap -e 'keycode 133 = F14' (F14 is used here)

  3. Set F14 as the shortcut to trigger the menu (right click on the menu then settings)

To make this permanent, step 3 needs to be added to startup


Xmodmap changes does not seem to be kept after sleep/resume, here is how to set xmodmap on system resume with systemd: (non systemd user can use this)

  • Create xkeyboard resume script:

    touch /usr/lib/systemd/system-sleep/xkeyboard; chmod 755 /usr/lib/systemd/system-sleep/xkeyboard

  • Edit xkeyboard and fill it with:


    case $1 in
            exit 0
            export DISPLAY=:0
            sleep 10
            xmodmap -e 'keycode 133 = F14'

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.