RE: [Tiger] "ALT" key does not work with X11
RE: [Tiger] "ALT" key does not work with X11
- Subject: RE: [Tiger] "ALT" key does not work with X11
- From: "Lars C. Hassing" <email@hidden>
- Date: Thu, 7 Jul 2005 15:14:14 +0200
- Thread-topic: [Tiger] "ALT" key does not work with X11
eric bachard wrote:
> Just for say your ALT key does not work with X11 since I installed
> Tiger +X11 (bundled with Tiger).
I had the same problem on 10.3 (X11 1.0 XFree86 4.3.0)
When I pressed and released the Option key (Alt), xev said:
state 0x2000, keycode 66 (keysym 0xff7e, Mode_switch)
i.e. an illegal and undefined state (mask).
Though xmodmap showed "mod1 Mode_switch (0x42)",
XtGrabKey(.., Mod1Mask, ..) was unable to to catch e.g. Alt+A.
XtGrabKey(.., 0x2000, ..) returned an error.
I solved it by this:
xmodmap -e "clear Mod1"
xmodmap -e "keycode 66 = Alt_L"
xmodmap -e "add Mod1 = Alt_L"
Then xev reports the option key (both option keys) as:
state 0x8, keycode 66 (keysym 0xffe9, Alt_L)
0x8 is Mod1Mask.
Now I can even access Motif menus, e.g. the File Menu pressing Alt+F.
Best regards
Lars C. Hassing, Software Engineer, CCI Europe
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden