kali linux change keyboard layout

Shell
setxkbmap -layout <country_code>

#for example:
setxkbmap -layout gb
Source

Also in Shell: