Zoandar
Posts: 55
Joined: Sat Apr 06, 2013 9:41 pm

Some keys do not produce the correct characters

Fri Apr 12, 2013 4:58 am

I have a Rev B Pi 512MB running Debian from a 4GB SD card, using a Logitech G11 Gaming Keyboard. Some of the characters, such as the # symbol, are not produced from the right keys. Shift+3 should be # but it comes out as the UK pound currency symbol. The pipe symbol I can't find in any of my keys, and its key produces the # symbol.

I have tried several types of keyboard in

dpkg-reconfigure keyboard-configuration

but none of them make any difference.

Is there some way I can correct which keys are displaying which symbols?

EDIT - Problem SOLVED! I found in a post on another thread:

setxkbmap -layout us

Running that fixed the problem, and now I get the correct symbols, including the pipe symbol. :)
- Zoandar -
Current:
Pi-Top Notebook with Pi 3 B v. 1.2
Older hardware:
Rpi Rev B - 512 MB with Rev 2 GertBoard

Zoandar
Posts: 55
Joined: Sat Apr 06, 2013 9:41 pm

Re: Some keys do not produce the correct characters

Mon Apr 15, 2013 3:25 am

Unfortunately, this only works in the GUI, and only works ONCE. It will not keep this setting, and the console is still using the wrong symbols. So my solution is not so much.

I have Googled this some more, and am still not finding any solution that actually works. Any help will be appreciated. If I get to the point where I want to use the "pipe" symbol, say for grep, I can't, because I have not found any key that generates that symbol yet.
- Zoandar -
Current:
Pi-Top Notebook with Pi 3 B v. 1.2
Older hardware:
Rpi Rev B - 512 MB with Rev 2 GertBoard

SirLagz
Posts: 1705
Joined: Mon Feb 20, 2012 8:53 am
Location: Perth, Australia
Contact: Website

Re: Some keys do not produce the correct characters

Mon Apr 15, 2013 4:11 am

Try running dpkg-reconfigure keyboard-configuration as root / sudo
My Blog - http://www.sirlagz.net
Visit my blog for Tips, Tricks, Guides and More !
WiFi Issues ? Have a look at this post ! http://www.raspberrypi.org/phpBB3/viewtopic.php?f=28&t=44044

Zoandar
Posts: 55
Joined: Sat Apr 06, 2013 9:41 pm

Re: Some keys do not produce the correct characters

Mon Apr 15, 2013 2:41 pm

Thanks for the reply. Along the way, as I tried various suggestions found online, including the one you mentioned, nothing was working. Then I ran across this post, and in my reply to it I detail how I used the information to solve the problem. It now gives me the correct symbols both in X and on the console.
http://www.raspberrypi.org/phpBB3/viewt ... 16#p331516

Thanks for the help! :)
- Zoandar -
Current:
Pi-Top Notebook with Pi 3 B v. 1.2
Older hardware:
Rpi Rev B - 512 MB with Rev 2 GertBoard

MidnightJava
Posts: 3
Joined: Sat May 25, 2013 8:25 pm

Re: Some keys do not produce the correct characters

Sat May 25, 2013 8:27 pm

I had the same problems, trying to use an Apple keyboard. At first I thought setting the keyboard layout and locale didn't help, but I found I had to reboot to have the changes take effect.

flanman
Posts: 7
Joined: Sat Jun 08, 2013 2:11 pm

Re: Some keys do not produce the correct characters

Sat Jun 08, 2013 2:13 pm

Thanks for all the recon Zoandar, that worked great!

Zoandar
Posts: 55
Joined: Sat Apr 06, 2013 9:41 pm

Re: Some keys do not produce the correct characters

Sat Jun 08, 2013 7:53 pm

My pleasure, Flanman. I like to leave something behind so that others can benefit from my efforts. :)
- Zoandar -
Current:
Pi-Top Notebook with Pi 3 B v. 1.2
Older hardware:
Rpi Rev B - 512 MB with Rev 2 GertBoard

mynameisafruit
Posts: 1
Joined: Wed Aug 07, 2013 11:20 pm

Re: Some keys do not produce the correct characters

Wed Aug 07, 2013 11:23 pm

After trying everything here, I ended up just doing the following and it worked for me:

Code: Select all

sudo vi /etc/default/keyboard
change the XKBLAYOUT propery to us:

Code: Select all

XKBLAYOUT="us"
Save and reboot

jc_io
Posts: 1
Joined: Tue Mar 08, 2016 5:13 am
Contact: Website

Re: Some keys do not produce the correct characters

Tue Mar 08, 2016 10:42 pm

Worked for me a a usb Logitech.

borland502
Posts: 1
Joined: Sun Dec 04, 2016 9:04 pm

Re: Some keys do not produce the correct characters

Sun Dec 04, 2016 9:08 pm

If you're running retropie, or without x11, these commands will set you up.

Code: Select all

sudo apt-get install console-common

Code: Select all

sudo dpkg-reconfigure console-data
From the full list, select pc / qwerty / US american / Standard / Standard

Credit to the ask ubuntu site: http://askubuntu.com/questions/434849/c ... english-us

Return to “Debian”

Who is online

Users browsing this forum: No registered users and 3 guests