In case any one else comes across this problem: I had exactly the same symptoms and found out they were caused by xbindkeys that was started in the background. Removing my .xbindkeysrc solved the problem for me.
-- You received this bug notification because you are a member of Desktop Packages, which is subscribed to xserver-xorg-input-evdev in Ubuntu. https://bugs.launchpad.net/bugs/892706 Title: after gdm login, keyboard doesn't send KeyPress events Status in “xserver-xorg-input-evdev” package in Ubuntu: New Bug description: I can type fine at the gdm prompt, and the mouse works after login too. fvwm catches my bound function keys for window manipulation, but regular keypresses into windows don't work. I ran xev and typed into it. Usually each keypress makes 3 events: FocusOut event, serial 23, synthetic NO, window 0xc00001, mode NotifyGrab, detail NotifyPointer FocusIn event, serial 23, synthetic NO, window 0xc00001, mode NotifyGrab, detail NotifyPointer KeymapNotify event, serial 23, synthetic NO, window 0x0, keys: 2 0 0 0 0 4 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 ..and the keyrelease makes 3 more: FocusOut event, serial 23, synthetic NO, window 0xc00001, mode NotifyUngrab, detail NotifyPointer FocusIn event, serial 23, synthetic NO, window 0xc00001, mode NotifyUngrab, detail NotifyPointer KeymapNotify event, serial 23, synthetic NO, window 0x0, keys: 1 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 but I noticed that if I press a few keys and overlap the time they're down, I can get occasional correct-looking KeyRelease events with the right keysyms and everything. I haven't found any way to get a KeyPress. Here are some related-looking pages: http://e-mats.org/2009/05/keyboard-not-working-after-booting-ubuntu/ blames dbus and hal for a very similar bug. I have tried restarting dbus but nothing seems to change. https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/59616/comments/18 but running "gconftool-2 -s /apps/gnome-settings-daemon/plugins/a11y-keyboard/active -t bool false" had no effect This damage happened upon my upgrade from 11.04 to 11.10. One other thing I changed today was that I used to have Module Load "xtrap" in my xorg.conf but took it out when I got warnings from the new X version. ProblemType: Bug DistroRelease: Ubuntu 11.10 Package: xorg 1:7.6+7ubuntu7 ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4 Uname: Linux 3.0.0-12-generic x86_64 NonfreeKernelModules: nvidia ApportVersion: 1.23-0ubuntu4 Architecture: amd64 Date: Sat Nov 19 19:00:32 2011 ProcEnviron: PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/usr/bin/zsh SourcePackage: xorg Symptom: display UpgradeStatus: Upgraded to oneiric on 2011-11-19 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xserver-xorg-input-evdev/+bug/892706/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

