For the last two weeks I have been perplexed by a very serious problem. When I pressed the up arrow key on my keyboard, a screenshot was taken and a menu popped up to show it to me. If I pressed any of the other arrow keys, nothing happened (thankfully, I guess).
After two weeks of googleing (with no result), I took a look at my keymap/keyboard layout settings. In my xorg.conf file was the following:
Section "InputDevice"
Identifier "Generic Keyboard"
Driver "kbd"
Option "CoreKeyboard"
Option "XkbRules" "xorg"
Option "XkbModel" "pc104"
Option "XkbLayout" "us"
Option "XkbVariant" "dvorak"
EndSection
OK, so that looks fine. Then I go and take a look at my KDE Control Center and notice that I have the Enable keyboard layouts option checked, using it to also select Dvorak as my layout.
Since I don’t need to switch to Dvorak twice, I turned it off. And, upon restarting X the problem was solved. This leaves me to conclude that there is some bug causing the combination of KDE’s keyboard layout code, and my xorg.conf to mesh in weird ways.
Perhaps not very interesting, but maybe this will fix some googler’s problem.












My KDE didn’t have Keyboard Layouts enabled. I tried enabling it and disabling it again, but the keys remain scrambled. Also noticeable: the left key seems to be Alt; Insert, Delete, Home End, and Page Up seem to do nothing; Page Down acts like the context menu key (I just tried it and it acted like I’d right-clicked, it’s supposed to be the key next to Right Ctrl that you never use). The best I can figure is that deactivating the Keyboard Layouts option actually wiped out another conflicting setting (which I never had)… and that when KDE chokes on this conflict (or mine) it punts and uses a similarly broken layout.
This is in a mostly up-to-date Gentoo, but it’s interesting to note that in my friend’s mostly up-to-date Kubuntu, he has basically NO keyboard once he logs into KDE. The quick fix is to remove your ~/.kde directory (or .kde3.5) and the problem is solved. This worked in that Kubuntu setup, but I haven’t tried it yet in mine… here goes.
more info:
http://www.nabble.com/xorg—keyboard-td14973779.html