Ubuntu – How to change keyboard layout

bluetoothkeyboardlayout

I'm on ubuntu 12.04.

Recently I bought a cheap apple style bluetooth keyboard. It pairs OK. I paired it with the current 102 key still attached.

Anyway I noticed that the character mapping is incorrect. Most keys do not type anything – some keys on the right (k, l, ;') etc give numbers, but that's about it.

So I rebooted, with 102 kbd unattached, and the bluetooth keyboard on, ready to connect.

After boot at the login screen, the bluetooth keyboard had paired. I typed my password, and it logged in fine!! However after the user login was complete it reverted to the broken behaviour. A glance at the layout chart shows ubuntu thinks I still have the 102 layout, even though it remained disconnected.

Any ideas?

Thanks, Dave

Best Answer

Keyboard layouts are not automatically changed when you start using a new keyboard, there is a chance that the key mappings are different, specially if we are talking about a Apple keyboard.

To change the mappings of the keyboard used in your system you need to:

  • Open the system settings

    enter image description here

  • Select Keyboard

    enter image description here

  • Select Layout Settings

    enter image description here

  • Right bellow the list of keyboard mappings active there is a little + button, press it and you will be able to add and select a new keyboard mapping

    enter image description here

When selecting a new keyboard mapping from the list you will be able to press the Preview button to have a look at the look and key distribution of the keyboard that will be a in use, try to match as close as you can to yours.

Related Question