| Summary: | kxkb doesn't find keyboard layouts with X.org 6.9.0.dfsg.1-4, no configuration is possible | ||
|---|---|---|---|
| Product: | [Unmaintained] kxkb | Reporter: | Gerhard Kulzer <gerhardk> |
| Component: | general | Assignee: | Andriy Rysin <arysin> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Patch to fix the bug | ||
|
Description
Gerhard Kulzer
2006-02-11 08:15:14 UTC
*** This bug has been marked as a duplicate of 121087 *** This problem has been reported in Ubuntu : https://launchpad.net/malone/bugs/31165. It was fixed there, by replacing /usr/share/X11/ with /etc/X11/ in rules.cpp. It can also be fixed by making a symlink to link /etc/X11/ to /usr/share/X11/ manually. Imo this bug is _NOT_ a duplicate of 121087, which has already been fixed. Created attachment 14644 [details]
Patch to fix the bug
This patch fixes the bug in Ubuntu, and I suppose in Debian aswell, by
redefining the variable in kdebase-3.5.1/kxkb/rules.cpp, replacing
/usr/share/X11 with /etc/X11.
Reopening, it's a separate issue. SVN commit 508515 by jriddell:
Add new directory for xkb
BUG: 121745
M +1 -1 rules.cpp
--- branches/KDE/3.5/kdebase/kxkb/rules.cpp #508514:508515
@@ -17,7 +17,7 @@
#include "rules.h"
-const char* X11DirList[6] = {"/usr/share/X11/", "/usr/local/share/X11/", "/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/", "/usr/lib/X11/", "/usr/local/lib/X11/"};
+const char* X11DirList[7] = {"/etc/X11/", "/usr/share/X11/", "/usr/local/share/X11/", "/usr/X11R6/lib/X11/", "/usr/local/X11R6/lib/X11/", "/usr/lib/X11/", "/usr/local/lib/X11/"};
const char* rulesFileList[2] = {"xkb/rules/xorg", "xkb/rules/xfree86"};
KeyRules::KeyRules():
Thanks for the help, the soft link ln -s /etc/X11 /usr/share/X11 solved the problem for me. I am currently working on refactoring kxkb code for 3.5.2 which will take care of many bugs including this one. |