[xmonad] xmodmap -e "clear mod2" is killing my xmonad mod key

Brandon Allbery allbery.b at gmail.com
Mon Feb 4 18:15:04 CET 2013


On Mon, Feb 4, 2013 at 10:53 AM, adam vogt <vogt.adam at gmail.com> wrote:

> The False in there makes xmonad skip this code in XMonad/Main.hsc. It
> might be a bug that your situation isn't handled properly.
>
> -- set keyboard mapping
> handle e@(MappingNotifyEvent {}) = do
>     io $ refreshKeyboardMapping e
>     when (ev_request e `elem` [mappingKeyboard, mappingModifier]) $ do
>         setNumlockMask
>         grabKeys
>

fwiw I don't see why this (or ensuing operations, notably cleanMask) would
fail.  Might be worth trying DebugKeyEvents to see what's going on?
http://xmonad.org/xmonad-docs/xmonad-contrib/XMonad-Hooks-DebugKeyEvents.html

-- 
brandon s allbery kf8nh                               sine nomine associates
allbery.b at gmail.com                                  ballbery at sinenomine.net
unix, openafs, kerberos, infrastructure, xmonad        http://sinenomine.net
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20130204/af5099cb/attachment.htm>


More information about the xmonad mailing list