Re: Configure keys for my keyboard
On Sun, Apr 01, 2001 at 11:19:20AM -0700, Matt Brubeck wrote:
> On Sun, 1 Apr 2001, Arne Scheffler wrote:
> > there are some keys on my keyboard which xkb don't map right. Now I
> > want to know the keycodes. But I don't know which tool to use. Is
> > there a tool I can start, press the key and see which keycode it
> > produce?
> Use "xev" from the xbase-clients package. Start it from an xterm, then
> give it focus and press the keys. Their keycodes will appear in the xterm.
If you haven't tried xkeycaps, then you should. It's great :) Unless
you need some serious keyboard kung fu, xkeycaps should handle all the dirty
work and spit out an xmodmap input file. (This won't help if you're going
to mess with the xkb defs, though.)
#define X(x,y) x##y
Peter Cordes ; e-mail: X(email@example.com. , ns.ca)
"The gods confound the man who first found out how to distinguish the hours!
Confound him, too, who in this place set up a sundial, to cut and hack
my day so wretchedly into small pieces!" -- Plautus, 200 BCE