开发者

xmonad help. Which is my Mod key?

开发者 https://www.devze.com 2023-03-22 09:15 出处:网络
I\'m using this config file https://github.com/artificialbeing/xmonad-conf/blob/master/xmonad.hs I\'ve recompiled haskell by doing

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 
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号