Just read this seriously obsessive post about customising keyboards and while I'm not going to do everything there, there are a couple of ideas I'd like to nick. In particular he has set up the Caps Lock key so that:
- when pressed and released alone, it is mapped to Esc
- when pressed and held, and a second key is pressed, it is mapped to Ctrl
As he says, this is great for vim users. Is that possible in Ubuntu?
He also does something similar with the right and left Shift keys. When pressed alone they map to ( and ) but if another key is pressed they act as you expect Shift to work.