Key Remapping in Linux with keyd

There are many ways to handle key remapping in Linux, from various utilities to configuring them in your desktop environment. After trying quite a few I settled on keyd because of its ease of use and the benefit of getting a system wide remapping regardless of environment or tty.