Steve’s Ubuntu Weblog

Mainly (but not only) about Ubuntu

Ubuntu 11.04. Wrong keyboard keeps reappearing as default

When I installed Ubuntu 11.04 on my laptop there was a problem with selecting a keyboard other than USA. If I selected any other keyboard the installation hung for minutes, so eventually I accepted the USA keyboard thinking I would change it later. Everything installed so I went to System Settings and chose Keyboard in the Control Center and under the Layout tab I removed the USA keyboard and added a German one.

However after every reboot the USA keyboard was back and worse still was default, so I had to keep switching back to German. Removing the USA only resulted in it reappearing after a reboot.

Eventually I found the answer. Go to /etc/default/keyboard and change the line XKBLAYOUT="us" to your desired keyboard and re-boot.

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

11 August, 2011 - Posted by | Ubuntu | , , , ,

1 Comment »

  1. […] This keyboard issue was still giving me problems for a while after installation but I fixed it like this. After removing the DVD and re-booting I got the Grub menu with both Ubuntu 11.04 and Windows 7 as […]

    Pingback by Packard Bell Easynote HR11 and Ubuntu 11.04 Natty Narwhal « Steve’s Ubuntu Weblog | 11 August, 2011 | Reply


Leave a comment