I'm using an HP Pavilion CORE i5 laptop. I am facing a problem with my keyboard as some buttons are interchanged! Like pressing the # button displays \ and vice versa.

  • How exactly is this related to the Raspberry Pi?
    – Ghanima
    Mar 8, 2016 at 22:43
  • Your keyboard is on the UK setting, not the US setting. I've had this problem before, as well as others. This is actually a duplicate question. Mar 8, 2016 at 23:50

1 Answer 1


It sounds like your keyboard settings aren't properly configured.

  1. run sudo raspi-config

  2. Choose Internationalization menu

  3. Choose Keyboard setup menu

  4. Select the proper layout. Note: English (US) and English (UK) are not interchangeable!

Not the answer you're looking for? Browse other questions tagged or ask your own question.