Quirky key behavior
Last summer, certain keys on my main Linux machine started doing weird things. It's not clear if it's a problem with the kernel, with KDE, some X11 module, or what. These quirks are reproducible and affect several application in seemingly unrelated ways, but they all appeared at the same time and I suspect are from a common cause.
To catalog all the quirks will be impossible, but here are some of the more common ones interfering with everyday life:
* pgup in kwrite prints a '/' before moving the cursor up, and pgdn causes a menu to pop up.
* In Firefox, if I try to do ctrl-'-' or ctrl-'+' to zoom the text size, the page scrolls down. It ought to stay in the same place.
* The 'end' key in several apps, including filling in text in web forms, such as for this question, may cause a very long pause.
* In RXVT, an xterm-like app I used to like, the up arrow at the bash command line causes 'lpr: Error' to appear in stderr of whatever process initiated it. It should just show me the prior commands in the bash histoyr. The down arrow causes the window manager to do strange things. Things work normal in Konsole and xterm (or maybe there are less noticible quirks I'm forgetting.)
After upgrading everything including the kernel, and uninstalling and reinstalling rxvt, kwrite and other affected software, the problem persists. There are no problems when X is not running, at a regular text-mode conio screens.
Many of the quirks are in KDE applications, but not all. I'd like to blame KDE and use Gnome, but then there are a few quirky apps based on a gtk+/gnome foundation that act quirky.
It's as if certain keys were being interpreted by two separate processes, one the normal one taking the normal actions, and the other misidentifiying keys and invoking other actions.
Maybe I unwittingly installed some horribly written piece of software that hooks into the keyboard handling of X, or fsck'd some /etc config file. I've never seen this problem elsewhere and find no mention of anything like it on any forums or through Google.
Any idea what is happening and how to fix it?
I'm running Arch Linux, rarely more than a month out of date, with icewm but none of the big-name desktops.