Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Right Alt Key, Alt_R not Mode_switch< Next Oldest | Next Newest >
kenta Offline





Group: Members
Posts: 4
Joined: July 2005
Posted: July 27 2005,01:07 QUOTE

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?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: July 27 2005,02:44 QUOTE

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


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
kenta Offline





Group: Members
Posts: 4
Joined: July 2005
Posted: July 30 2005,18:44 QUOTE

xmodmap -e "keycode 108 = Alt_R"
xmodmap -e "add mod1 = Alt_R"
Back to top
Profile PM 
kenta Offline





Group: Members
Posts: 4
Joined: July 2005
Posted: July 30 2005,20:42 QUOTE

I forgot one line:

xmodmap -e "remove mod4 = Mode_switch"
xmodmap -e "keycode 108 = Alt_R"
xmodmap -e "add mod1 = Alt_R"
Back to top
Profile PM 
3 replies since July 27 2005,01:07 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Right Alt Key

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code