views:

323

answers:

2

Hi -

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

+2  A: 

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
+1  A: 

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.

wmat