Keyboard layout Ubuntu Server 11.04
njalk 30/06/2011I 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.
Comments (9)
I think you can also change it via /etc/X11/xorg.conf
add this line to the keyboard section
Option “XkbLayout” “no”
Was trying out Hexxeh’s Chrome OS build and had to change my keyboard layout via terminal.
http://chromeos.hexxeh.net/wiki/doku.php?id=keyboardlayout
true, but on the server version there wouldn’t be an xorg file (at least not on my install)
Thank you for a great post.
Preach it my brother.
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.
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 =)
How to install UBUNTU SERVER quick and easy.Any questions just post them on the youtube channel.
Many thanks. Saved me lots of time.
Happy to help =)