Glynn Clements | 1 May 2003 15:02
Favicon

Re: Keyboard


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 <glynn.clements <at> virgin.net>
-
To unsubscribe from this list: send the line "unsubscribe linux-admin" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane