[Wylug-help] X Keyboard Oddness

James Holden james at microcosmos.co.uk
Mon, 17 Mar 2003 14:57:22 -0000 (GMT)


Jason Lander said:
>
> James,
>
> I still don't quite understand what you are trying to do...
>
> Are you saying there is an extra key with an `@' on it that you would
> like this to actually deliver the `@' character?

Yes there is.

> If so, I think you can use xmodmap to map this `keycode' of this key to
> the `keysym' for an `@'.
>
> You can use
>
>    xev
>
> to get the keycode. If you start xev, and ensure that it has
> keyboard focus and that you can see what is is sending to stdout, you
> can then press your @-key and xev will report KeyPress event with the
> keycode attached:

'Fraid not. Xev shows that it produces a whole stream of keypresses, which
equate to keying zero, six and four on the numeric keypad whilst holding
down Left-Alt. On the "other" OS, this enters the @ symbol when this
happens because the ASCII code for @ is 64.

Can the X keyboard gubbins be persueded to act in this way?

James


[snip]

--
James Holden, Leeds, United Kingdom
james-at-jamesholden-dot-co-dot-uk
http://www.microcosmos.co.uk
Happy Birthday RMS!