xorg – changing default keyboard language

Sometimes after an install the keyboard just ain’t right under X. It’s annoying. You can charge all sorts within your windowmanager, but it’s easiest to change the xorg.conf or XF86Config file depending on your X server. Simply change the XkbLayout to whatever language you require:

Section "InputDevice"
Identifier "Keyboard1"
Driver "kbd"

Option "XkbModel" "pc104"
Option "XkbLayout" "uk"
EndSection

About

Senior Content Development for Microsoft writing about Azure Kubernetes Service (AKS). Model train nerd. Occasionally I play video games.

Leave a Reply

Your email address will not be published. Required fields are marked *

*