I never use Caps Lock, so I disable the Caps Lock key completely with xmodmap, to avoid hitting it by accident.

Occasionally my X server gets into caps-lock state anyway. (Usually some complicated stunt was involved, like attaching x11vnc to the display remotely.) And then I can't turn it off again using the Caps Lock key.

So I wrote a tiny X client that lets me type 'xcapslock off' at a shell prompt …

… and then I had to make an alias to it, called 'XCAPSLOCK OFF'.

@simontatham Get a USB foot pedal and map it to caps-lock.
@krh if I had one of those, it would be mapped to 'mute' in voice calling applications! 'Sneeze pedal'.
PC USB Triple Action Foot Switch(Black)

@krh @simontatham I love the "any of your feet" phrasing, just so as to be inclusive of hexapodia.
@ajlanes @simontatham To be fair, pressing all three for ctrl-alt-delete does seem difficult with only two feet.