Bug 477 - setxkbmap broken?
Summary: setxkbmap broken?
Status: RESOLVED FIXED
Alias: None
Product: xorg
Classification: Unclassified
Component: App/xkbcomp (show other bugs)
Version: 6.7.0
Hardware: All Linux (All)
: high normal
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-04-14 19:31 UTC by Stefan Dirsch
Modified: 2004-08-06 07:54 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
Patch to add xfree86 compatibility symlinks (526 bytes, patch)
2004-04-14 19:32 UTC, Stefan Dirsch
no flags Details | Splinter Review

Description Stefan Dirsch 2004-04-14 19:31:27 UTC
setxkbmap doesn't work. It seems that some xfree86 compatibility symlinks 
are missing. I'll attach a patch. 
 
>~ setxkbmap de 
open("./rules/xfree86-C.lst", O_RDONLY) = -1 ENOENT (No such file or 
directory) 
open("./rules/xfree86.lst", O_RDONLY)   = -1 ENOENT (No such file or 
directory) 
open("/usr/X11R6/lib/X11/xkb/rules/xfree86-C.lst", O_RDONLY) = -1 ENOENT (No 
suc 
h file or directory) 
open("/usr/X11R6/lib/X11/xkb/rules/xfree86.lst", O_RDONLY) = -1 ENOENT (No 
such  
file or directory) 
Couldn't find rules file (xfree86)
Comment 1 Stefan Dirsch 2004-04-14 19:32:29 UTC
Created attachment 203 [details] [review]
Patch to add xfree86 compatibility symlinks
Comment 2 Mike A. Harris 2004-04-17 08:46:26 UTC
Different symptoms, but same problem as bug #472.

libxklavier is also broken as it hard codes the "xfree86" rules file BTW.
Leaving this issue open, as it includes a patch for consideration.  I'm not
sure if we should include the symlinks or not, or force broken apps/configs
to get fixed.

Egbert?
Comment 3 Stéphane Loeuillet 2004-04-27 20:56:20 UTC
afaik, libxklavier 1.02 fixes it. (support both xfree86 & xorg lists)
Comment 4 Stefan Dirsch 2004-08-07 00:54:40 UTC
At least the half of my patch is in now, which seems to be sufficient to fix 
the problem. 
 
/programs/xkbcomp/rules/Imakefile: 
[...] 
InstallCreateLink($(LIBDIR)/xkb/rules,xorg,xfree86) 
InstallCreateLink($(LIBDIR)/xkb/rules,xorg.lst,xfree86.lst) 
[...] 
 
The following was not applied, but might not be required at all. 
[...] 
InstallCreateLink($(LIBDIR)/xkb/rules,xorg-it.lst,xfree86-it.lst) 
InstallCreateLink($(LIBDIR)/xkb/rules,xorg.xml,xfree86.xml) 
 


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.