<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version rmj.rmm.rup.rpr">
<TITLE>default keyboard</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">I hadn’t noticed the problem with several keys like | \ and ~ not correctly mapping from a USB connected keyboard because I usually interface with SS</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">H. Today, I had a USB keyboard plugged into a Pi and was trying to</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">pipe through grep and I kept getting a ~ instead of |. It turns out that the default keyboard on your Pi is set for Great Brita</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">i</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri">n instead</FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri">of US. Here’s the fix:</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">vi or nano into </FONT></SPAN><SPAN LANG="en-us"> <FONT FACE="Calibri"> /etc/default/keyboard</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">change from</FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#0070C0" FACE="Calibri">XKBLAYOUT="gb"</FONT></SPAN><SPAN LANG="en-us"><FONT FACE="Calibri"> to </FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#C00000" FACE="Calibri">XKBLAYOUT="us"</FONT></SPAN><SPAN LANG="en-us"><FONT COLOR="#C00000" FACE="Calibri"></FONT></SPAN><SPAN LANG="en-us"> <FONT COLOR="#000000" FACE="Calibri">.</FONT></SPAN><SPAN LANG="en-us"></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"><FONT FACE="Calibri">Tom / K5TRA</FONT></SPAN></P>
<P DIR=LTR><SPAN LANG="en-us"></SPAN></P>
</BODY>
</HTML>