Hi,
I am running XDarwin1.02/XFree86 4.0.3 on an Apple Powerbook G4 and I cannot get the Alt key to work. I thought it was supposed to be bound to the Option key by default but when am in X it does nothing. I need to find a way to remap either the option key or the Apple Command key to the alt key (keysym Alt_L ??).


Here is my xmodmap output:

xmodmap: up to 2 keys per modifier, (keycodes in parentheses):

shift       Shift_L (0x40),  Shift_R (0x44)
lock        Caps_Lock (0x41)
control     Control_L (0x43),  Control_R (0x46)
mod1        Mode_switch (0x42),  Alt_R (0x45)
mod2        Meta_L (0x3f)
mod3
mod4
mod5

When I use xev to get event information on the option key I get:

KeyPress event, serial 25, synthetic NO, window 0xe00001,
    root 0x3a, subw 0x0, time 1838131499, (141,-162), root:(1114,293),
    state 0x0, keycode 66 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 25, synthetic NO, window 0xe00001,
    root 0x3a, subw 0x0, time 1838132179, (141,-162), root:(1114,293),
    state 0x8, keycode 66 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

The command key event information is:

KeyPress event, serial 20, synthetic NO, window 0xe00001,
    root 0x3a, subw 0x0, time 1838245299, (97,-75), root:(1070,380),
    state 0x0, keycode 63 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes:  ""

KeyRelease event, serial 25, synthetic NO, window 0xe00001,
    root 0x3a, subw 0x0, time 1838245383, (97,-75), root:(1070,380),
    state 0x10, keycode 63 (keysym 0xffe7, Meta_L), same_screen YES,
    XLookupString gives 0 bytes:  ""


What I need is a way to translate this key event information into an xmodmap incantation that will give me ALT functionality on one of those keys. The xmodmap documentation is pretty thin, I came up empty searching the list archives, and I was not able to google up an useful info either so I'm asking here. Any xmodmap-guru advice or pointers to documentation/info on making this work are greatly appreciated.


Thanks in advance,
[EMAIL PROTECTED]


_______________________________________________ XFree86 mailing list [EMAIL PROTECTED] http://XFree86.Org/mailman/listinfo/xfree86

Reply via email to