You are not logged in.
Pages: 1
Well, I had a power outage the other day whilst using the computer, and when I booted into Xmonad today, it was totally fubar'd.
Xmobar looks like this:
"Could not executecommand SdtinReaderCPUMEMETH0||||||MON 000000||7:49:22"
The day of the week and time work, it looks like. Everything else, not so much.
Windows were no longer transparent, and my wallpaper was a huge garbled mess of RGB noise.
I booted into the X Window System demo without any problems after removing the "xmonad" line from my ~/.xinitrc file, and the default system terminal works just fine. I've checked my ~/.xmonad/xmonad.hs and my ~/.xmobar files, and everything is still in place there. My ~/.xmonad/wallpaper.png is perfectly fine. I ran
sudo pacman -Rs feh xcompmgr
sudo pacman -S feh xcompmgrto reinstall my wallpaper manager and composite manager, and window transparency is working, along with my wallpaper looking normal again.
However, now I have the problem of Xmonad not recompiling properly, hanging up when I press Mod+Shift+Q, ignoring my terminal commands, and xmobar looking like a train wreck. Even after running
sudo pacman -Rs xmonad xmonad-contrib
sudo pacman -S xmonad xmonad-contribthese problems persist.
Any suggestions?
Thanks in advance.
Offline
Have you run fsck?
Offline
It's possible that the xmonad binary in ~/.xmonad got corrupted. If you're confident that your xmonad.hs file is correct, you can delete the binary. It will be rebuilt when restarting xmonad.
Offline
However, now I have the problem of Xmonad not recompiling properly, hanging up when I press Mod+Shift+Q, ...
This sounds like the xmonad.hs file is not correct; do you get any errors when running
xmonad --recompilefrom a terminal?
Offline
If the above two suggestions do not work, I would do
pacman -R xmonad xmonad-contriband re-install both. Back up your xmonad.hs file first (it should remain in place, but you can never be too safe). Then re-compile xmonad with a barebones configuration file. If it re-compiles correctly you should be able to place your xmonad.hs file back in to your .xmonad folder and recompile again.
Offline
If the above two suggestions do not work, I would do
pacman -R xmonad xmonad-contrib
and re-install both. Back up your xmonad.hs file first (it should remain in place, but you can never be too safe). Then re-compile xmonad with a barebones configuration file. If it re-compiles correctly you should be able to place your xmonad.hs file back in to your .xmonad folder and recompile again.
It's possible that the xmonad binary in ~/.xmonad got corrupted. If you're confident that your xmonad.hs file is correct, you can delete the binary. It will be rebuilt when restarting xmonad.
Tried this, and almost everything seems to be working properly.
However, xmobar is still giving me one error:
Could not execute command SdtinReader | Cpu: 1% | Mem: 5% - Swap: 0% | eth0: 0KB|0KB | Wed 09/05/12 | 12:38:50Also, it doesn't seem to refresh whenever I recompile xmonad.
Any reason why it would be doing this? This is what my logHook section in my xmonad.hs looks like, if this helps:
logHook = dynamicLogWithPP $ xmobarPP {
ppOutput = hPutStrLn xmproc,
ppCurrent = xmobarColor "#33b5e5" "".wrap "<fc=#33FFFF>[</fc>" "<fc=#33FFFF>]</fc>",
ppTitle = xmobarColor "#FFFFFF" "" . shorten 50,
ppHiddenNoWindows = xmobarColor "#DDDDDD" "",
ppVisible = xmobarColor "#DDDDDD" "",
ppSep = "<fc=#33FFFF> | </fc>",
ppLayout = xmobarColor "#FFFFFF" "",
ppOrder = \(ws:l:t:_) -> [ws]
}Also, here's my xmobar config:
Config { font = "-misc-fixed-*-*-*-*-12-*-*-*-*-*-*-*"
, bgColor = "#111111"
, fgColor = "#ffffff"
, border = BottomB
, borderColor = "#33b5e5"
, position = Top
, lowerOnStart = True
, commands = [ Run Network "eth0" ["-L","0","-H","32","--normal","green","--high","red"] 10
, Run Cpu ["-L","3","-H","50","--normal","white","--high","white"] 10
, Run Memory ["-t","Mem: <usedratio>%"] 10
, Run Swap [] 10
, Run Date "<fc=#33b5e5>|</fc> %a %m/%d/%y <fc=#33b5e5>|</fc> %H:%M:%S" "date" 10
, Run StdinReader
]
, sepChar = "%"
, alignSep = "}{"
, template = "%SdtinReader%<fc=#33b5e5> | </fc>%cpu%<fc=#33b5e5> | </fc> %memory% - %swap%<fc=#33b5e5> | </fc> %eth0% <fc=#33b5e5>|</fc> }{ %date% "
}I
Offline
You've misspelled StdinReader (You've spelled it "SdtinReader"). It's in the last line in your "Config" Section, setting as "template". Try reversing your d and t in the word. Should work then.
Apparently we have all suffered from minor dyslexia ![]()
Last edited by komrad_toast (2012-09-19 08:25:42)
Offline
Pages: 1