encountering an error with xmodmap add Control/Mod1 command
encountering an error with xmodmap add Control/Mod1 command
- Subject: encountering an error with xmodmap add Control/Mod1 command
- From: raf <email@hidden>
- Date: Thu, 14 Oct 2010 11:49:01 +1100
- Resent-date: Thu, 14 Oct 2010 12:02:02 +1100
- Resent-from: email@hidden
- Resent-message-id: <email@hidden>
- Resent-to: email@hidden
hi,
macbookpro mid-2010, macosx-10.6.4, xquartz-2.5.3
(option keys send Alt_L and Alt_R in preferences).
i'm getting errors when trying to set modifier keys using xmodmap.
the following xmodmap commands make:
- the left alt key become Meta_L (instead of Alt_L), and
- the right alt key becomes Control_R (instead of Alt_R).
- then the control modifiers are cleared and set to the left and right control keys, and
- the mod1 modifiers are cleared and set to be the left and right meta keys.
keycode 66 = Meta_L NoSymbol Meta_L
keycode 69 = Control_R NoSymbol Control_R
clear Control
add Control = Control_L Control_R
clear Mod1
add Mod1 = Meta_L Meta_R
i get an error (BadValue (integer parameter out of range for operation))
in the add commands with Control_R and Meta_L and Meta_R.
the Control_L on its own is accecpted.
any ideas what i can try to get it working?
it works with the X11.app that comes with macosx-10.6.4 (xquartz-2.3.5).
cheers,
raf
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden