

Out to the taskbar and locate the keyboard language icon. Configuring Keyboard Language and Layout in GUIĪnother way of configuring the Keyboard in Ubuntu 18.04 is going the graphical way. The above survives a reboot and the settings are sustained.

For instance, to set it to French, run L='fr' & sudo sed -i 's/XKBLAYOUT=\"\w*"/XKBLAYOUT=\"'$L'\"/g' /etc/default/keyboardįor US English, execute L='us' & sudo sed -i 's/XKBLAYOUT=\"\w*"/XKBLAYOUT=\"'$L'\"/g' /etc/default/keyboard You can configure the keyboard Language in one line. Permanently configure keyboard in one line on the terminal Feel free to make changes to other parameters as well. Locate XKBLAYOUT= parameter and change it to your own preference e.g XKBLAYOUT= 'fr'

If you want to permanently configure your keyboard settings, edit the keyboard file with your preferred text editor nano /etc/default/keyboard The changes made will not survive a reboot.
