Dragon12
Posts: 61
Joined: Thu Jul 18, 2013 10:33 am

Odd keyboard error

Wed Mar 22, 2017 4:31 am

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.

klricks
Posts: 7154
Joined: Sat Jan 12, 2013 3:01 am
Location: Grants Pass, OR, USA
Contact: Website

Re: Odd keyboard error

Wed Mar 22, 2017 5:01 am

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
Unless specified otherwise my response is based on the latest and fully updated RPiOS Buster w/ Desktop OS.

Dragon12
Posts: 61
Joined: Thu Jul 18, 2013 10:33 am

Re: Odd keyboard error

Wed Mar 22, 2017 5:50 am

Thanks Klrics for your reply. Unfortunately, nothing has changed. The ´/¨ is still not giving the correct characters.

Dragon12
Posts: 61
Joined: Thu Jul 18, 2013 10:33 am

Re: Odd keyboard error

Wed Mar 22, 2017 6:31 am

Problem solved. I selected a different keyboard rather that the suggested default. The "type here box" in the config GUI was a big help.

User avatar
rpdom
Posts: 17173
Joined: Sun May 06, 2012 5:17 am
Location: Chelmsford, Essex, UK

Re: Odd keyboard error

Wed Mar 22, 2017 6:51 am

Just out of interest (and for anyone finding this post in the future), what keyboard layout worked for you?

Dragon12
Posts: 61
Joined: Thu Jul 18, 2013 10:33 am

Re: Odd keyboard error

Wed Mar 22, 2017 9:12 am

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.

User avatar
RaTTuS
Posts: 10559
Joined: Tue Nov 29, 2011 11:12 am
Location: North West UK
Contact: Twitter YouTube

Re: Odd keyboard error

Wed Mar 22, 2017 10:01 am

the raspberry defaults to UK English FYI
How To ask Questions :- http://www.catb.org/esr/faqs/smart-questions.html
WARNING - some parts of this post may be erroneous YMMV

1QC43qbL5FySu2Pi51vGqKqxy3UiJgukSX
Covfefe

Dragon12
Posts: 61
Joined: Thu Jul 18, 2013 10:33 am

Re: Odd keyboard error

Wed Mar 22, 2017 10:20 am

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.

Return to “General discussion”