[xmonad] shiftmask stopped working
Jim Burton
jim at sdf-eu.org
Fri Mar 13 07:10:26 EDT 2009
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 <jim at sdf-eu.org> 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 at haskell.org
>>> http://www.haskell.org/mailman/listinfo/xmonad
>>>
>>
>>
>> --
>> Jim Burton
>>
>> _______________________________________________
>> xmonad mailing list
>> xmonad at haskell.org
>> http://www.haskell.org/mailman/listinfo/xmonad
>>
>
--
Jim Burton
More information about the xmonad
mailing list