shiftmask stopped working

Hi, I upgraded my OS from ubuntu hardy to intrepid and shiftMask stopped working in xmonad 0.8. Keybindings like M-p work but M-S-p does nothing or tries to enter 'P' into the window with focus. I'm still using the same keyboard & kbd layout. This is part of my xmonad.hs: myKeys (XConfig {modMask = modm}) = M.fromList [ ((modm .|. shiftMask, xK_p), spawn "bash -ci emacs") , ((modm, xK_F2), spawn "gmrun") , ((modm .|. shiftMask, xK_Tab), windows W.focusUp) , ((modm .|. controlMask, xK_Delete), spawn cmd_shutdown) , ((modm, xK_p), spawn cmd_dmenu) , ((modm .|. shiftMask, xK_z), spawn "gnome-screensaver-command -l") ] Thanks, -- Jim Burton

Does anyone know of an x application that I could use to work out what is actually being entered when I press a shift key (right and left have the same problem)? This might help me solve the problem. Thanks, Jim Jim Burton wrote:
Hi, I upgraded my OS from ubuntu hardy to intrepid and shiftMask stopped working in xmonad 0.8. Keybindings like M-p work but M-S-p does nothing or tries to enter 'P' into the window with focus. I'm still using the same keyboard & kbd layout. This is part of my xmonad.hs:
myKeys (XConfig {modMask = modm}) = M.fromList [ ((modm .|. shiftMask, xK_p), spawn "bash -ci emacs") , ((modm, xK_F2), spawn "gmrun") , ((modm .|. shiftMask, xK_Tab), windows W.focusUp) , ((modm .|. controlMask, xK_Delete), spawn cmd_shutdown) , ((modm, xK_p), spawn cmd_dmenu) , ((modm .|. shiftMask, xK_z), spawn "gnome-screensaver-command -l") ]
Thanks,
-- Jim Burton
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Jim Burton

Try xev (in a terminal).
On Fri, Mar 13, 2009 at 11:01, Jim Burton
Does anyone know of an x application that I could use to work out what is actually being entered when I press a shift key (right and left have the same problem)? This might help me solve the problem.
Thanks,
Jim Jim Burton wrote:
Hi, I upgraded my OS from ubuntu hardy to intrepid and shiftMask stopped working in xmonad 0.8. Keybindings like M-p work but M-S-p does nothing or tries to enter 'P' into the window with focus. I'm still using the same keyboard & kbd layout. This is part of my xmonad.hs:
myKeys (XConfig {modMask = modm}) = M.fromList [ ((modm .|. shiftMask, xK_p), spawn "bash -ci emacs") , ((modm, xK_F2), spawn "gmrun") , ((modm .|. shiftMask, xK_Tab), windows W.focusUp) , ((modm .|. controlMask, xK_Delete), spawn cmd_shutdown) , ((modm, xK_p), spawn cmd_dmenu) , ((modm .|. shiftMask, xK_z), spawn "gnome-screensaver-command -l") ]
Thanks,
-- Jim Burton
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Jim Burton
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad

Thanks guys. xev has this to say: Left: KeyPress event, serial 28, synthetic NO, window 0x1c00001, root 0x93, subw 0x1c00002, time 4449250, (29,43), root:(670,61), state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False Right: KeyPress event, serial 28, synthetic NO, window 0x1c00001, root 0x93, subw 0x1c00002, time 4385976, (46,42), root:(687,60), state 0x10, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False Any idea why xmonad isn't reacting to bindings which include shiftMask? Thanks, Jim Anders Engström wrote:
Try xev (in a terminal).
On Fri, Mar 13, 2009 at 11:01, Jim Burton
wrote: Does anyone know of an x application that I could use to work out what is actually being entered when I press a shift key (right and left have the same problem)? This might help me solve the problem.
Thanks,
Jim Jim Burton wrote:
Hi, I upgraded my OS from ubuntu hardy to intrepid and shiftMask stopped working in xmonad 0.8. Keybindings like M-p work but M-S-p does nothing or tries to enter 'P' into the window with focus. I'm still using the same keyboard & kbd layout. This is part of my xmonad.hs:
myKeys (XConfig {modMask = modm}) = Â Â Â Â Â Â Â Â M.fromList [ ((modm .|. shiftMask, Â xK_p), Â Â Â spawn "bash -ci emacs") Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm, Â Â Â Â Â Â Â Â xK_F2), Â Â spawn "gmrun") Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm .|. shiftMask, Â xK_Tab), Â Â windows W.focusUp) Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm .|. controlMask, xK_Delete), spawn cmd_shutdown) Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm, Â Â Â Â Â Â Â Â xK_p), Â Â Â spawn cmd_dmenu) Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm .|. shiftMask, Â xK_z), Â Â Â spawn "gnome-screensaver-command -l") Â Â Â Â Â Â Â Â Â Â Â Â Â ]
Thanks,
-- Jim Burton
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Jim Burton
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Jim Burton

Jim Burton wrote:
Thanks guys. xev has this to say: [...] Any idea why xmonad isn't reacting to bindings which include shiftMask?
This is very strange but it seems to be sporadic. For the first time since I upgraded ubuntu M-S-enter is being picked up and opening a terminal. I suppose it's possible my keyboard is flaky but it seems unlikely.
Thanks,
Jim
Anders Engström wrote:
Try xev (in a terminal).
On Fri, Mar 13, 2009 at 11:01, Jim Burton
wrote: Does anyone know of an x application that I could use to work out what is actually being entered when I press a shift key (right and left have the same problem)? This might help me solve the problem.
Thanks,
Jim Jim Burton wrote:
Hi, I upgraded my OS from ubuntu hardy to intrepid and shiftMask stopped working in xmonad 0.8. Keybindings like M-p work but M-S-p does nothing or tries to enter 'P' into the window with focus. I'm still using the same keyboard & kbd layout. This is part of my xmonad.hs:
myKeys (XConfig {modMask = modm}) = Â Â Â Â Â Â Â Â M.fromList [ ((modm .|. shiftMask, Â xK_p), Â Â Â spawn "bash -ci emacs") Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm, Â Â Â Â Â Â Â Â xK_F2), Â Â spawn "gmrun") Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm .|. shiftMask, Â xK_Tab), Â Â windows W.focusUp) Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm .|. controlMask, xK_Delete), spawn cmd_shutdown) Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm, Â Â Â Â Â Â Â Â xK_p), Â Â Â spawn cmd_dmenu) Â Â Â Â Â Â Â Â Â Â Â Â Â , ((modm .|. shiftMask, Â xK_z), Â Â Â spawn "gnome-screensaver-command -l") Â Â Â Â Â Â Â Â Â Â Â Â Â ]
Thanks,
-- Jim Burton
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Jim Burton
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
-- Jim Burton
-- Jim Burton

"Jim Burton"
Thanks guys. xev has this to say:
Left:
KeyPress event, serial 28, synthetic NO, window 0x1c00001, root 0x93, subw 0x1c00002, time 4449250, (29,43), root:(670,61), state 0x10, keycode 50 (keysym 0xffe1, Shift_L), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
Right:
KeyPress event, serial 28, synthetic NO, window 0x1c00001, root 0x93, subw 0x1c00002, time 4385976, (46,42), root:(687,60), state 0x10, keycode 62 (keysym 0xffe2, Shift_R), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False
Any idea why xmonad isn't reacting to bindings which include shiftMask?
Thanks,
Jim
Could we also see the output of xmodmap? It looks like the Shift_L and Shift_R events are happening, but perhaps they aren't mapped to shift, somehow?
participants (3)
-
Anders Engström
-
Jim Burton
-
mail@justinbogner.com