I had a strange problem with Raspbian GNU/Linux 8 (jessie) whereby the keys wouldn't repeat when pressed down. The solution was to restart auto-repeat with xset:
xset
xset r off xset r on