我最近开始在我的 Ubuntu 10.04 机器上尝试 XMonad,但我有一个主要抱怨。奇怪的是,我没有发现该问题在网络上的其他地方重复出现。
我的 XMonad 会话开始时效果很好,但大约 30 分钟后,mod 键停止工作。如果我想关闭我的计算机...如果我打开了一个终端,我可以手动运行关闭,但否则我一直在使用硬电源按钮关闭我的计算机。
mod 键的故障似乎发生在屏幕保护程序激活后,我随后将其停用。
除此之外,我还可以提供 xmonad.hs 或设置中的任何进一步信息吗
...
, modMask = mod4Mask -- Rebind Mod to the Windows key
...
?
预先感谢,
杰米 D
I have recently begun trying out XMonad on my Ubuntu 10.04 machine, and I have one major complaint. Oddly, I have not found the problem duplicated elsewhere on the web.
My XMonad session starts out peachy, but after 30 minutes or so, the mod key stops working. If I then want to turn off my computer...if Ihave a terminal open, I can run shutdown manually, but otherwise I have been using the hard power button to shut my computer off.
The failure of the mod key appears to occur after the screensaver has activated and I have subsequently deactivated it.
Can I provide any further information from my xmonad.hs or setup besides
...
, modMask = mod4Mask -- Rebind Mod to the Windows key
...
?
Thanks in advance,
Jamie D
发布评论
评论(2)
http://www.haskell。 org/haskellwiki/Xmonad/Frequently_asked_questions#XMonad_is_frozen.21
http://www.haskell.org/haskellwiki/Xmonad/Frequently_asked_questions#XMonad_is_frozen.21
我一直在到处寻找这个错误的解决方案。感谢用户2751455。如果其他人遇到这个问题,这个衬垫(这只是链接的常见问题解答所说要做的压缩形式)应该可以解决问题:
cat /proc/$(ps aux | grep [x]monad | cut -d “”-f4)/fd/*> /dev/null
长期修复将涉及调整 xmonad.hs 文件,以便它不会生成未读取的管道。
I've been looking all over the place for a solution to this bug. Thanks user2751455. If anyone else is having this problem, this one liner (which is just a compressed form of what the linked FAQ says to do) should do the trick:
cat /proc/$(ps aux | grep [x]monad | cut -d" " -f4)/fd/* > /dev/null
a long-term fix would involve tweaking the xmonad.hs file so that it doesn't spawn pipes that go unread.