Ubuntu not recognising key press event - added extra events