On Wed, Jul 07, 2004 at 06:36:51AM -0400, [EMAIL PROTECTED] wrote:

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

For the console, add:

    keymap="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

-- 
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

Attachment: pgp6czhfiNWXp.pgp
Description: PGP signature

Reply via email to