Another Ubuntu patch
Replace deprecated function XKeycodeToKeysym with XkbKeycodeToKeysym