How to switch azerty on qwerty ?

In Ubuntu we can change keyboard layout with setxkbmap command. Below you can find a command switching keyboard layout to French:

setxkbmap fr