ubuntu-logo-large

Keyboard layout Ubuntu Server 11.04

I installed Ubuntu Server 11.04, and managed to select the wrong keyboard layout during setup.

To change it to the correct keyboard mapping I had to edit the file /etc/default/keyboard


XKBMODEL="pc105"
XKBLAYOUT="us"
XKBVARIANT=""
XKBOPTIONS=""

The line we have to change is XKBLAYOUT=”us”, where we have to instert our layout instead of us.

When we have changed it to the correct layout, we run sudo dpkg-reconfigure console-setup witch will reload the layout.

9 comments on “Keyboard layout Ubuntu Server 11.04

  1. Thanks! A lot of resources indicate to run “sudo dpkg-reconfigure console-setup” but without saying /etc/default/keyboard must be edited in the first place.

    1. Hi Philippe

      That’s what I noticed when I ran into this problem, so I figured I’d share it with everyone else having the same issue =)

Leave a Reply