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
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
Identifier "Generic Keyboard"
#In X11 version 6.8 or above Driver "kdb"
Option "XkbModel" "somemodel"
Option "XkbLayout" "en"
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
Other possibly relevant commands
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
replace X−KDE−Kded−autoload=true by X−KDE−Kded−autoload=false
Mapping Keyboard Special Keys(some success at long last)