On Wed, Oct 02, 2002 at 12:51:57PM +0100, Markus Kuhn wrote:
> following .Xmodmap file (which also disables the annoying caps-lock
> key):
> 
> ! to get capslock back: xmodmap -e 'add Lock = Caps_Lock'
> clear lock
> keysym a = a NoSymbol adiaeresis NoSymbol
> keysym o = o NoSymbol odiaeresis NoSymbol
> keysym u = u NoSymbol udiaeresis NoSymbol
> keysym s = s NoSymbol ssharp     NoSymbol
> keysym p = p NoSymbol section    Greek_pi
> keysym d = d NoSymbol degree     NoSymbol
> keysym e = e NoSymbol EuroSign   NoSymbol
> keysym i = i NoSymbol idiaeresis NoSymbol
> keysym m = m NoSymbol emdash     mu
> keysym n = n NoSymbol endash     NoSymbol
> keysym space = space NoSymbol nobreakspace NoSymbol
> keycode 34 = bracketleft braceleft leftsinglequotemark leftdoublequotemark
> keycode 35 = bracketright braceright rightsinglequotemark rightdoublequotemark
> keysym minus = minus underscore 0x01002212 NoSymbol

For another example of a Xmodmap, with somewhat similar goals (note that
this just remaps the keypad instead of messing with AltGr), but this way
you can cover more languages:

keycode 0x4F =  dead_circumflex dead_breve
keycode 0x50 =  dead_diaeresis  ssharp
keycode 0x51 =  dead_acute      dead_grave
keycode 0x53 =  eth     ETH
keycode 0x54 =  0x1002014       0x1002026
keycode 0x55 =  0x1002019       0x1002018
keycode 0x56 =  oe      OE
keycode 0x57 =  0x100201D       0x100201C
keycode 0x58 =  0x1002010       2
keycode 0x59 =  dead_tilde      dead_abovering
keycode 0x70 =  dead_macron     dead_doubleacute
keycode 0x3F =  dead_caron      dead_belowdot
keycode 0x52 =  dead_cedilla    dead_ogonek
keycode 0x5A =  thorn   THORN
keycode 0x5B =  dead_hook       dead_horn
keycode 0x6C =  ae      AE

-- 
David Starner - [EMAIL PROTECTED]
Falshe fridn iz beser vi a rikhtige krig. /
A bad peace is better than a good war. - Yiddish Proverb
_______________________________________________
I18n mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/i18n

Reply via email to