Summary: | x11-misc/xkeyboard-config-1.1 breaks xdm | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Sylvain BERTRAND <sylvain.bertrand> |
Component: | Current packages | Assignee: | Gentoo X packagers <x11> |
Status: | RESOLVED FIXED | ||
Severity: | major | CC: | gentoo, jan.smout, oldium.pro |
Priority: | High | ||
Version: | 2007.0 | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Sylvain BERTRAND
2007-09-26 18:46:24 UTC
Could you try the keyboard driver for your keyboard instead of evdev, with 1.1? I have the same problem when I select "enable keyboard layouts" in the "keyboard layout" module of the KDE control center. Following the guidelines from http://www.freebsd.org/cgi/query-pr.cgi?pr=114876 I created the directory /usr/X11R6/share/X11/xkb/compiled as root which resolved my issues with xkeyboard-config. Although the directory remains empty (upto now), it seems to be mandatory. With the keyboard driver, it does not make xdm crash, but the layout of keys is vastly disfunctionning: shift keys do not work, vt switching keys neither... xorg.conf section relation to my layout: Section "InputDevice" Identifier "Keyboard0" Driver "evdev" Option "name" "*AT*keyboard*" Option "XkbRules" "xorg" Option "XkbModel" "evdev" Option "XkbLayout" "fr" Option "XkbVariant" "oss_nodeadkeys" EndSection I do not know if this caused problems, but maybe this helps. I tried to run setxkbmap -model evdev -layout fr -variant oss_nodeadkeys -print | xkbcomp - /dev/null and you can see problems with configuration: missing keysyms (XF86KbdLightOnOff, XF86KbdBrightnessDown, XF86KbdBrightnessUp). libX11-1.1.3 has XKeysymDB (keysym database), but it doesn't contain those names. Is there some update of libX11 available? I realized that I'm also missing /usr/share/X11/xkb/compiled, so I created a link that points to /var/lib/xkb (as root user): ln -s /var/lib/xkb /usr/share/X11/xkb/compiled Now I'm able to compile your keymap successfully with command (as normal user from X) setxkbmap -model evdev -layout fr -variant oss_nodeadkeys Also VT switching works fine. Hope this helped. Does xorg-server-1.4-r2 work? (In reply to comment #6) > Does xorg-server-1.4-r2 work? No idea, I'm using xorg-server-1.3.0.0 at the moment. (In reply to comment #6) > Does xorg-server-1.4-r2 work? > Works for me. (In reply to comment #6) > Does xorg-server-1.4-r2 work? > Works for me too (no need to use workaround from comment #5). (In reply to comment #7) > (In reply to comment #6) > > Does xorg-server-1.4-r2 work? > > No idea, I'm using xorg-server-1.3.0.0 at the moment. I would like to add that I have exactly the same problem here : using xorg 1.3.0.0 and xkeyboard-config-1.1 breaks xdm (and X in general too), unless you manually create the symlink suggested in comment #5 xkeyboard-config 1.1 is ~ like the 1.4 xorg server. You should use both ~ x11 packages to make them work properly. BTW, is the latest revision of 1.3 xorg server fixed the issue (which is stable) with xkeyboard-config 1.1 (which is ~)? To have a mixup of stable and ~ packages is not recommended for such intermangled packages(x11 server related packages). Should be fixed in 1.3-r2 and 1.4-r2. |