get the current X server keyboard layout