
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Yes, it is newline-terminated. The output of hexdump is 0a30. I have it narrowed down to using a https connection instead of http. I can produce it with either curl or wget. xmobar is not logging anything. Grasping at straws... any more ideas? On 12/02/11 04:09, Norbert Zeh wrote:
Is the output you see from the script newline-terminated? If it isn't, xmobar may not process this input because, at least for the stdin reader (and I assume the mail reader does the same), it processes things one line at a time. Then again, I don't see why the whole bar should hang if it isn't newline-terminated. Normally, it should just display "Updating..." or something like that if it's waiting for input from the command it runs.
- Norbert
Tony Morris [2011.02.11 2236 +1000]:
Hello, I am trying to run a script to check gmail as described here (with some errors) https://wiki.archlinux.org/index.php/Xmobar#Gmail_integration
When I set the template to %mail% and restart xmobar, the bar refuses to display. If I set the script to a non-existent file, I see xmobar with a message "Could not execute command", so I know it's all configured fine, but for the script that checks gmail. If I run that script manually, I see a single integer value on standard output.
I can't seem to find any place that xmobar is logging to help identify what is causing the error (xmobar refusing to display when asked to Run Com my script.
Thanks for any pointers.
xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
_______________________________________________ xmonad mailing list xmonad@haskell.org http://www.haskell.org/mailman/listinfo/xmonad
- -- Tony Morris http://tmorris.net/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk1WfPcACgkQmnpgrYe6r61QzwCgqz3C7RuwZRkWOv9ng3yP03Tq 8bEAnRBz+FAHS09Aum40h9sW0A0q122r =0PE3 -----END PGP SIGNATURE-----