I'm constantly on bash via ssh, on a computer that doesn't have X. In my computer I've switched the keyboards' Super and Alt keys with xmodmap.
Is it possible to do it on the computer in which I log in? It's running Debian Lenny.
Update: Is there an equivalent for xev too? I tried doing
loadkeys ~/.loadkeys
where ~/.loadkeys contained:
keycode 133=0xffe9
keycode 64=0xffeb
But it seems that loadkeys doesn't accept hexagesimal literals, since it fails with the message:
Couldnt get a file descriptor referring to the console
KDGKBMODE: Bad file descriptor
loadkeys: error reading keyboard mode
I also tried
keycode 133=64
keycode 64=133
In which format should the new mapped key value (value in the right) be?