https://askubuntu.com/questions/53038/how-do-i-remap-the-caps-lock-key
Anonymous
Prototype before polishing. Get it working before you optimize it.