Hi
Yes it can be done, i recalled an article i saw in a magazine and tried some things. in console that is, but i know it should work in X also, using different commands.
(like xmodmap and xev to get your keycodes, do a search in the forums)
For starters look here;
http://www.tldp.org/HOWTO/Keyboard-a...ole-HOWTO.html
check the loadkeys (console) and xmodmap (X) note
( in KDE use the kde controlcentrum.)
So i decided to assign the mc command to my left w$ button
and have it executed right away.
in console;
dumpkeys > test_keymap (and i made a safety copy),
there are other ways to find out what keymap you use for default, to include it in a script, etc but this 'll do.
showkey to get my keycode, reads out 125 for left w$
vi test_keymap (or whatever editor to use)
altered; keycode 125 = F100 (unused Fnumber)
added; string F100 = " mc\n " (the \n is for enter)
saved it
to test, ran; loadkeys test_keymaps and bingo; works.
put the loadkeys line in a init script like /etc/rc.d/rc.local
for rh and mdk for suse it's different (according to the
article)
Good luck