Saves you quite a bunch of time ! Run xmodmap on a file with the following content.

remove Lock = Caps_Lock                                                 
keysym Caps_Lock = Escape