Right Alt Key


Forum: X and Fluxbox
Topic: Right Alt Key
started by: kenta

Posted by kenta on July 27 2005,01:07
I'd like my right "ALT" key to actually function as an alt key.  "xev" reports that the right hand ALT key is by default doing "keycode 108 (keysym 0xff7e, Mode_switch)".  How can I make it do Alt_R?
Posted by mikshaw on July 27 2005,02:44
You can do it with the xmodmap utility.  I don't know the program well enough to help with specifics, but the man page should help you.
< http://www.die.net/doc/linux/man/man1/xmodmap.1.html >

Posted by kenta on July 30 2005,18:44
xmodmap -e "keycode 108 = Alt_R"
xmodmap -e "add mod1 = Alt_R"

Posted by kenta on July 30 2005,20:42
I forgot one line:

xmodmap -e "remove mod4 = Mode_switch"
xmodmap -e "keycode 108 = Alt_R"
xmodmap -e "add mod1 = Alt_R"

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.