Comment 226 for bug 195982

Revision history for this message
Rocko (rockorequin) wrote :

fwiw, I just ran into the fubar keyboard problem with vmplayer 5.0.1 in Ubuntu 12.10, but found a workaround. Every single time that my mouse went into the vmplayer window, vmplayer trashed all the modifier keys so that CTRL, SHIFT, ALT all stopped working. xmodmap showed:

shift
lock
control
mod1
mod2
mod3
mod4
mod5

Running setxkbmap reset the modifiers correctly, but of course it was a huge PITA to do that every time the mouse went over the vmplayer window.

However, vmplayer worked fine for another user, so I compared our default xmodmaps:

shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3 Control_R (0x69)
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)

The only difference was that mine had the "mod3 Control_R (0x69)" line, whereas the other user had a blank mod3 line.

After issuing xmodmap -e "clear mod3" for my user so the two maps matched, vmplayer stopped trashing the keyboard modifiers for my user.