I'm using Ubuntu 18.04 on a laptop with a Swiss layout. When I plug in an external keyboard with a US layout and switch the Input Source to English (US), it doesn't seem to work as expected.

My keyboard is most definitely in US English QWERTY layout, as can be seen here: https://keyshorts.com/blogs/blog/44712961-how-to-identify-laptop-keyboard-localization

In the Ubuntu Settings under Language and Region / Input Sources, I can also show the keyboard layout selected and it matches my keyboard. However, when I press buttons, the output doesn't match what I'm pressing. For example, the 3/# key gives a £ instead when I shift click it, and the @ is on the '/" key instead. This seems to resemble a UK keyboard.

Is this a problem with my keyboard or else how could I fix this?

  • Try US International.
    – user880592
    Nov 14, 2018 at 13:06
  • Same problem. Like I said the US English key layout should perfectly match my keyboard, even when you show the expected layout in the Ubuntu settings. Could the keyboard or driver itself have had something tweaked?
    – Marses
    Nov 14, 2018 at 15:03
  • No, they can't. that does not depend on driver in any way. The problem is at the OS settings, user settings, etc.
    – user880592
    Nov 14, 2018 at 15:05
  • I have a US keyboard as well. The correct setting I see in mine is English (US, intl., with dead keys). You or may not need the "dead keys", I do. It works perfectly.
    – user880592
    Nov 14, 2018 at 15:16
  • @GabrielaGarcia I'm afraid that made it worse, basically Shift + 3, 4, 5 etc.. all give the wrong letter, and now instead of punctuation on the right side of my keyboard, I'm getting accented letters.
    – Marses
    Nov 14, 2018 at 16:39


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Browse other questions tagged or ask your own question.