Search code examples
linuxemacswindows-key

Linux: Mapping Windows key to M-x for the purpose of emacs usage


I am an emacs user (on linux laptop) looking to make better use of my keyboard settings. The windows key is unused on my keyboard... is there any way to map it to m-x? This might make many emacs commands faster.

Thanks,

SetJmp


Solution

  • Use xmodmap to make it the Menu key, as in

    keycode 115 = Menu
    

    You will have to use xev to find out if the Windows key is key 115 on your keyboard.