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 - a...@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 -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20110205100645.gd6...@acampbell.org.uk