iGrudge.net > Tech > Linux > Keyboard layout Ubuntu Server 11.04

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

  1. nado says:

    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

  2. njalk says:

    true, but on the server version there wouldn’t be an xorg file (at least not on my install)

  3. all three says:

    Thank you for a great post.

  4. purple black says:

    Preach it my brother.

  5. Philippe says:

    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.

    • njalk says:

      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 =)

  6. VFXashley says:

    How to install UBUNTU SERVER quick and easy.Any questions just post them on the youtube channel.

  7. Many thanks. Saved me lots of time.

Leave a Reply

© 2014 iGrudge.net. Powered by WordPress. Editor Theme by AWESEM.

Back to top.