[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: why is the RIGHT ALT key ignored?



On 04 Feb 2011, Henrique de Moraes Holschuh wrote:
> > Does 'RightAlt o c' give you '©', 'RightAlt ' a' give you 'á' etc.?
> 
> Or as AltGr (sort of a mode shift), as in RightAlt+r gives you ®.
> 
> You can configure it.  The easiest way is to use your desktop
> environment to do it.  Otherwise, you have to read a lot on XKB and its
> utilities, xmodmap, etc.
> 

I put all this stuff in .xinitrc (I don't use a desktop). 


 /usr/bin/xmodmap -e "keycode 108 = Alt_L"
 /usr/bin/xmodmap -e "keycode 66 = Escape"
 /usr/bin/xmodmap -e "clear Lock"
 /usr/bin/xmodmap -e "keycode 91 = Delete"
 /usr/bin/xmodmap -e "keycode 133 = F13"
 /usr/bin/xmodmap -e "keycode 134 = F14"
 /usr/bin/xmodmap -e "keycode 135 = F15"
exec icewm-session


Of course, you need to run xev to see which keycode is actually being
generated by Alt-R (108 in my case).

-- 
Anthony Campbell - ac@acampbell.org.uk 
Microsoft-free zone - Using Debian GNU/Linux 
http://www.acampbell.org.uk - sample my ebooks at
http://www.smashwords.com/profile/view/acampbell


Reply to: