model 14
Posts: 15
Joined: Thu Aug 22, 2019 11:52 am

Keyboard setup in Raspbian Lite

Tue Sep 10, 2019 7:45 pm

I just got started using my new Pi-4B with a Raspberry keyboard. I want to stay with just Linux so I am using the Lite OS. Problem is my keyboard responses in the terminal are not correct for the key pressed. For example, if I press the shift+" I get an @ on the terminal screen. A shift+~ gives me a sideways L. How can I change my keyboard setup using the Raspbian Lite OS? Thanks.

model 14
Posts: 15
Joined: Thu Aug 22, 2019 11:52 am

Re: Keyboard setup in Raspbian Lite

Tue Sep 10, 2019 9:20 pm

I just verified with DigiKey that I have the U.S. keyboard.

DirkS
Posts: 9941
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Keyboard setup in Raspbian Lite

Wed Sep 11, 2019 8:30 am

Use 'sudo raspi-config' to set the keyboard configuration

model 14
Posts: 15
Joined: Thu Aug 22, 2019 11:52 am

Re: Keyboard setup in Raspbian Lite

Wed Sep 11, 2019 1:40 pm

Thanks sir. However, in the keyboard selection list in config the raspberry keyboard is not listed. I don't know what it emulates WRT common boards. I tried a couple of the plain vanilla looking selections and none of them corrected the problem.

Ernst
Posts: 1232
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

Re: Keyboard setup in Raspbian Lite

Wed Sep 11, 2019 2:15 pm

Most likely "Generic 104-key (PC)" + "English (US)" will solve your problem.
I can not test because I do not have that keyboard available to me.
The road to insanity is paved with static ip addresses

andrum99
Posts: 814
Joined: Fri Jul 20, 2012 2:41 pm

Re: Keyboard setup in Raspbian Lite

Wed Sep 11, 2019 2:42 pm

model 14 wrote:
Wed Sep 11, 2019 1:40 pm
Thanks sir. However, in the keyboard selection list in config the raspberry keyboard is not listed. I don't know what it emulates WRT common boards. I tried a couple of the plain vanilla looking selections and none of them corrected the problem.
Just choose the language that matches the keyboard layout you have (e.g. US, UK, German etc) and a 104/5 key variant. It needs to be 104/5 key so it supports the "Raspberry" / MS Windows key.

model 14
Posts: 15
Joined: Thu Aug 22, 2019 11:52 am

Re: Keyboard setup in Raspbian Lite

Wed Sep 11, 2019 9:46 pm

I can't find a keyboard with those specs in the list.
I have the latest version of Rasbian Lite installed.
I found out the hard way that if I select the wrong keyboard it becomes unuseable (key meanings all change) and I have no way of entering config again to try a different keyboard. This is crazy.
Please help.

model 14
Posts: 15
Joined: Thu Aug 22, 2019 11:52 am

Re: Keyboard setup in Raspbian Lite

Wed Sep 11, 2019 10:18 pm

Why would the Raspberry keyboard not be in the OS list distributed by Raspberry?

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

Re: Keyboard setup in Raspbian Lite

Thu Sep 12, 2019 3:10 am

model 14 wrote:
Wed Sep 11, 2019 9:46 pm
I can't find a keyboard with those specs in the list.
I have the latest version of Rasbian Lite installed.
I found out the hard way that if I select the wrong keyboard it becomes unuseable (key meanings all change) and I have no way of entering config again to try a different keyboard. This is crazy.
Please help.
Choose one of the Generic keyboards.
If you have chosen Dvorak from the US keyboards menu then the easiest way to recover is to login via SSH as the keyboard map will be that of the remote computer.
Otherwise Google Dvorak for a keyboard map.
Choose English (US) ONLY!
Unless specified otherwise my response is based on the latest and fully updated Raspbian Buster w/ Desktop OS.

Return to “Troubleshooting”