Rebind Alt key to win using setxkbmap?

Posted by Wayne Werner on Ask Ubuntu See other posts from Ask Ubuntu or by Wayne Werner
Published on 2011-03-09T23:33:27Z Indexed on 2011/03/10 0:18 UTC
Read the original article Hit count: 388

Filed under:

Hi,

After an hour or two of manpage and Google searching and finding no solution or good resources, I've come for help!

I have set my Caps Lock key to Ctrl using setxkbmap -option ctrl:nocaps - this works perfectly fine.

However, since I use [awesome][1], and an IBM model M which lacks the meta key, I need my left alt key to replace the windows key. Using xkeycaps I was able to get this to work, except it killed my arrow keys and End. Problematic.

Unfortunately, documentation on setxkbmap options are sparse. and I can't find the proper option to use.

Thanks for any links/solutions.

© Ask Ubuntu or respective owner

Related posts about keyboard