Bug 121016 (xkbrules-setxkbmap)

Summary: setxkbmap -> Couldn't find rules file (xfree86)
Product: [Fedora] Fedora Reporter: Nicolas Mailhot <nicolas.mailhot>
Component: xorg-x11Assignee: Mike A. Harris <mharris>
Status: CLOSED RAWHIDE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhideCC: bikehead, devscott, dkelson, jdennis, ryanv
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2004-04-19 19:08:45 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
xkbrulesfilequery.c none

Description Nicolas Mailhot 2004-04-16 08:13:46 UTC
[nim@ulysse nim]$ setxkbmap fr
Couldn't find rules file (xfree86)
[nim@ulysse nim]$ rpm -qa | grep xorg
xorg-x11-libs-6.7.0-0.4
xorg-x11-xauth-6.7.0-0.4
xorg-x11-base-fonts-6.7.0-0.4
xorg-x11-truetype-fonts-6.7.0-0.4
xorg-x11-font-utils-6.7.0-0.4
xorg-x11-6.7.0-0.4
xorg-x11-xdm-6.7.0-0.4
xorg-x11-Mesa-libGL-6.7.0-0.4
xorg-x11-Mesa-libGLU-6.7.0-0.4
xorg-x11-tools-6.7.0-0.4
xorg-x11-sdk-6.7.0-0.4
xorg-x11-xfs-6.7.0-0.4
xorg-x11-ISO8859-15-100dpi-fonts-6.7.0-0.4
xorg-x11-libs-data-6.7.0-0.4
xorg-x11-devel-6.7.0-0.4

Comment 1 Luc Lalonde 2004-04-17 02:26:35 UTC
I have the same problem here after updating this morning with Yum.

Comment 2 Scott Sloan 2004-04-19 08:16:57 UTC
*** Bug 121000 has been marked as a duplicate of this bug. ***

Comment 3 Scott Sloan 2004-04-19 08:18:33 UTC
work around would as follows

setxkbmap -rules xorg -layout fr

Comment 4 Mike A. Harris 2004-04-19 19:08:45 UTC
setxkbmap fails due to the X server config file hard coding:

     Option "XkbRules" "xfree86"

... in it.  When that line is removed from the config file and the
X server restarted, setxkbmap works correctly again.  In other words,
that is just a misconfiguration issue, one which is addressed in our
most recent pyxf86config and other updates.

As a quick workaround, edit the X server config file, and remove
the above line, then restart the server.

Comment 5 Mike A. Harris 2004-04-19 19:17:14 UTC
*** Bug 120989 has been marked as a duplicate of this bug. ***

Comment 6 Mike A. Harris 2004-04-19 19:18:17 UTC
This bug has been marked as a master duplicate, with bug alias:
"xkbrules-setxkbmap" for easier duplicate closing.

Comment 7 Mike A. Harris 2005-02-11 22:18:07 UTC
*** Bug 139480 has been marked as a duplicate of this bug. ***

Comment 8 Mike A. Harris 2005-11-22 00:41:37 UTC
Created attachment 121326 [details]
xkbrulesfilequery.c

xkbrulesfilequery.c  -	I meant to attach this to a bug report about 2 years
ago, and just spent 2 hours trying to find it.	I found it.  I'm adding it
to a few bug reports now so it turns up in bugzilla should anyone ever need
an example of how to do this again.  ;o)