Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Jul 2004 13:07:14 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        AlbrtNew@aol.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: 4.10 Installation/configuration
Message-ID:  <20040707120714.GA75397@happy-idiot-talk.infracaninophile.co.uk>
In-Reply-To: <146.2d9a4b7e.2e1d2c43@aol.com>
References:  <146.2d9a4b7e.2e1d2c43@aol.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--M9NhX3UHpAaciwkO
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Jul 07, 2004 at 06:36:51AM -0400, AlbrtNew@aol.com wrote:

> I am in the process of installing 4.10 FreeBSD and have got as far as the=
 '=20
> basic ' insatllation and am now starting post-installation configuration.=
 I=20
> find, however, that I appear to have the wrong default keyboard configura=
tion for=20
> my Region [UK] and I was wondering if anybody can put me straight on how =
to=20
> re-configure from the Command line. [ I have the ' Handbook ' and Lehey's=
 '=20
> Complete FBSD ' but cannot seem to find the answer.
>=20
> Grateful for any advice.

For the console, add:

    keymap=3D"uk.iso"

to /etc/rc.conf -- that will make sure you get the correct keyboard
map after rebooting.  You can set the keymap manually by:

    # kbdcontrol < /dev/ttyv0 -l uk.iso

Look at /etc/defaults/rc.conf for many more examples of configuration
settings.

Nb. That covers just the console interface -- you need some separate
configuration to set the keymap correctly for X-windows.  Edit your
/etc/X11/XF86Config or /etc/X11/xorg.conf file, changing the keyboard's
'InputDevice' section to something like the sollowing:

    Section "InputDevice"
            Identifier  "Keyboard0"
            Driver      "keyboard"
            Option      "XkbModel" "pc105"
            Option      "XkbLayout" "gb"
    EndSection

See also setxkbmap(1).

	Cheers,

	Matthew

--=20
Dr Matthew J Seaman MA, D.Phil.                       26 The Paddocks
                                                      Savill Way
PGP: http://www.infracaninophile.co.uk/pgpkey         Marlow
Tel: +44 1628 476614                                  Bucks., SL7 1TH UK

--M9NhX3UHpAaciwkO
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (FreeBSD)

iD8DBQFA6+dyiD657aJF7eIRAtJ/AJ9830ydxtq1Y9wZshHgkkZ1uIXS7QCdFdEI
jEIHkafTBWl9+cPOBE8U0ik=
=w1dN
-----END PGP SIGNATURE-----

--M9NhX3UHpAaciwkO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040707120714.GA75397>