Ubuntu – Change from qwerty to azerty in command line

command linekeyboard

I start my command line in Ubuntu but if I type anything my keyboard is in qwerty. I want to change it to azerty. Is there a command that I can use to change it? If I go to the GUI of ubuntu, my keyboard is correct (azerty).

Thanks

Best Answer

This should set your keyboard to azerty in a terminal emulator:

setxkbmap fr

If on a console, that would be (as root):

loadkeys fr
Related Question