
I figured it out -- it was a numlock problem. I don't know what caused it to
change, but numlock on my machine is apparently mod2Mask instead of
mod3Mask.
In case anybody else has this problem in the future, you can tell which key
is which by running this from the terminal:
xmodmap -pm
On Fri, Jul 22, 2011 at 8:42 AM, Joseph Garvin
On Thu, Jul 21, 2011 at 8:44 AM, Ivan Lazar Miljenovic < ivan.miljenovic@gmail.com> wrote:
I turned on my machine today and Xmonad's keyboard shortcuts no longer work. I haven't changed my config file in a long time, so I don't think that's it. I can tell that the window manager is responding because focus still follows my mouse fine. *I didn't turn on numslock or scroll lock. *I tried setting numlockMask to 0, didn't help. *I have modMask set to mod4Mask, and if I run xev and press the Windows key it says I'm pressing Super_L (which I believe is mod4). *Adding shift, control, or alt when pressing the Windows key doesn't make any of the shortcuts work either. *I rebooted into Windows, and the Windows key works fine there so I know
On 21 July 2011 13:33, Joseph Garvin
wrote: the key isn't broken. *If I run metacity instead of xmonad I can Alt+Tab and Press Ctrl+Alt+Left/Right to switch desktops without a problem. I'm at a loss for what to try next. Ideas? My full config file is here: https://github.com/jgarvin/joe-etc/blob/master/xmonad/xmonad.hs
Try "xmonad --recompile && xmonad --restart" (doing this explicitly on the command line sometimes works, especially if you've upgraded a dependency of xmonad); drop the restart if you're doing it from another WM.
Didn't work. I tried manually deleting the .o, .hi, and xmonad-x86_64-linux files to force the recompile just to be sure. I got a new binary, but it still has the same problem.
Just to be doubly sure I plugged in an external keyboard, and the shortcuts don't work when using it either.
-Joe G.