Use xkbcomp to set keyboard layout