Title: 12.04 upgrade lost gb keyboard layout
Tags: 12.04;keyboard;layout
Question: Upgraded from 11.10 to 12.04. Keyboard Layout from System Settings only shows us listed in options but /etc/default/keyboard contains:
XKBMODEL="pc105"
XKBLAYOUT="gb"
XKBVARIANT=""
XKBOPTIONS=""
/etc/X11/xkb is empty, /etc/X11/xorg.conf does not exist.
How do I recover UK keyboard layout so I can find # " @ etc in the right place again?
Thanks
Comment: /etc/X11/xkb hasn't been used in a while. What's in /usr/share/X11/xkb ?


Here is another answer: I was having the same problem on a Virtualbox guest lubuntu 12.10. I'm using an OSX host, the keyboard is mac. I've been able to get lubuntu to recognise the keyboard by editing:
/etc/default/keyboard
XKBMODEL="pc105"
XKBLAYOUT="gb(mac)"
XKBVARIANT=""
XKBOPTIONS=""
Hope this helps anyone similarly stuck.

{'source': 'StackExchangeDataset', 'subset': 'askubuntu.com', 'metadata': {'AnswerCount': 1, 'CommentCount': 1, 'ContentLicense': 'CC BY-SA 3.0', 'CreationDate': '2012:00:05/24/12', 'FavoriteCount': None, 'PostTypeId': 1, 'Tags': '<12.04><keyboard><layout>', 'Title': '12.04 upgrade lost gb keyboard layout', 'ViewCount': 722, 'id': 141751, 'user_AboutMe': None, 'user_AccountId': 1035511.0, 'user_DisplayName': 'subtyrant', 'user_Reputation': 31.0, 'user_Views': 2.0, 'user_id': 33509.0}}