add keyboard layout and external keyboard detection
fix roxterm detection