I've been baffled about this for a while. I've been trying to figure out why every time I press CapsLock key on my netbook(of some obscure make) keyboard Ubuntu will not only toggle capslock key state but also launch Thunderbird. Do you have any idea how to fix this?
Output of capslock KeyPress event (requested by Tom Brossman)
KeyPress event, serial 54, synthetic NO, window 0x3800001, root 0xaa, subw 0x0, time 453152, (14,-13), root:(715,38), state 0x2, keycode 163 (keysym 0x1008ff19, XF86Mail), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False