Here are some ideas of what to look for, or some directions to dig in (in addition to my previous post)
(This is by no mean comprehensive or even accurate, but it is a starting point.)
To my shame I have not read yet
http://www.faqs.org/docs/Linux-HOWTO...ole-HOWTO.html
and the suggestions here are translated and collated from the lea book
Lineak, KHotKeys (Sourceforge project hotkeys), KeyLaunch, XBindKeys
XBindKeys allows one to associate a command to a key combination.
Here are command line fashion-style ideas, some of these may be performed through GUI (?).
You can use xev (in a console) to know the keycode of any keyboard key
Or you can look in /etc/X11/xkb/symbols/code (where code is us, en, be , uk)
Key definitions are in /usr/X11R6/lib/X11/XKeysymDB
Copy the definitions you want to ascribe and edit ~/.xmodmaprc
To activate the new mapping xmodmap ~/.xmodmaprc
In kde this can be automated by creating a script in ~/.kde/Autostart/
I do not have a linux pc to check if this applies to xfree and X11
NB: xmodmap can be used in this way as well:
xmodmap −e "keycode xxx = KEYSYMNAME "
KEYSYMNAME is given by xev where before the closing bracket where keysym is
(keysym 0xffca, F13), in this example KEYSYMNAME is F13
There might be a .Xmodmap file in the user userspace ~.Xmodmap
This can be edited, for example to make the delete key of the numerical pad
To retur a period whether numlock is on or not, shift <key> returns a comma.
keycode 0x5B = period comma
Another way is to edit your /etc/X11/xconfig (name, location may vary)
In a section (incomplete) like below, you may need edit it to have the right layout or keyboard
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "keyboard"
#In X11 version 6.8 or above Driver "kdb"
Option "XkbModel" "somemodel"
Option "XkbLayout" "en"
EndSection
The keyboard definition is sometimes in /etc/X11/xkb/symbols/inet
rc.keymap this script load the keyboard config for the terminals
/etc/inputrc has some info about the keyboard behaviour
Also you can load another mapping with for example
/usr/bin/loadkeys fr−latin1.map
Other possibly relevant commands
setxkbmap
Edit /etc/sysconfig/keyboard and look for KEYTABLE=
kde services overrides some of the multimedia keys. It can be stopped (so I read)
where KDE_PATH=/usr/kde/3.3 for example, as root edit
KDE_PATH/share/services/kded/kmilod.desktop
replace X−KDE−Kded−autoload=true by X−KDE−Kded−autoload=false
restart kde
See also
http://www.linuxquestions.org/questi...d.php?t=382876
Mapping Keyboard Special Keys(some success at long last)