petrusbitbyter
Posts: 3
Joined: Fri Jun 22, 2012 8:37 pm

us keyboard

Fri Jun 22, 2012 11:36 pm

How to make the Pi using a us keyboard just after booting? I know how to change the keyboard map after startx but I also want to be able to type the vertical bar before startx.

petrus bitbyter

User avatar
AndyD
Posts: 2334
Joined: Sat Jan 21, 2012 8:13 am
Location: Melbourne, Australia
Contact: Website

Re: us keyboard

Sat Jun 23, 2012 2:19 am

Use the command:

Code: Select all

sudo dpkg-reconfigure keyboard-configuration
to reconfigure your keyboard. Choose English (US) for keyboard layout (second page of configuration). Then either reboot or

Code: Select all

invoke-rc.d keyboard-setup start
to reload the keymap.

petrusbitbyter
Posts: 3
Joined: Fri Jun 22, 2012 8:37 pm

Re: us keyboard

Sat Jun 23, 2012 9:11 am

Thanks. Could find a solution though I suppose the structure of the reconfigure-keyboard utility has been changed. A simple English(us) could not be found anymore but I got a long list of several brands and at least two layers of sub-menus for further specifications. But as I said, I can find my way through it.

I use a Debian image btw

petrus bitbyter

User avatar
iby
Posts: 6
Joined: Mon Aug 06, 2012 6:14 pm

Re: us keyboard

Tue Aug 07, 2012 11:52 pm

or just edit file

/etc/defaults/keyboard

and make it

XKBLAYOUT="us"

User avatar
OlivierLD
Posts: 4
Joined: Tue Jan 28, 2014 10:07 pm
Location: San Francisco, CA

Re: us keyboard

Wed Jun 04, 2014 3:17 pm

The file to edit is actually

Code: Select all

/etc/default/keyboard
, no s at the end of default.

User avatar
DougieLawson
Posts: 39121
Joined: Sun Jun 16, 2013 11:19 pm
Location: A small cave in deepest darkest Basingstoke, UK
Contact: Website Twitter

Re: us keyboard

Wed Jun 04, 2014 7:11 pm

sudo raspi-config has an option to set keyboard, locale & timezone.
Note: Any requirement to use a crystal ball or mind reading will result in me ignoring your question.

Criticising any questions is banned on this forum.

Any DMs sent on Twitter will be answered next month.
All non-medical doctors are on my foes list.

loverpi
Posts: 8
Joined: Sun Jan 31, 2016 9:42 pm

Re: us keyboard

Sun Mar 06, 2016 6:23 am


Return to “Beginners”