From: Gabor Herr (herr@iti.informatik.th-darmstadt.de)
Date: 10/14/92


From: herr@iti.informatik.th-darmstadt.de (Gabor Herr)
Subject: Re: Xfree86-1.1, the ALTGR key and norwegain (european) keyboards
Date: Wed, 14 Oct 1992 12:20:48 GMT

In article <1992Oct12.135518.21221@ifi.uio.no>, janl@ifi.uio.no (Jan Nicolai Langfeldt) writes:
>
> The norwegain keybard has some characters on the key-front (as opposed
> to key-top). We usualy get to them with the help of ALTGR. This worked
> with my Xmodmap.no (same as the one you find on the linux ftp sites)
> for the old X386 (X11v2.0 i think). Now all ALTGR does is set the high
> bit. Can I configure this somewhere? Or do I have to get some source
> and fiddle?
>
> Thanks.
>
> Nicolai
> --
> Nicolai Langfeldt, "Bugs made while you wait"
> Internet: janl@ifi.uio.no
>

I had the same problem with my Xmodmap.ger. If the ALTGR key is assigned
to the modifier 'mod1', it only generates one KeyPress event and no more
Release events. So you just have to remove this key from 'mod1'...

Try the following, it worked for me:

! assign group switch to keycode of AltGr
keycode 113 = Mode_switch

! remove 'AltGr' from modifier 'mod1'
remove mod1 = Alt_R

! add group switch to a modifier other than 'mod1', in this case to 'mod5'
add mod5 = Mode_switch

Gabor

############################################################################
Gabor Herr Email: herr@iti.informatik.th-darmstadt.de
Computer Science Department
Technical University of Darmstadt, Germany