From owner-freebsd-questions Sun Oct 6 6:22:29 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5280E37B404 for ; Sun, 6 Oct 2002 06:22:27 -0700 (PDT) Received: from thingy.apana.org.au (thingy.apana.org.au [203.12.237.66]) by mx1.FreeBSD.org (Postfix) with ESMTP id A48F943E3B for ; Sun, 6 Oct 2002 06:22:25 -0700 (PDT) (envelope-from fun@thingy.apana.org.au) Received: from fun by thingy.apana.org.au with local (Exim 3.35 #1 (Debian)) id 17yBMU-0006cp-00 for ; Sun, 06 Oct 2002 23:22:22 +1000 Date: Sun, 6 Oct 2002 23:22:21 +1000 From: David Gerard To: questions@FreeBSD.ORG Subject: Re: Getting X to recognise a UK keyboard Message-ID: <20021006132221.GI32176@thingy.apana.org.au> References: <20021005132928.GG32176@thingy.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021005144138.GA5755@happy-idiot-talk.infracaninophi> User-Agent: Mutt/1.3.28i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Matthew Seaman (m.seaman@infracaninophile.co.uk) [021006 00:41]: > On Sat, Oct 05, 2002 at 11:29:28PM +1000, David Gerard wrote: > > I have this Compaq Internet keyboard, UK version. The system knows it's a > > UK keyboard at the console, but X doesn't seem to have a clue and keys give > > their UK characters. > > Here's the keyboard bits from XF86Config: > > Identifier "Keyboard1" > > Driver "Keyboard" > > Option "XkbRules" "xfree86" > > Option "XkbModel" "pc105" > > Option "XkbLayout" "gb" > > Changing "pc105" to "compaq" does nothing either. > Does that 'Identifier "Keyboard1"' line have a corresponding > InputDevice "Keyboard1" "CoreKeyboard" > line in the ServerLayout section of XF86Config? Yep, it does. Gary W. Swearingen (swear@attbi.com) [021006 10:21]: > David Gerard writes: > > So, what can I do to get it to behave? Short of messing with Xmodmap or > > something. > I think you're not supposed to need to mess with xmodmap. There's this > new XKB thing which you are obviously using. It's configuration has no > user-friendly XFree86 documentation, but a couple users have written > something about it: > http://www.charvolant.org/~doug/xkb/ > "An Unreliable Guide to XKB Configuration" The only thing missing I could see in this was Option "XkbKeymap" "gb" which doesn't seem to work for me anyway. > http://www.tsu.ru/~pascal/en/xkb/ > Russo-English, but much better than nothing. This shows me how to write my own files from scratch. But surely that shouldn't be necessary here - it's not like UK keyboards are weird and alien things. There must be something simpler wrong ... I've uploaded my XF86config to http://thingy.apana.org.au/~fun/xf86config.txt if anyone can have a glance at it. And surely there must be someone here who has a UK Compaq keyboard behaving correctly. If so, may I please borrow your XF86config? - d. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message