6

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

Setjmp
  • 27,279
  • 27
  • 74
  • 92

2 Answers2

3

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.

Norman Ramsey
  • 198,648
  • 61
  • 360
  • 533
1

Just to provide a little more info, here's a link to a quick series of steps to remap the CapsLock Key in both X and Virtual Consoles:

The steps can be identically followed for Windows key or whatever else you may wish to remap.

RivieraKid
  • 5,923
  • 4
  • 38
  • 47
wmat
  • 460
  • 2
  • 7