On 20020119 Michael Reinsch wrote:
>Hi!
>
>Somehow the keyboard settings for XFree86-4.1.99.6-2mdk are odd. I've got 
>a ThinkPad T20 which fortunately come _without_ those windows keys. But 
>now with the new XFree, my Alt key emulates the Menu key: when I press 
>Alt, the Gnome menu appears :-((
>
>My current keyboard options:
>
>     Option "XkbRules" "xfree86"
>     Option "XkbModel" "pc105"
>     Option "XkbLayout" "de(nodeadkeys)"
>
>I've tested several other XkbModel (pc101, pc102, pc104 and some others) 
>but either some keys don't work or Alt doesn't work correctly.
>
>Can someone give me a hint how this can be fixed? That would be very nice. 
>Thanks!
>

I have put this in /etc/X11/Xmodmap (do not remenber exactly which ones
were there in the original file...):

!
! This is the "Xmodmap" file for Standard Keyboards with Windows keys.
!
! If you want to have other keymappings for special X-Terminals, just
! create a "Xmodmap.${DISPLAY}" file with the according changes.
!

keycode 22  = BackSpace
keycode 115 = Super_L
keycode 116 = Super_R
keycode 117 = Menu
keycode 26 = e E EuroSign

with this:
- 'windows' keys give me Super_L and Super_R
- left Alt gives Alt_R
- right Alt (AltGr) gives Mode_switch
- the key with the menu and the pointer gives Menu.

-- 
J.A. Magallon                           #  Let the source be with you...        
mailto:[EMAIL PROTECTED]
Mandrake Linux release 8.2 (Cooker) for i586
Linux werewolf 2.4.18-pre4-beo #3 SMP Wed Jan 16 02:58:41 CET 2002 i686

Reply via email to