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"


Senior Content Development for Microsoft writing about Azure virtual machines. Occasionally I play video games.

Posted in computing, linux

Leave a Reply

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


About Me

Iain Foulds, 34 years old. Originally from England, now living in Seattle. I currently work as a Senior Content Developer for Microsoft writing about Azure VMs. Gamer. Very passionate about photography. Comments and opinions expressed here are my own. More...