[xmonad] xmobar troubles

Tony Morris tonymorris at gmail.com
Fri Feb 11 21:28:02 CET 2011


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

OK it works when I restart X. Pressing mod-q causing xmobar to
disappear and I see the desktop background where xmobar should be.
This doesn't happen when I remove the %gmail% from the xmobar template. I
am using gnomeConfig. Perhaps the issue is not specific to xmobar --
any tips?


On 11/02/11 23:53, Jose A. Ortega Ruiz wrote:
>
> Hi,
>
> On Fri, Feb 11 2011, Tony Morris wrote:
>
>> 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.
>
> It works for me, with xmobar 0.12 (i haven't tried an earlier
> version). Using "mail" as the alias can give problems if you've
> compiled the Mail plugin: one thing to try is to change that to,
> say, "gmail". Also, make sure that the refresh time has a
> reasonable value (e.g., 3000 for checking every five minutes).
> This is the config line i'm using:
>
> , Run Com "sh" ["/home/jao/tmp/gmail.sh"] "gmail" 3000
>
> xmobar logs to either the bar itself or stdout: just run 'xmobar
> /path/to/config' in a terminal window to see if there's any
> additional error message.
>
> HTH, jao


- -- 
Tony Morris
http://tmorris.net/

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk1Vm9IACgkQmnpgrYe6r61BTwCgixsoKzZXDjhVs0cZOQv5Y4xs
uz8An1akfQwPYRi7zJv5RxJyR9Mq5HoH
=7WQO
-----END PGP SIGNATURE-----

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/xmonad/attachments/20110212/6e9de380/attachment.htm>


More information about the xmonad mailing list