From owner-freebsd-questions Sat Dec 29 8:15:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 7A61C37B41A for ; Sat, 29 Dec 2001 08:15:20 -0800 (PST) Received: from 1cust217.tnt3.tucson.az.da.uu.net ([63.11.144.217] helo=earthlink.net) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16KM8k-0002tp-00 for freebsd-questions@freebsd.org; Sat, 29 Dec 2001 08:15:19 -0800 Message-ID: <3C2DEC28.8030605@earthlink.net> Date: Sat, 29 Dec 2001 09:15:36 -0700 From: Neil User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:0.9.6) Gecko/20011215 X-Accept-Language: en-us MIME-Version: 1.0 To: freebsd-questions@freebsd.org Subject: Re: XKB keymap References: <3C1E1822.3080700@earthlink.net> <3C1F3E8B.1060108@earthlink.net> <3C1FF80C.6050809@earthlink.net> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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 Well, here's the solution, although I don't know why it is necessary or how the misplacement came to be: rename the directory: /usr/X11R6/lib/X11/xkb copy the directory: /etc/X11/xkb to /usr/X11R6/lib/ This solution was discovered by a user: Pierre Caruel (caruel@supaero.fr) Is this something that needs to be fixed? It seems to be a common problem as the problem seems to be posted all over the Internet, but there seems to be no solutions. Neil wrote: > Let's put it another way: The man page on setxkbmap says: > "An XKB keymap is constructed from a number of components which are > compiled only as needed." > > How does one go about making sure they are compiled and/or installed? > > > Neil wrote: > >> Here's a followup: Starting XFree86, I have this line: >> Couldn't load XKB keymap, falling back to pre-XKB keymap. >> >> Does this help? >> >> Neil wrote: >> >>> In XFree86-4.1.0_6 (installed from the FreeBSD 4.4 release CD.) >>> Here is the (xterm) readout: >>> >>> >>> $ setxkbmap us >>> Couldn't interpret _XKB_RULES_NAMES property >>> Use defaults: rules - 'xfree86' model - 'pc101' layout - 'us' >>> setxkbmap in free(): warning: junk pointer, too high to make sense. >>> Couldn't find rules file (xfree86) >>> $ >>> >>> I cannot figure out how to change the keyboard layout in XFree86 >>> >>> other XFree commands work fine, like "xset." >>> >>> Here is some relevant background: >>> >>> A week or so ago, I installed FreeBSD 4.4 from the exact same CDs >>> onto this exact same computer and used the exact same XF86Config >>> file. The "setxkbmap" feature worked just fine. >>> >>> Since I couldn't get the sound to work as well as it had on FreeBSD >>> 4.3 release, I dicided to reinstall. >>> >>> The only difference I can think I made on the second install is the >>> following: >>> >>> FIRST INSTALL: >>> I set the console keymap to US-Dvorak during the install, and I >>> installed XFree86-4.1.0_6 in the same session. >>> >>> recall that setxkbmap worked in this install >>> >>> SECOND INSTALL: >>> I set the console keymap to US-Dvorak during the install - as before; >>> but I installed XFree86-4.1.0_6 off the cd after I rebooted. >>> >>> recall that setxkbmap does not work in this install. >>> >>> >>> current probably relevant packages: >>> $ pkg_info|grep X11 >>> XFree86-4.1.0_6 X11R6.4/XFree86 core distribution (complete) >>> blackbox-0.61.1 A small and fast window manager for X11R6 >>> gtk-1.2.10_2 Gimp Toolkit for X11 GUI >>> kdebase-2.2_2 Base modules for the KDE integrated X11 desktop >>> kdegames-2.2 Games for the KDE integrated X11 desktop >>> kdegraphics-2.2 Utilities for the KDE integrated X11 desktop >>> kdemultimedia-2.2 Utilities for the KDE integrated X11 desktop >>> kdeutils-2.2 Utilities for the KDE integrated X11 desktop >>> open-motif-2.1.30_1 Motif X11 Toolkit (industry standard GUI (IEEE >>> 1295)) >>> xv-3.10a_2 An X11 program that displays images of various >>> formats >>> $ >>> >>> >>> All I want is a way to fix this feature without having to reinstall >>> again. Does anybody know how to fix it? I am hoping I don't have to >>> download the source and compile. I have only a 56 k modem. >>> >>> >>> To Unsubscribe: send mail to majordomo@FreeBSD.org >>> with "unsubscribe freebsd-questions" in the body of the message >>> >> >> >> >> >> To Unsubscribe: send mail to majordomo@FreeBSD.org >> with "unsubscribe freebsd-questions" in the body of the message >> > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message