4.10 Installation/configuration

Matthew Seaman m.seaman at infracaninophile.co.uk
Wed Jul 7 05:07:24 PDT 2004


On Wed, Jul 07, 2004 at 06:36:51AM -0400, AlbrtNew at aol.com 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20040707/f7b6929a/attachment.bin


More information about the freebsd-questions mailing list