The following added to a config lets xmonad work after you `xmodmap -e "clear mod2"': handleEventHook = ( \e -> case e of MappingNotifyEvent {} -> return (All False) _ -> mempty)