I think I have the same or a similar problem. Sometimes, for example, my
2 key generates a trademark symbol, and instead of the at-sign I get the
ae character. I have looked at xev and xmodmap, and the problem is that
every character I type has state 0x2000, for example this is me pressing
the 2 key:

KeyPress event, serial 34, synthetic NO, window 0x3000001,
    root 0x7c, subw 0x0, time 19589483, (-86,-346), root:(510,213),
    state 0x2000, keycode 11 (keysym 0xac9, trademark), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 34, synthetic NO, window 0x3000001,
    root 0x7c, subw 0x0, time 19589569, (-86,-346), root:(510,213),
    state 0x2000, keycode 11 (keysym 0xac9, trademark), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

The state *should* be 0x0 when no control/shift/alt keys are being held.
When the state is something else, it generates an alternative character
-- you can see the alternative characters for each key using xmodmap
-pke. For example, the trademark character is one of the alternative
characters for the 2 key.

This behaviour is intermittent, and I can fix it temporarily by running
setxkbmap and then xmodmap ~/.Xmodmap. It returns randomly after a
while. It happens under gnome and fluxbox and  regardless of the
keyboard layout. I am on Intrepid.

** Attachment added: "xorg.log-lspci-vvnn.txt"
   http://launchpadlibrarian.net/20585671/xorg.log-lspci-vvnn.txt

-- 
Microsoft Digital Media Pro Keyboard glitchy (Enter and Delete keys messed up)
https://bugs.launchpad.net/bugs/245371
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to