xmonad help. Which is my Mod key?
I'm using this config file https://github.com/artificialbeing/xmonad-conf/blob/master/xmonad.hs
I've recompiled haskell by doing xmonad --recompile
then I did M-q (where M is ALT) to restart xmonad.
There are no errors and I'm pretty sure the config is set up. However, ALT doesn't seem to be the mod key anymore. When I press AL开发者_StackOverflow中文版T+SHIFT+RETURN, I don't get a new terminal screen.
Can someone help me figure out which key is mod?
The relevant bit is modMask = mod4Mask
; on most setups, mod 4 is the "Windows" key.
The problem is simple.Your new xmonad config does not specify a spawn Terminal action for the win+shift+Return key sequence. Add that line to kbMap. For syntax refer one of the configurations found here.http://www.haskell.org/haskellwiki/Xmonad/Config_archive
The windows key is your mod now.
The relevent line is :
modMask = mod4Mask
精彩评论