- conkyrc - Save this as ~/.conkyrc.
- check_mail.rb - Displays a few messages from an IMAP mailbox.
- countdown.rb - Displays the number of days until some date.
- ip - Displays your IP address as seen from some server.
- now_playing.rb - Displays the currently playing artist/song from Amarok.
- weather.rb - Displays the weather from Yahoo Weather.
Screenshot:

11 Comments
I am using Ubuntu Edgy. How do I make this work in my .conkyrc file? Is there something that I am supposed to download to make the script work?
You need Ruby for all of these. And you need the xmlsimple Ruby gem for the weather script. I don't think xmlsimple is in any repos, it would have to be installed via rubygems.
I like your conky file. I'm trying to get your weather.rb working but every time I start conky, I get the error /home/eric/weather.rb:3:in `require': no such file to load -- xmlsimple (LoadError) from /home/eric/weather.rb:3
I've got xmlsimple install via ruby gem. Do you have any suggestions?
You may have to tell Ruby how to find the gem. Export the environment variable RUBYOPT="rubygems" would do it. That's my first thought.
Hey, trying to get the mail script working
heres the error i get
Whats the problem? Thanks
I think it means it can't resolve your mail server's domain. You may have a typo in the server name?
Maybe he is trying to use gmail. Is there a way to specify the port number? Thank you for these scripts and config, Simple, yes but very useful.
tried changing the server line to:
that gave me:
This is my first time looking at ruby.. i'm not a programmer :-/
@crache
that error indicates that gmail does not support an IMAP command that you're trying to use. I can see from your stack trace that you are using the "authenticate" method in this script, and it uses commands that the gmail server doesn't support. Try using the "login" method of net/imap rather than "authenticate", that should take care of it.
Hope that helps.
Hi, I would like to thank you!!! You really saved my evening. I was digging in many sites, where everyone seem'd to be the "guru" about conky, yet everytimes fails... :D Your conkyrc worked instantly: I made my modifications to it (I didn't need the yahoo and mail things, for example) but... it's really wonderful! Thanks, thanks, thanks.
If you are connecting to a server that does not require authentication, you need to change the imap.authenticate line to
imap.login('USERNAME', 'PASSWORD')
Speak Your Mind
Preview
Commenting Help
Email / Avatar
No HTML allowed!
All HTML is auto-escaped. Use Markdown. Examples:
code in backticks