xmodmap will allow you to remap your keyboard any way you'd like.The caps lock key belongs on the back of the monitor, In a safe, At the bottom of the ocean... On venus. P-Pomes, Nov 1993
xmodmap $HOME/.xmodmap
where my .xmodmap file has:
! ! Swap Caps_Lock and Control_L ! remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_Lanother example. makes alt key into meta (for you emacs hosers)
! make alt keys send meta keysym Alt_L = Meta_L keysym Alt_R = Meta_RMakes the backspace key (^H) into delete (^?)
! make backspace send delete keycode 23 = DeleteSee the xmodmap man page for more details and examples.
top
xauth