zxerx,
I don\'t know the issue with Caps Lock. Never really needed it. If I get a chance, I\'ll take a look.
The \"global\" xmodmap file is /etc/X11/kb/corgi.xmodmap
If xmodmap doesn\'t do what you need, then there is another option. It uses the xkeymouse program. It was very simple
to build, but I don\'t know of anyone hosting the binary. Check out their website:
http://xkeymouse.sourceforge.net/Once you get this program, then you start this program from your /home/root/.xinit:
/usr/local/bin/xkeymouse&
This reads the file /etc/xkmc by default. Here is what my xkmc file looks like:
-----
# Make the Fn3 & Fn4 work as expected (turn the display brightness up/down
keycode=51, Mod2Mask, Exec, /usr/local/bin/downLight, NoFork, NoAutoRepeat
keycode=52, Mod2Mask, Exec, /usr/local/bin/upLight, NoFork, NoAutoRepeat
# Map the Calendar/Address/Mail to mouse buttions 1,2,3 respectively
keycode=96, none, Exec, xmodmap -e \"pointer = 1 2 3\", NoFork, NoAutoRepeat
keycode=97, none, Exec, xmodmap -e \"pointer = 2 1 3\", NoFork, NoAutoRepeat
keycode=98, none, Exec, xmodmap -e \"pointer = 3 2 1\", NoFork, NoAutoRepeat
----------------------
I don\'t really like using xmonobut, so until I find a better use for the calendar, address and mail buttions, I use them as mouse buttions.
Hope this helps.
-John
PS - I\'ll post another message explaining how I got the brightness buttions to work...