From: Glynn Clements Subject: Re: Keyboard Date: Thu, 1 May 2003 14:02:57 +0100 Sender: linux-admin-owner@vger.kernel.org Message-ID: <16049.6913.367395.348124@cerise.nosuchdomain.co.uk> References: <20030410092339.GI682@fede2.tumsan.fi> <3EB11A68.30402@roadrunner.uk.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <3EB11A68.30402@roadrunner.uk.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: Ben Clewett Cc: linux-admin@vger.kernel.org Ben Clewett wrote: > I've just installed Linux from a slackware distribution. Not playing by > the rules and using their installer, I now do not have the correct > keyboard. Mine is UK, Linux belives it to be US. > > This must be a really simple setting somewhere, yet hours of 'man', > 'grep -r' have yielded no information. > > If some person can tell me how to set Linux with the correct keyboard > type, I really need to know. Are you referring to the Linux console or to X? For the console, use "loadkeys", e.g. "loadkeys uk". However, many distributions have a way of automating this; e.g. RedHat has /etc/sysconfig/keyboard. For X, this is set in XF86Config; e.g. for XFree86 4.x: Section "InputDevice" Identifier "Keyboard1" Driver "keyboard" Option "AutoRepeat" "250 30" Option "XkbModel" "pc105" Option "XkbLayout" "gb" EndSection -- Glynn Clements