Keyboard won't keep to UK layout

Asked by John MacMenigall

I had to replace my PC (after replacing the hard drive in the old one), did clean install of Ubuntu 15.10 to dual boot alongside Win7, selected 'UK' as keyboard layout during installation (as you would being a UK resident), following reboot this switched to the US layout and I have to change the layout to 'US' in settings, reboot, then change the setting back to 'UK' then reboot again to make the change to the UK layout. This is only temporary however, as following switch off & restart next day, the layout has reset itself to the US keyboard layout again. Settings still shows layout as 'UK' . . . The keyboard itself is a PS/2 keyboard with a built-in touchpad but otherwise standard.

Any helpful suggestions welcome.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
John MacMenigall
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Is the OS fully updated?

Revision history for this message
John MacMenigall (fred575) said :
#2

Andrew
Thanks for your time -the OS is bang up to date! (at least that's what the updater tells me).
Since firing off this query, I have also noticed that the daemon for Wallch (wallpaper changer) doesn't load till after a reboot either altho that for Dropbox loads immediately, don't know if this is a linked issue.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

How are you setting the language to UK? What steps do you take?

Revision history for this message
John MacMenigall (fred575) said :
#4

Andrew
I set the Locale to UK when installing the OS, set the language to English (UK) in System Settings (Language support) and the 'Sources to use' to English (UK) in Keyboard Settings. I fired up a terminal and the 'Locale' command gives:
fred@fred-ThinkCentre:~$ locale
LANG=en_GB.UTF-8
LANGUAGE=en_GB:en
LC_CTYPE="en_GB.UTF-8"
LC_NUMERIC="en_GB.UTF-8"
LC_TIME="en_GB.UTF-8"
LC_COLLATE="en_GB.UTF-8"
LC_MONETARY="en_GB.UTF-8"
LC_MESSAGES="en_GB.UTF-8"
LC_PAPER="en_GB.UTF-8"
LC_NAME="en_GB.UTF-8"
LC_ADDRESS="en_GB.UTF-8"
LC_TELEPHONE="en_GB.UTF-8"
LC_MEASUREMENT="en_GB.UTF-8"
LC_IDENTIFICATION="en_GB.UTF-8"
LC_ALL=
fred@fred-ThinkCentre:~$
but the keyboard persists with the US layout (which means no pound sign among other things) unless I reboot twice.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

1. if your system is acting with the wrong keyboard, can you try switch to the US keyboard (using the language indicator in the top right corner), and then back to UK? Do the UK keys work then?

2. there is a known bug in Ubuntu 14.04, just to make sure that you are not hitting the same:
open terminal
run ibus-setup
open the extra settings (the last tab)
is the "use system keyboard layout" checkbox activated? If not, please activate it.

Revision history for this message
John MacMenigall (fred575) said :
#6

Manfred
Many thanks (once again).
I had tried the switch & reset but it took 2 reboots to register th change and then the settings were lost again on complete power-down. I was beginning to think it was hardware-related but running ibus-setup seems to have cured it.

It would be useful if 'System Settings' in the GUI showed that page! instead of having to use Terminal.

John