1

I installed Ubuntu 16.04 but I have a problem with the keyboard layout.

I have a Windows standard keyboard which does not have any multimedia buttons on it. After installing Ubuntu my Delete has become Power Off, Insert is now Sleep, Home is Home+End, = is 8+=, 5 is 4+5, - is 0+-... Even some of the function keys have become different combinations.

Result for settings get org.gnome.desktop.input-sources sources is [('xkb', 'us')]

Result for gsettings get org.gnome.desktop.input-sources current is uint32 0

My keyboard look

How can I fix this?

Best Answer: Below answer solved this problem, but need to repeat again after every update...

I think there is bug or huge issues in new Ubuntu 16.04 updates.

  • Can you please tell us: the Ubuntu keyboard layout (i.e. UK, US, India, etc), and the Windows keyboard layout? – UniversallyUniqueID Aug 21 '16 at 11:49
  • Also, is there no option in Settings → Keyboard for this? – UniversallyUniqueID Aug 21 '16 at 11:50
  • I am using English (US) layout in ubuntu – Prashant Rahate Aug 21 '16 at 15:18
  • Please edit your question and show us the output of the commands gsettings get org.gnome.desktop.input-sources sources and gsettings get org.gnome.desktop.input-sources current – Gunnar Hjalmarsson Aug 21 '16 at 16:21
  • 1
    The answer posted by Panagiotis Tabakis looks interesting, but I'm in doubt about the keyboard model. You can find out your currently set model by running the command setxkbmap -query. If it's already pc105, I have a feeling that you need something else. – Gunnar Hjalmarsson Aug 23 '16 at 19:35
2

For the sake of formatting I will add my comment as an answer.

I have a similar keyboard and I use English (US) and Greek languages. I can show you how to reconfigure your keyboard layout via the command line.

Open a terminal and type:

sudo dpkg-reconfigure keyboard-configuration

This will launch the package configuration for keyboard in the terminal. You can navigate to selections with Tab and select with Enter or Spacebar.

On keyboard model select: Generic 105-key (Intl) PC

Keyboard Model

On Country of origin of the keyboard select English (US)

Country of origin of the keyboard

On keyboard layout select English (US)

Keyboard layout

On Key to function as AltGr select The default for the keyboard layout

Key to function as AltGr

On Compose key select No compose key

Compose key

On Use Ctrl+Alt+Backspace to terminate the X server select No (or yes if you prefer)

terminate the X server

Hopefuly this will configure your keyboard properly.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.