# temporary
setxkbmap us -variant colemak
setxkbmap us -variant workman
setxkbmap us -variant norman
setxkbmap us
setxkbmap -layout us colemak
# permanet
# write the above to graphic config file
# like ~/.xinitrc
map Esc with CapsLock
setxkbmap us -variant colemak
xmodmap -pke > .xmodmap
show what key doing event test, change esc and capslock
xev
add the following to i3
exec_always sleep 1; xmodmap ~/.xmodmap
however i3 has something wrong, I need xmodmap by myself
# /usr/share/X11/xkb/keycodes/evdev
# exchange the keycodes of <esc> and <capslock>