This will be my first full-on geek posting. I’m a Gentoo Linux user, unstable (~x86), and I decided I wanted to go Xorg 7.0 (Modular). I followed a combination of the directions at gentoo-wiki and the ones in the Gentoo documentation. Somewhere along the line I did something wrong (still haven’t figured out what) and when I started X pressing any key changed the resolution, the only thing that gave input was my numpad. A few google searches and a day later, I found my solution.
The errors I was getting were as such:expected keysym, got XF86_Switch_VT_1: line 8 of xfree86 expected keysym, got XF86_Switch_VT_2: line 11 of xfree86 […] > Warning: Multiple interpretations of “NoSymbol+AnyOfOrNone(all)” > Using last definition for duplicate fieldsThis is just a sample. The errors repeating a few times with a few alterations. After trying various different xorg.conf set ups, and googling for answers online, I finally found my solution. First, I added the following to my xorg.conf:
Section “ServerFlags” Option “Dont Zoom” EndSectionThis removes the zooming effect (which is basically a resolution change) that I was getting whenever I pressed a key. Then, after more googleing, I found that I was missing /usr/X11R6/lib/X11/XKeysymDB, which was causing X to be unable to determine the layout of my keyboard. A simple locate (or find, if you prefer) pointed me to /usr/share/X11/XKeysymDB which I then copied to /usr/X11R6/lib/X11/XKeysymDB:
einsiedler X11 # cp /usr/share/X11/XKeysymDB /usr/X11R6/lib/X11/And things started cleaning up. After a bit more hacking of my xorg.conf I ended up with:
Section “InputDevice” Identifier “Keyboard” Driver “kbd”
- Option “CoreKeyboard”
- Option “XkbRules” “xorg”
- Option “XkbModel” “pc104”
- Option “XkbLayout” “us”
EndSection
You can see that there’s 4 option lines in there that are commented out. For one reason or another leaving these in (in various combinations) caused a variety of problems. However, I may try commenting out XkbLayout by itself, I believe that may work fine.
At this point I’m still having a few minor issues. Turning off numlock automatically lights up the scroll lock indicator on my keyboard, despite the fact that scroll lock isn’t turned on. In fact, I don’t think scroll lock is functioning at all – not that I ever use it. Uncommenting XkbLayout may fix this, but I don’t know if I want to mess with it anymore since it’s functioning 99.9% at this time.
Anywho, that was my experience with xorg modular, so hopefully that will work from here on out.
And I can\'t wait to suffer from Xorg 7 on Cooker :)
— Adriano Varoli · 06.02.10, 05:35 AM · #
is mandriva going xorg 7? i thought they\'d stick with 6.9, the non-modular release, for the time being.
— tyme · 06.02.11, 02:31 PM · #
— Adriano Varoli · 06.02.11, 05:12 PM · #
Here\'s my setup: brand spanking new gentoo, complete with modular-x courtesy of xorg-x11-7. No /usr/X11R6 symlink (I took it out), and despite symlinking /usr/share/X11/xkb to /usr/lib/X11/xkb, and /usr/share/X11/XKeysymDB to /usr/lib/X11, and linking /usr/bin/xkbcomp to /usr/lib/X11/xkbcomp, I still suffer this problem. Doing all this symlinking has cured the error messages when altering the keyboard options under gnome, but the scrolllock\'s still going haywire. The only other indication that anything\'s wrong is that the keyboard shortcuts capplet doesn\'t accept the windows keys as modifiers, it marks it as super_l (rather than Mod4).
What\'s most frustrating is that all my other boxes which were upgraded from monolithic to modular X on gentoo are all going smoothly. I just can\'t figure out what\'s different between them.
So, if you\'ve got any ideas, suggestions, things to try, areas to look into, bug reports to read, crazy rituals to perform please let me know and I\'ll give them a go. I\'d really love to get this thing fixed. Thanks very much!
— Mike · 06.03.09, 07:27 PM · #
— tyme · 06.03.09, 08:38 PM · #
— Mike · 06.03.10, 07:21 AM · #
I took these steps to fix the problem:
emerge -C x11-misc/xkeyboard-config
Remove directory /usr/lib/X11/xkb
Remove directory /usr/share/X11/xkb
emerge -va x11-misc/xkbdata-1.0.1
Maybe you have to unmask/place in keywords to merge xkbdata
— Mark · 06.03.13, 08:02 AM · #
— tyme · 06.03.13, 08:17 AM · #
— Fernando Rosa · 06.10.01, 10:20 PM · #
— Doctor Who · 07.07.02, 12:42 PM · #