Also happens here in my Ubuntu Gnome 14.04 with Spanish layout. Even though the top bar states that the keyboard layout is Spanish 1 (international), the real layout is wrong, probably en_US.
A workaround this issue is to have two favourite keyboard layouts that will appear in the drop-down when you click on the language icon on your top bar. In my case, I have two spanish layouts and I can easily change from es1 to es2 and then back to es1. The keyboard configuration is now truly es1 which what matches my hardware and I can keep working.
To add a keyboard layout in this drop-down menu just go to System>Keyboard>Layout settings!
Hope that helps until they come up with some true solution.
For a problem this stupid I sincerely don't understand it has been here so long.
Also happens here in my Ubuntu Gnome 14.04 with Spanish layout. Even though the top bar states that the keyboard layout is Spanish 1 (international), the real layout is wrong, probably en_US.
A workaround this issue is to have two favourite keyboard layouts that will appear in the drop-down when you click on the language icon on your top bar. In my case, I have two spanish layouts and I can easily change from es1 to es2 and then back to es1. The keyboard configuration is now truly es1 which what matches my hardware and I can keep working.
To add a keyboard layout in this drop-down menu just go to System> Keyboard> Layout settings!
Hope that helps until they come up with some true solution.
For a problem this stupid I sincerely don't understand it has been here so long.