On Mon, Dec 08, 2003 at 12:40:29AM +0100, Martin Stubenschrott wrote:
> E.g. I tried to map the special key with the keycode 235 to "0" with:
> xmodmap -e "keycode  235 = 0"

This is not going to work if there's another keycode mapped to the same
keysym "0" as XKeysymToKeycode only returns one keycode. I'm surprised 
that xmodmap even let's you do this. The keysym->keycode map should be
injective. After all, keysyms are just platform-independent abstraction
of keycodes. Inputting text may work, because keycodes are never used,
but to grab a key the keycode is needed.

Just map the keycode to some unused keysym from
/usr/X11R6/include/X11/keysymdef.h. There are F-keys up to F35, for 
example.

-- 
Tuomo

Reply via email to