Fixing key code in Linux.