I'm playing around with keyboard settings, and wanted to remap my windows keys to tab, for convenience. So I tried (133 is the left super key on my keyboard)

xmodmap -e "keycode 133 = Tab Super_L"

but this didn't work, in that hitting the windows key still brings up the "windows" menu, and no tab is inserted. A few different variations on the same theme also didn't work, e.g. making the Tab happen on shift+super.

I'm using cinnamon (installed from a ppa on ubuntu 16.04) and lightdm, and I imagine that the windows/super key is being intercepted at a lower level, which xmodmap can't quite deal with...is there any way of achieving what I want? Answers not involving xmodmap are welcome!

(I'm far from an expert, so perhaps there's a very easy solution...)

  • 2
    Mixing modifiers and non-modifiers on the same key is tricky. You may need to run add or remove commands to set this up, or it may require going via XKB. – Gilles 'SO- stop being evil' Dec 6 '16 at 22:58

Your Answer

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

Browse other questions tagged or ask your own question.