From [a Debian bug report](https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=961637): > if the user types the caps-lock or num-lock keys, those key states remain active when the application exits. It would be nice to restore prior condition on exit.