Keyboard localisation broken under xorg 6.7?

Claude Buisson cbuisson at nerim.net
Sat Sep 25 05:36:13 PDT 2004


Jochen Gensch wrote:
> Hi,
> 
> since I have upgraded to xorg 6.7 and FBSD 5.3 there is a problem with
> my keyboard language. I cannot change it from the default. When trying
> to run xorgconfig, it shows an error message that goes:
> 
> XKB rules file '/usr/X11R6/lib/X11/xkb/rules/' not found
> 
> Any clues?
> 

There is a bug in:

programs/Xserver/hw/xfree86/xf86config/xorgconfig.c

Try adding the attached patch to the xorg-server port. It works for me.

> Cheers, Jochen
> 

Claude Buisson

PS: cc'ed freebsd-x11, as it may be of interest here.
-------------- next part --------------
--- programs/Xserver/hw/xfree86/xf86config/xorgconfig.c.orig	Fri Apr  2 23:47:33 2004
+++ programs/Xserver/hw/xfree86/xf86config/xorgconfig.c	Mon Aug 16 19:21:04 2004
@@ -706,7 +706,7 @@
         rulesfile = XKB_RULES_DIR "/xfree98";
 #else
 	config_xkbrules = __XKBDEFRULES__;	/* static */
-        rulesfile = XKB_RULES_DIR "/";
+        rulesfile = XKB_RULES_DIR "/xorg";
 #endif
 
         rules = XkbRF_Load(rulesfile, "", True, False);


More information about the freebsd-current mailing list