My default keyboard layout is Norwegian (from the 12.04 installation procedure). But I also want to use Icelandic.
Two layouts in the "system settings" → "keyboard layouts" is one too many. I cannot switch either using a shortcut or in the Panel.
The Panel tells me I have switched, but the letters I type are Norwegian, even when the Panel seems to have switched to Icelandic.
My language for menus and windows ("system settings" → "language support") is English. "Regional formats" → "Display numbers, dates ….": English Denmark,
What am I doing wrong?
Answer: To enable toggling between two keyboards for current session:
sudo setxkbmap -option grp:alt_shift_toggle no,is
To permanently set several keyboards (Norwegian, Icelandic, Spanish)
sudo gedit /etc/default/keyboard
(Edit line 2 thus:)
XKBLAYOUT="no, is, es"