My caps-lock gets mapped to escape. On linux, or at least the flavors I'm using, this is super easy: Just drop the following into ~/.Xmodmap
!! Delete the caps lock key
clear lock
!! Make caps lock map to <esc>
keycode 0x42 = Escape