Re: Remapping of dead key ??
Sunny Dubey <dubeys@bxscience.edu> writes:
> I have a small problem. I just took an old laptop and set it up as
> a MASQ box for my girl friend. It runs debian woody, and works just
> perfectly. There is this one problem ... the / key doesn't work. (
> The key with / and ? on it).
>
> So I was wondering if it was possible to map / to another key or
> something??
Yes that is fairly easy to do.
The keymaps are located in /usr/share/keymaps and the default is in
/etc/console-tools/default.kmap.gz . Possibly the easiest method is to
gunzip the default.kmap.gz and work with it.
Find the keycode for the slash character; mine looks like:
keycode 53 = slash question
control keycode 53 = Delete
alt keycode 53 = Meta_slash
shift alt keycode 53 = Meta_question
To find out the keycode for an arbitrary key to remap the character
to, use the program "showkey", then replace the keycode number for
slash (53 in the above example) with the new one and remove the
previous definition for the new key.
Then gzip it again and to test it use "loadkeys".
Elizabeth
Reply to: