Page 1 of 1

Odd keyboard error

Posted: Wed Mar 22, 2017 4:31 am
by Dragon12
I´m using a common type keyboard that is configured as US international with dead keys. It worked normally on my desktop computer (before it died) and it worked normally when I used to ssh into my Raspberry Pi. The problem is with the ´/¨ key. It has to be pressed twice to display anything and it´s then the wrong character. This is the character that is displayed ´ and this is the correct character '. As you can see they are not the same.

Just be certain, I tried this with the Python IDE and I get an invalid character error. I Have another keyboard (a tiny difficult to use wireless keyboard) that does display the ' character correctly but not the shifted ' which should be a ¨ character. In this case it displays the @ character. if I then press the shifted 2 character then ¨ is displayed.

So, the keyboards are not at fault and the error only shows up when the keyboards are directly connected to the Raspberry Pi. As an experiment, I have selected a few different keyboards from the Raspberry Pi configuration menu but the problem persists. Can anyone offer a suggestion? A lengthy Internet search has not provided an answer.

Re: Odd keyboard error

Posted: Wed Mar 22, 2017 5:01 am
by klricks
When configuring keyboard with sudo raspi-config:

If your exact keyboard is not on the list then choose one of the generic keyboards. Doesn't really matter much which one here.

The next menu screen is very important...... You must scroll to the bottom and choose [Other] then choose English (US). ......Don't make the common mistake and leave this set to English (UK)...

On the next menu scroll to the top and choose English (US) again.
(Don't choose any other option here unless you know exactly what you are doing!....)

Take the defaults or your preferences on rest of the menu screens.

Reboot

Re: Odd keyboard error

Posted: Wed Mar 22, 2017 5:50 am
by Dragon12
Thanks Klrics for your reply. Unfortunately, nothing has changed. The ´/¨ is still not giving the correct characters.

Re: Odd keyboard error

Posted: Wed Mar 22, 2017 6:31 am
by Dragon12
Problem solved. I selected a different keyboard rather that the suggested default. The "type here box" in the config GUI was a big help.

Re: Odd keyboard error

Posted: Wed Mar 22, 2017 6:51 am
by rpdom
Just out of interest (and for anyone finding this post in the future), what keyboard layout worked for you?

Re: Odd keyboard error

Posted: Wed Mar 22, 2017 9:12 am
by Dragon12
Over the years various keyboards under Linux have always defaulted to "US English International", as this one does with the Raspberry Pi, and worked without any problems. Selecting "US English" in this case solved the '/" key problem.

I'm really pleased how well the Raspberry Pi is working as a Desktop computer replacement.

Re: Odd keyboard error

Posted: Wed Mar 22, 2017 10:01 am
by RaTTuS
the raspberry defaults to UK English FYI

Re: Odd keyboard error

Posted: Wed Mar 22, 2017 10:20 am
by Dragon12
It does but I had selected AU English for the locale as I have done many times with Linux in general. This is the first time that US English International has not suited any keyboard that I have used in the past. Anyway, it works now and very well.