Binding capslock to escape on modern linux systems and setting layout

[linkstandalone]

/usr/bin/setxkbmap -layout no -option "caps:escape"

will do the job on most systems, and can be used to quickly set layout options from the terminal. You can also set it to run on startup (eg. under Session and startup on xfce)