Re: Alt key/.Xmodmap breakage
Re: Alt key/.Xmodmap breakage
- Subject: Re: Alt key/.Xmodmap breakage
- From: Harald Hanche-Olsen <email@hidden>
- Date: Tue, 04 Dec 2007 18:49:19 +0100 (CET)
+ Stefan Schwandter <email@hidden>:
> thanks, but this doesn't seem to work. [...]
>
> Am 03.12.2007 um 22:32 schrieb Jeremy Huddleston:
>
> >> On Dec 3, 2007, at 13:01, Stefan Schwandter wrote:
> >>
> >>> Is there a way to map the left Option button to Alt and the
> >>> right one to mode_switch?
Maybe your left and right Alt keys are the same? Run xev, place the
mouse cursor in the little window that pops up, and press and release
buttons. You will then see both the keycodes and the keysyms of the
keys, as in the following sample:
KeyRelease event, serial 26, synthetic NO, window 0xa00001,
root 0x3f, subw 0x0, time 2789333423, (131,154), root:(155,196),
state 0x2000, keycode 69 (keysym 0xff7e, Mode_switch), same_screen YES,
XKeysymToKeycode returns keycode: 66
XLookupString gives 0 bytes:
If your left and right Alt keys produce the same keycode, there is no
way you can use xmodmap to distinguish them. If they produce
different keycodes, you can use xmodmap to assign different keysyms to
them as well. You can learn the proper syntax simply by looking at
the output of: xmodmap -pke
And of course, once they have different associated keysyms, you can
put them on different modifiers as well. Let us know if you have
trouble, but be sure to give us any specific information you have
found out, or it becomes difficult to help.
- Harald
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden