Greetings,
: I just used xmodmap to remap a key. It works great in X. But not
: in the VGA console.
That is true. X and the console use two different mechanism for
remapping keys. It can be wonderfully annoying if you find yourself
switching layouts from the default.
: I tried editing the file in /usr/share/keymaps (Gentoo system) to
: no avail. Is this the right place, but maybe I just wasn't doing
: it right?
I suspect that /usr/share/keymaps on your Gentoo system is the
location of the console keymap files read by the loadkeys utility
('man 1 loadkeys'). You can switch layouts using loadkeys. I use
the dvorak layout and switch this way:
zcat /usr/share/kbd/keymaps/i386/dvorak/dvorak.map.gz | loadkeys -
: Is there a tool similar to xev that works in non-X shells? Are
: the kexcodes identical in X and non-X environments?
I do not think that they keycodes are identical; in fact, they seem
to be two very different worlds. Also, I have never found something
similar to 'xev', which I admit is remarkably convenient when you
find yourself messing with this sort of remapping.
Good luck,
-Martin
--
Martin A. Brown
http://linux-ip.net/
_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug