Keyboard layout changes reset after restart
I have tried to alter my keyboard layout from US to UK but on restart it always resets itself to the US Layout. It actually shows the UK keyboard as still selected even though it has changed back.
Has anyone else come across this or knows how to resolve?
Am using Ubuntu 8.04 on a PC with a standard HP keyboard.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- msee
- Solved:
- 2008-05-11
- Last query:
- 2008-05-11
- Last reply:
- 2008-05-09
I also have the same problem. I tried to force the issue be re-installing xorg but it nearly killed my keyboard. To re-use my keyboard I had to re-install us layout again from xorg reconfigure. I have tried uk and ireland keyboard layouts and nothing works. If you set another keyboard as default and print the layout it shows it to be correct, but the reboot fails to maintain the layout. Very annoying...
I have tried everything including adding an external keyboard and see if the system picks up the fact an external keyboard is present and then add it as another layout but to no good.
msee,
Here's what to try. I has worked for me. open Terminal,
enter,
# sudo su <enter>
(enter your password)
# gedit /etc/X11/xorg.conf <enter>
This is snippet of my config file and the change I made by entering 'ie' as the keyboard layout.
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "XkbRules" "xorg"
Option "XkbModel" "pc105"
Option "XkbLayout" "ie"
EndSection
If you edit your xorg.conf file it will have 'us' as the default keyboard.
This has worked for me even after the reboot.
Good luck
| msee (mgcuffe-yahoo) said : | #3 |
Hi feargchalcanning
Thanks for your suggestion. I have actually managed to resolve this by setting the keyboard to a 102key (intl) keyboard with a United Kingdom layout and all seems to now be working fine!
| Mark (mark-osborne1) said : | #4 |
fearghalcanning. Thanks for the hack, which worked a treat!
Just to let people know, this is a bug in Ubuntu that's been reported as bug #196277.

