September 27, 2008 | In: Design, Design, Desktop, Linux, Software, System

Gmail+Weather+Beauty right on your Ubuntu desktop

[Update: After being hit severely by 'Digg Effect' when this post made to the front page this morning, this site is back again. Thank you for your patience, Diggs (Buries) and Comments folks! Digg on!]

[Update2: Links updated. Instead of serving files from MediaFire, DropBox is used. Also, those of you having problem with weather or anything else don't forget to read the comments. Thanks to everyone using this post and spreading the words because of which my hosting server is down several times!]

[Update3: I've received few complaints about weather not being displayed. Yahoo changed their API (url) such that our script was never able to grab the weather info. I've now updated the scripts, and also updated this instruction. Leave a comment to let me know whether it works or not. Thanks!]

Ever wished that you had new mails notifications right on your desktop? Ever wished you knew the weather info right on your desktop? Ever wished you had your hardware information right on your desktop? Ever wished your desktop was productive and beautiful at the same time? Ever wished you didn’t have to use Mac4Lin theme to hide the ‘ugliness’ of Ubuntu’s native appearance? Ever wished you had a desktop that looked as beautiful as mine? Let’s fulfil your wish:

Desktop Screenshot with Gnome-Do

I have already talked about how to make your Ubuntu desktop look beautiful and productive. This time I will focus mostly on Conky. Conky is a lightweight system monitor for X. Not only monitoring system, with a little bit of scripting, it can be useful to know your new mails, weather info etc.

Here I’ve attached all the required files, attached my Conky configuration file and explained how to make your desktop look similar to mine.

[Updated]

1. Read my previous post about AWN and Gnome-Do.

2. Install Conky:
     $ sudo apt-get install conky

3. Download this file and save in your home directory(Right-click, Save Link As…save the file as .conkyrc)

4. Make a directory scripts in your home directory. Download these scripts, extract and copy them inside the directory you just created.

5. Download all these fonts, extract and copy them inside .fonts directory in your home directory. If you don’t have the .fonts directory, you need to create it. You might need to have administrative privileges to create this directory.

6. Open .conkyrc file. Look for this line:
     ${execpi 300 python ~/scripts/gmail_parser.py yourgmailusername yourgmailpassword 3}

7. Replace yourgmailusernamewith your username and yourgmailpassword with Gmail password. You might also need to install python-feedparser (thanks Onno and Neil for bringing this to my attention)
            $ sudo apt-get install python-feedparser

8. To monitor your hard disk and CPU temperature install lm-sensors and hddtemp

     $sudo apt-get install hddtemp

     $sudo apt-get install lm-sensors

9. Now you need to know the location id for your location for weather info. Head to http://weather.yahoo.com. Enter city or zip code for your location and click go. Copy the full url location from the address bar. The url should look something like:

          http://weather.yahoo.com/united-states/idaho/boise-12793940/ for Boise, ID, USA
          http://weather.yahoo.com/nepal/central/kathmandu-2269179/  for Kathmandu, Nepal
          http://weather.yahoo.com/united-states/new-york/new-york-2459115/ for New York, NY, USA

If you want Celcius, instead of default Farenheit, click on C° and then grab the url. With Celcius selected, above urls will look something like:
          http://weather.yahoo.com/united-states/idaho/boise-12793940/?unit=c for Boise, ID, USA
          http://weather.yahoo.com/nepal/central/kathmandu-2269179/?unit=c  for Kathmandu, Nepal
          http://weather.yahoo.com/united-states/new-york/new-york-2459115/?unit=c for New York, NY, USA

10. Open pogodynka.sh file look for this line kod=weatherURLGoesHere. Replace weatherURLGoesHere with the url you got from step 10 above

11. Create a new empty file in your home directory. Name it weather. Leave the file as it is; do nothing with the file.

12. Bring Run Applicationdialog box (Alt+F2) type conky to launch it

If everything goes right, your desktop should be looking much ‘cooler’

More info:

my desktop screenshot

No related posts.

313 Responses to Gmail+Weather+Beauty right on your Ubuntu desktop

Avatar

Jamie Souef

September 28th, 2008 at 1:29 am

Great tutorial. It really puzzles me why Ubuntu comes standard with a fugly interface when something as clean and elegant as this is achievable.. This is where linux falls down if you ask me. Very ugly, boring UIs (and that my friends, is what the masses want!)

Avatar

nerdd.net | news and opinion

September 28th, 2008 at 6:20 am

I wish I was Mac but now I am happy that I am Ubuntu | nerdd.net…

\r\nEver wished you had a Mac only because it looks beautiful? Ever wish you could hide the ugly loo…

Avatar

VGH

September 28th, 2008 at 7:45 am

Step 10 .

What do we need to do with location ID. do we need to paste it into the file which is named weather ?. I tried this, but the weather file created gets overwritten by conky each time it is started

Avatar

Bert

September 28th, 2008 at 8:56 am

very nice but i have one question:
How can i get the tempereture in Celcius

Avatar

admin

September 28th, 2008 at 9:06 pm

@vgh and @bert. The post is updated to cover your questions. Please go through the tutorial once more. Sorry for the inconvenience and confusion.

Avatar

swag01

September 28th, 2008 at 10:30 pm

Your panel text is unreadable.

To do this type this in the terminal: sudo apt-get install gnome-color-chooser

Then go System > Preferences > Gnome Color Chooser

Then click the Panel tab and change to Normal Foreground color to white or whatever color is the most readable in a transparent panel.

Thanks

Avatar

Insomniac_vampire

September 29th, 2008 at 1:49 am

I cannot get 2 things to work.
1. The Temperature displays in Celsius but i still have LETTER “F” while it should be “C”.
2. Gmail checker is not working.

Help Please. thanks

Avatar

I wish I was Mac but now I am happy that I am Ubuntu « Internet Making Money

September 29th, 2008 at 1:50 am

Avatar

Kartik Mistry

September 29th, 2008 at 4:43 am

Amazing post. I loved openlogo things with conky :)

Avatar

foobar

September 29th, 2008 at 5:14 am

Ugliness shines through, no matter what you do. Look at that non-transparent scroll bar and look at that “XBMC media center” to display its ugly logo and text.

No themes or nice wallpapers are going to help all those ugly looking bundled in and “3rd party” apps you have to use. Good design and desire for it has to be everywhere.

Avatar

Разгоняем Убунту | Blog - Efremov Sergey

September 29th, 2008 at 6:05 am

[...] Смотрим, читаем: Gmail+Weather+Beauty right on your Ubuntu desktop [...]

Avatar

Onno

September 29th, 2008 at 6:21 am

If your new mail does not show up (i.e. gmail feed is not read), check your Python modules. I had to install the feedparser module:

sudo apt-get install python-feedparser

Onno

Avatar

Sponty

September 29th, 2008 at 7:18 am

I’m fairly new to Ubuntu, and I’m having some trouble getting conky working as it’s supposed to. I’ve gone through all of the steps and I’m fairly sure that I’ve done everything properly (of course, if it isn’t working, something’s up).

Whenever I try to run conky, instead of it opening up on the desktop as beautifully as yours appears, it opens in this ugly little window with tiny white text on a black background. It displays information like uptime, CPU usage, etc.

I’m wondering if anyone knows what issue I’m experiencing here, and how I might go about fixing it.

Avatar

Sam

September 29th, 2008 at 8:50 am

Hey, how do I add CPUs to the conkyrc file? I have a quad-core processor, and I wanna see all my CPUs up there.

thanks in advance,

Sam

Avatar

Neil

September 29th, 2008 at 8:54 am

This was a very helpful post, thanks. Two notes:
On my system I had to add:
“sudo apt-get install python-feedparser” since this module was missing.
Also, for those wanting Celsius, it is nice to also grep for ‘F’ in the pogodynka.sh script and change these to C.

Avatar

sean

September 29th, 2008 at 8:55 am

awesome, just one problem, it wont read my gmail….

Avatar

sean

September 29th, 2008 at 9:01 am

scratch that, it works now (thanx Neil) one more question though, is there a way to change the colors? some of it clashes with my background…

Avatar

Zake Naio

September 29th, 2008 at 11:06 am

hi. Must say that i loved the tutorial.
But having a problem with my dual-monitor setup (second screen just showing 420x380ish) i had to reconfigure alot, but thats the fun part right =)

Now to my problem. I Can not make the weather and gmail to work. Other than that. Puuurfect.

Avatar

kbean

September 29th, 2008 at 2:38 pm

i have the same problem as sponty

conky comes up in a black ugly window, not on the desktop

Avatar

Insomniac_vampire

September 29th, 2008 at 5:49 pm

Thanks for advice, now my “C” and gmail works now.

One last thing is the battery bar of mine is not showing.

Please help.

Avatar

Tim

September 29th, 2008 at 6:28 pm

Same as sponty too… black box only :(
any ideas?

Avatar

Tim

September 29th, 2008 at 6:30 pm

Never mind… it’s always the fine print! :)

be sure to “save the file as .conkyrc”
not conkyrc as it would be by default when you save as :)

Avatar

Insomniac_vampire

September 29th, 2008 at 8:50 pm

I got the battery bar working already by changing to BAT1 in .conkyc

Thanks all

Avatar

links for 2008-09-29 « I do

September 29th, 2008 at 11:01 pm

[...] Gmail, Weather, Beauty on your Ubuntu Desktop | Quick Tweaks (tags: ubuntu desktop howto conky) [...]

Avatar

Make Linux: Harder - Better - Faster | LinuxHaxor.net

September 30th, 2008 at 7:11 am

[...] – Beautiful Conky Setup [...]

Avatar

Sponty

September 30th, 2008 at 8:58 am

Ah, you’re right Tim!
Thanks!

Avatar

Optimize your Ubuntu desktop « 0ddn1x: tricks with *nix

September 30th, 2008 at 9:53 am

[...] Optimize your Ubuntu desktop Filed under: Linux — 0ddn1x @ 2008-09-30 16:52:13 +0000 http://www.quicktweaks.com/2008/09/27/gmail-weather-beauty-right-on-your-ubuntu-desktop/ [...]

Avatar

Nate

September 30th, 2008 at 11:34 am

enjoyed, but i have two problems…
1. weather isn’t working. i’ve tried to fix it but can’t figure out what wrong.

2. i am hard wired into my network and this set up won’t show my data streams, how do i fix that?

Avatar

Rishi

September 30th, 2008 at 3:34 pm

This conky thing is beautiful….however, i’m having issues. I am getting these errors:

cat: /home/rishijain/weather: Is a directory
/home/rishijain/scripts/pogodynka.sh: 50: cannot create /home/rishijain/weather: Is a directory
head: error reading `/home/rishijain/weather’: Is a directory
tail: error reading `/home/rishijain/weather’: Is a directory
head: error reading `/home/rishijain/weather’: Is a directory
head: error reading `/home/rishijain/weather’: Is a directory
head: error reading `/home/rishijain/weather’: Is a directory
head: error reading `/home/rishijain/weather’: Is a directory
head: error reading `/home/rishijain/weather’: Is a directory
head: error reading `/home/rishijain/weather’: Is a directory
localhost [127.0.0.1] 7634 (?) : Connection refused

the weather thing isn’t working, and the connection refused thing keeps coming. Any ideas?

Avatar

Dave

September 30th, 2008 at 4:13 pm

I got most of it working however my bars don’t become transparent, is that a something I should set myself manually?

Avatar

admin

September 30th, 2008 at 4:53 pm

@Dave: Which bar are you talking about? If you are talking about the Battery/CPU bars, then they are not transparent. I’ve given the colors so that they blend with the background and they look if they are transparent ;-)

Avatar

admin

September 30th, 2008 at 4:57 pm

@Nate: make sure you have followed each and every steps properly to make ‘weather’ work. About network, what data streams are you talking about? Info about your network? conky is also able to show you information about your wireless connection but that depends on your wireless card.

Avatar

admin

September 30th, 2008 at 4:59 pm

@Naio: After you are done with dual setting don’t forget to share how you did it along with the screenshot of your desktop. You can send me an email at admin[at]quicktweaks[dot]com

Avatar

admin

September 30th, 2008 at 5:01 pm

@sean there are ways to change the colors. Just declare a color value as
color1 ffcc00
color2 ccdd0
color3 white
….so on
just before the line you want to print include {color1} that’s it

Avatar

admin

September 30th, 2008 at 5:02 pm

@Neil: Thanx for bringing that to my notice. I will update the post to include this.

Avatar

admin

September 30th, 2008 at 5:09 pm

Just look for the entries CPU1, CPU2 in conkyrc file and add your additional CPUs. It is pretty self explanatory.

Avatar

admin

September 30th, 2008 at 5:10 pm

@Onno: Thanx for bringing that to my notice. I will update the post to include this.

Avatar

How to make your Linux harder, better & faster.

September 30th, 2008 at 7:45 pm

[...] – Beautiful Conky Setup [...]

Avatar

Zeroday

September 30th, 2008 at 8:34 pm

where is the pogodynka.sh script??

Avatar

Michael

September 30th, 2008 at 10:28 pm

But it looks so ugly?! Lol…

Avatar

Grizz

September 30th, 2008 at 10:45 pm

I had this issue when I first started. The instructions tell you to put everything in your home directory. Well, really, it needs to go in home/username in order work. Once I moved the .conkyrc file and the additional folders into ../home/Grizz everything worked as advertised.

Avatar

Trock

September 30th, 2008 at 11:01 pm

in the scripts folder

Avatar

Dac

October 1st, 2008 at 6:04 am

Hello,

I seem to have a problem with starting conky automatically, if I add conky under sessions it loads up with a kind of black frame around it and it stays on top of every window.

It only works good if I start it up manually (Alt F2, Conky).

Any advice?

Thanks

DaC

Avatar

pandi

October 1st, 2008 at 6:05 am

Wow, this is really great! I just recently found conky, and now this makes it even better. If anyone is interested, I wrote a little script a couple months ago that puts a continuously updating day & night map of the earth onto the desktop, with ~current cloud coverage, to make it look pretty. You can check it out here if you like: https://sites.google.com/site/sweetlinuxstuff/day–night-desktop

Avatar

Jim R

October 1st, 2008 at 6:34 am

Run in the ALT-F2 box:

conky -c ~/conkyrc

Avatar

Jeff

October 1st, 2008 at 7:01 am

One change i would and will make is to use eterm instead of terminal. you can get a totally transparent terminal that “sits” on the desktop like conky with a few command line switches. I use it now and will use it once I apply this . If anyone is interested in the switches, please let me know. I will email them or post them here when i get home if anyone wants them.

Also, does anyone know how to get the forecast in teh weather?

Avatar

WladyX

October 1st, 2008 at 8:32 am

Ablosutly awsome desktop!! I really, really love it, and i’m really picky about desktops, i’ll try it later! It rocks! Thanks for sharing.

Avatar

CyberCowboy

October 1st, 2008 at 8:39 am

Any idea how I’d modify the script to tell me if a different e-mail account (has IMAP and POP3 access) has mail rather than GMail?

Avatar

admin

October 1st, 2008 at 9:03 am

@Jeff: We like to see what you have got, for sure. If you want to share anything with us, you are most welcome. You can shoot an email to admin[at]quicktweaks[dot]com. If it deserves to be shared with others, I will certainly post it under your name.
Thanks

Avatar

Del.icio.us op 1 oktober 2008 | Michel Vuijlsteke's weblog

October 1st, 2008 at 9:06 am

[...] – Gmail, Weather, Beauty on your Ubuntu Desktop | Quick Tweaks mfff (tags: theme [...]

Avatar

admin

October 1st, 2008 at 9:07 am

@CyberCowboy: the idea of getting mails from GMail is very simple – GMail allows to read mail as feed. Any other mail provider which facilitates reading mails as feed should fit well with conky. I don’t have any other accounts other than GMail but I will try to figure it out. In the meantime, if you figured out anything, don’t forget to share with us.

Avatar

admin

October 1st, 2008 at 9:18 am

Unfortunately, that’s the problem with everyone. Starting conky automatically doesn’t work well. It loads up with a black frame and sits on top of every window. I’m also trying to figure it out and as soon as find a way to make it work, I will update the post. So, keep coming back.

Avatar

Paul

October 1st, 2008 at 11:11 am

Looks good? Yes. Useful and easy to use? Nope.

Avatar

zelrik

October 1st, 2008 at 3:32 pm

That’s partly due to the fact that ubuntu can be installed on any computer …new or old and I am not sure that you can do that on an old computer.
The ubuntu team is working on it as you can read on Mark Shuttleworth’s blog.

PS : OMG They should fix that webpage, I hate when I have to write in a box that is black over black!!! I have a black theme and that page doesnt like it, and my theme isnt the one to blame.

Avatar

Jamie Souef

October 1st, 2008 at 3:57 pm

That’s a good point about Ubuntu supporting old hardware, but at the same time support should be there for new PC. Legacy support is one of the reasons Windows Vista is the way it is.

If people want to keep there old PC’s they should be satisfied:) with old software :)

Avatar

Boycott Novell » Links 01/10/2008: New Ubuntu Theme, Fedora 10 Beta

October 1st, 2008 at 6:13 pm

[...] Gmail+Weather+Beauty right on your Ubuntu desktop [...]

Avatar

showtime

October 2nd, 2008 at 7:43 am

Hey There

All is working perfectly loving the look. I’m wondering how to get my conky to update, my time and weather etc all stay the same, is there any way I can accomplish this?

Thanks Bud

Avatar

Dave

October 2nd, 2008 at 2:34 pm

Hi! Thanks for sharing this. “Default” Ubuntu theme looks like a 70′ sci-fi movie watched today… jaw dropping & laughable.

Maybe just a silly question from a ubuntu rookie – how do you make such mac style menu bar at the bottom?

Once this is known, I switch to this 21st century desktop immediately

Avatar

ashokgelal

October 2nd, 2008 at 2:39 pm

@Dave:
Read my previous post Three Little Things To Make Your Ubuntu Desktop Beautiful and Productive on how to make Mac style menu bar (BTW it’s called dock bar).

Avatar

Rick

October 2nd, 2008 at 4:22 pm

Not really sure what I did wrong but for whatever reason all the icons that should be there for conky are instead replaced by single letters . . . also I did the weather just as said in the tutorial and I’ll I’ve got is F / F . . . any help would be appreciated. Thanks!

Avatar

ashokgelal

October 2nd, 2008 at 4:51 pm

@Rick: It seems that you haven’t copied all the required fonts. Make sure you have downloaded all the fonts and have copied it inside /your home director/fonts directory. Also, to change F/F to C/C, look for F/F in pogodynka.sh file and replace with C/C. Let me know if it worked.

Avatar

m.ost

October 2nd, 2008 at 5:09 pm

I love all the mods you made to the desktop, but I’m having one problem. Conky runs fine, but instead of the transparent sleek look that you have, mine simply runs as white text on a black backround. Do you know where i might have gone wrong?

Avatar

Rick

October 2nd, 2008 at 7:02 pm

Yep that did it, thanks.

Avatar

Rick

October 2nd, 2008 at 7:33 pm

Okay I guess I lied – the icons are there now but still no weather. I changed the info in the script and made a weather file but still nothing.

Avatar

WladyX

October 3rd, 2008 at 1:06 am

for imap you can find here a rc file and imap script:

http://conky.sourceforge.net/screenshots.html

Avatar

Zeroday

October 3rd, 2008 at 2:35 pm

i found a scripts folder in my home directory but theres no pogodynaka.sh file :-(

Avatar

Zeroday

October 3rd, 2008 at 2:50 pm

hello this should fix the problem with the startup of conky, it doesnt take over the section of the desktop

use_xft yes
xftfont verdana:size=8
alignment top_right
xftalpha 0.8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no

can someone help me find the script folder? i found one but it doesnt have the pogodynka.sh file :-(
stippled_borders 10
border_margin 4
border_width 1
default_shade_color grey
default_outline_color black
default_color BADCDD
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58

Avatar

Zeroday

October 3rd, 2008 at 2:50 pm

my bad its

use_xft yes
xftfont verdana:size=8
alignment top_right
xftalpha 0.8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_shade_color grey
default_outline_color black
default_color BADCDD
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58

Avatar

Ubuntu Intrepid Ibex - A Designer/Developer makes the switch » » Assault Blog

October 8th, 2008 at 2:11 pm

[...] getting GMail and the weather on my desktop with Conky, I personally think I have something a bit better than the silly widget dashboard from OSX! You can [...]

Avatar

david

October 11th, 2008 at 5:11 pm

fix:
delete weather directory:
$ rmdir /home/rishijain/weather
create a file called directory:
$ touch /home/rishijain/weather

thats all.

Avatar

Ebtoulson

October 11th, 2008 at 11:50 pm

Hey guys. I can’t seem to get my gmail or weather to work. I’ve started over twice now but still nothing. (Everything else works perfect).

Heres a pic
http://i301.photobucket.com/albums/nn74/Ebtoulson/Screenshot.png

Avatar

Emma

October 23rd, 2008 at 1:57 pm

Hello, nice conky.
Do you know how to add the forecast, like something saying: “tomorrow: sunny 25º/9″ or something?

Avatar

stat

October 24th, 2008 at 9:32 am

Great tips here. I love conky but this has helped me go to another level and so simple. Well written, thank a lot for the post.

Avatar

Ce frumos se poate configura Ubuntu !

October 24th, 2008 at 11:07 am

[...] ai Ubuntu si vrei sa arate ca in screen shot-ul de mai sus, atunci urmeaza tutorialul conky si tutorialul AWN. Eu inca nu am testat, deoarece deocamdata am ajuns la un status quo cu ubuntul [...]

Avatar

Ravnos

October 24th, 2008 at 1:13 pm

Ok, I found a solution to the black background thing for KDE3 users. Might work for Gnome users too, but I don’t know if it’s the same problem. Basically, conky sets its background using the root window, and KDE’s background is not on the root window. The easiest way to make the two match is using an app called feh. I found it in the Mandriva repos, I’m sure (k)Ubuntu’s repos will have it too. Install it and type “feh –bg-center `dcop kdesktop KBackgroundIface currentWallpaper 1`. If you use a background that’s not the same resolution as your desktop, you’ll need to use –bg-scale instead of –bg-center. KDE4 users will have to change the dcop part of the command to whatever the KDE4/D-Bus equivalent is (I’m not using KDE4 yet, so I’m not sure.) Gnome users would obviously have to find another way to get their background info in there. After this, conky should be transparent.

You can add this to your .conkyrc as an exec line to make it run automagically when conky starts, or run it with your autostart. I am still looking for a good way to get it to work with rotating desktops. The easy solution would be to use execi or texeci in my .conkyrc and have it run it every so often, but that seems like it would be more resource intensive than I would like. Ideally, it would run with the changeWallpaper command, so if anyone knows how to do that, I’m open to suggestions.

Found this solution at http://briancarper.net/2006/08/25/transparent-conky-in-kde-part-2/ . Hopefully someone finds it as helpful as I did.

Avatar

Monitor everything from your desktop « 0ddn1x: tricks with *nix

October 24th, 2008 at 1:47 pm

[...] Monitor everything from your desktop Filed under: Linux — 0ddn1x @ 2008-10-24 19:47:13 +0000 http://www.quicktweaks.com/2008/09/27/gmail-weather-beauty-right-on-your-ubuntu-desktop/ [...]

Avatar

justin

October 24th, 2008 at 2:44 pm

sweeet!! thanks i was wondering how this could be achieved. thanks for posting.

Avatar

JoshP

October 24th, 2008 at 4:34 pm

Anybody having problems with network info.. you might have to change the lines that eth1 to eth0 in your .conkyrc

type ‘ifconfig’ to see which one you should use

Avatar

justin

October 24th, 2008 at 5:02 pm

i would love to know how to install eterminal and have it transparent and all. :) i am newbie…

Avatar

justin

October 24th, 2008 at 5:12 pm

hello, this is fabulous but having 2 problems…

1.hdd temp not working, however when i installed it it asked me if i wanted to have it automatically loaded up when comp starts. i said no but can change this. was wondering if ppl ran into this prompt when installing as well.

2.battery is not showing. the above post that mentioned BAT1 i didnt get it to work.

o yea! and my gmail is showing how many emails i have and such but i cant click on it??? i thought you be able to click on it to open you email.. but no such link?

thanks so much, i am newb no doubt.

Avatar

justin

October 24th, 2008 at 5:13 pm

almost forgot, how do you change from military time to standard?? i looked in the files but i didnt see how i could change it. thanks:)

Avatar

j13

October 24th, 2008 at 6:11 pm

Umm, I get letters instead of pictures on the sidebar
http://www.mediafire.com/download.php?zdxdqdbnlo2
mediafire decided not to show it as a picture >_>

Avatar

B On The Move - Tech News » Blog Archive » Beautifully Minimalist Conky Setup [Featured Desktop]

October 24th, 2008 at 6:18 pm

[...] pictures come from Quick Tweaks’ detailed Conky how-to, which explains how to set up Gmail monitoring, Yahoo Weather updates, and statistics from your [...]

Avatar

Jim

October 24th, 2008 at 7:29 pm

I get a weird failure like this on Kubuntu 8.10:

Conky: desktop window (1c0006d) is subwindow of root window (188)
Conky: window type – override
Conky: drawing to created window (0x3a00001)
Conky: drawing to double buffer
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 2 (X_ChangeWindowAttributes)
Serial number of failed request: 167
Current serial number in output stream: 168

Avatar

Craig

October 24th, 2008 at 10:04 pm

I seem to be having a problem with the line in the script that dumps the weather page.

As written, I get no output in the weather file. The only way I can get anything at all is to remove the grep and sed statements, which returns the entire page.

I have also tried w3m -dump http://weather.yahoo.com/forecast/“$kod”_c.html > $plik | grep -A21 “Current” | sed ’s/DEG/°/g’.
It still just outputs the full page but seems to grep and find “Current” correctly (highlighted in the file) and on my desktop, it shows the cloud icon then “C / .Sports C” so it is parsing the file and grabbing the bullet and the word Sports.

So confused…

Thanks,
craig

Avatar

ashokgelal

October 24th, 2008 at 11:24 pm

@justin:
Open .conkyrc file in a text editor. Find the following line:

${font Radio Space:size=55}${time %H:%M}

Replace H with I (I as in ice-cream)

It should look like this:

${font Radio Space:size=55}${time %I:%M}

If you want to show am/pm too, add %p just after %M:

${font Radio Space:size=55}${time %I:%M %p}

Avatar

Bruce

October 25th, 2008 at 12:32 am

In pogodynka.sh replace

echo $temp F / $tempo F

with

echo $temp C / $tempo C

Avatar

Bruce

October 25th, 2008 at 12:34 am

Make sure you did step 5. Install the fonts!

Avatar

Bruce

October 25th, 2008 at 12:44 am

Avatar

Husam

October 25th, 2008 at 10:53 am

Is Gnome-Do skinnable or does it adapt to the desktop theme?
If it is skinnable can someone please explain how I can make
it look like the screenshot above?

Awesome desktop btw :)

Avatar

Flail

October 25th, 2008 at 11:39 am

I am really enjoying this setup, thanks for all the work.

That being said, I’m having two problems that I can’t seem to find a solution for, so any help would be really appreciated :)

1. The icon for weather shows up as a vertical rectangle.

2. Most of the lines that should be blank show up with a vertical rectangle (which I assume is the new line character)

I’ll keep messing with it, but any suggestions would be great. Thanks!

Avatar

Fisk

October 25th, 2008 at 12:05 pm

Any way to use this with Google Reader instead of Gmail?

Avatar

yaka

October 25th, 2008 at 2:16 pm

hi i got conky working but its not transparent, i can see my background image. but if any icons/folders are behind it i cant see them

Avatar

Chris Bookwood

October 25th, 2008 at 2:40 pm

Thanks for the great conky scripts, It fits perfect on my desktop.

One thing though – I can’t seem to get the the Gmail and the Up&down and Upload/Download to work… I have tried everything I know, but still dead they seem.

I wonder if the gmail problem can have anything to do with the dot in my gmail username? (some.thing)

Avatar

Beautifully Minimalist Conky Setup [Featured Desktop] @ ZDima.net

October 25th, 2008 at 3:37 pm

[...] pictures come from Quick Tweaks’ detailed Conky how-to, which explains how to set up Gmail monitoring, Yahoo Weather updates, and statistics from your [...]

Avatar

deeaycee

October 25th, 2008 at 4:40 pm

Check to make sure that when you saved the file .conkyrc , that it saved as that file name and NOT conkyrc.htm . When I right clicked to save the file, the name defaulted with the htm extension and it took me a bit to finally figure out what happened. Good luck.

Avatar

firecode

October 25th, 2008 at 4:43 pm

Seems great. Sadly on my machine conky launched itself in a terminal and doesn’t read the config file. But I never succeeded in installing anything on Linux so it’s probably my fault.

Avatar

justin

October 25th, 2008 at 5:25 pm

thanks man appreciate it :)

Avatar

justin

October 25th, 2008 at 5:27 pm

ahh! dope, thanks bro, so “I” stands for standard i guess…thanks a bunch peace

Avatar

Halp!

October 25th, 2008 at 6:00 pm

Do I have to do something specifically with the fonts after putting them in a the fonts folder? Install them somehow? That picture is exactly what my desktop looks like.

Avatar

Damon

October 25th, 2008 at 6:28 pm

I edited the .confyrc file to update the date at the bottom thus:

${font Radio Space:size=14}${time %A}
${font Radio Space:size=14}${time %d %B %Y}
${font Radio Space:size=55}${time %H:%M}

Avatar

justin

October 25th, 2008 at 7:29 pm

hey, thanks for everyones help, i am wondering though how to make it smaller, of rather not as wide. its taking up 1/3 of the desktop. i have 15.4 screen with resolution at 1280×800. this seams to be the max i can make my resolution when i go to “screen resolution.” dont know if this has anythign to do with it.

also, the email is showing how many emails i have but i cant click it to take me to my email…peace

also, the weather doesnt seem to update. is there a way to make it update more quickly. srry for all the question, just wanna get this working top notch, :)

Avatar

Paul

October 25th, 2008 at 7:43 pm

To Husam:
Right click on the Gnome-do icon in your notification area and choose preferences. Go to appearance and then theme. If you want it to look like in the picture choose glass frame.

Avatar

mike

October 25th, 2008 at 9:32 pm

I couldn’t get the gmail script to work since I have special characters in my password that it won’t allow.

My solution was to manually edit the pogodynka.sh file change
uname=’myusername’
password=’mypassword’
maxlen=3

I then changed the .conkyrc file so that the line that calls the gmail parser no longer references the username and password there.

${color F8DF58}${font FreeSans:size=16}@${font}${execpi 300 python ~/scripts/gmail_parser.py}

Avatar

mike

October 25th, 2008 at 9:32 pm

I meant the gmail_parser.py file not the pogodynka.sh file

Avatar

Halp!

October 26th, 2008 at 1:05 am

Nevermind, I figured it out but I still can’t get the weather to work. It just says F/F instead of displaying temperatures next to the F’s. Also there is no sun but the other fonts have been intalled. Hmm… anybody know what’s up?

Avatar

Chris Bookwood

October 26th, 2008 at 1:25 am

Now I got the gmail working by hardcoding the data into the gmail_parser.py file, but still no luck getting up/downspeed and upload/download working. They just still on 0…

Two minor thing… Why is there two CPU’s, and is the weathercast pretty bugger on your machines too? It seems to be only 1 time out of 3, that i shows the weather-’photo’.

Avatar

zach

October 26th, 2008 at 2:10 am

When i run conky as a startup program, it overlaps all my other programs. Any help?

Avatar

Chris Bookwood

October 26th, 2008 at 4:27 am

Yeah – I have the same problem too!

Avatar

ashokgelal

October 26th, 2008 at 10:18 am

@yaka: That’s normal

Avatar

ashokgelal

October 26th, 2008 at 10:21 am

@Chris: Yes, email ids with ‘.’ often cause problem. You can try putting \ in front of ‘.’ . I don’t have any email address which has . in it so can’t say for sure. As soon as I find some solution, I will let you know. If you figured out how to do it, please share the solution here.

Avatar

ashokgelal

October 26th, 2008 at 10:24 am

@firecode: There should be something horribly wrong. In situation like this, I try to start everything from start. I’ve written this tutorial in a way even a first-day Linux user can do it. I suggest you to go from start, downloading different files, putting them in correct places. It should work flawlessly believe me.

Avatar

Chris Bookwood

October 26th, 2008 at 11:07 am

I found, that if you wait about 10 seconds (depending on your machine, but that worked for me) it will start up all nicely… What I did was, I created a shell-script which I threw the following code in, and then I run that on startup.

#!/bin/bash
sleep 10 && conky;

Avatar

ben

October 26th, 2008 at 4:00 pm

“own_window_hints below” in my .conkyrc sorts the window always on top problem (http://ubuntuforums.org/showthread.php?t=277369)

bit of window flickering on refresh – lifehacker recons double_buffer should sort it – but i see it is already enabled in the supplied file. (found this at – http://lifehacker.com/5067341/customize-conky-for-ambient-linux-productivity)

I cant get at my gmail going, but otherwise niceone :) thanks for the tutorial…

Avatar

jaydei

October 26th, 2008 at 4:37 pm

In the conkyrc file, changing the own_window_type parameter from “override” to “normal” (without the quotes) seems to fix this for me. Hope this helps.

Avatar

Tenzin Monlam

October 27th, 2008 at 6:41 am

Hi, I was facing this issue and after quick search I found very good post that resolved my issue.

http://ubuntuforums.org/showthread.php?t=357807

Do this:

Go to your home folder, and create a new document. Call it something like ‘.conky_start.sh’ It should contain the following

#!/bin/bash
sleep 6 && conky;

The # after ‘sleep’ tells the computer how long to wait until starting conky. This way you can wait until after the desktop is drawn, and then put conky on top of it

Then do a chmod on it and add execute privileges

sudo chmod +x .conky_start.sh

Finally, go to system -> prefeneces -> sessions
pick the ‘statup’ tab
remove the conky entry
click add
browse for your ‘.conky_startup.sh’ file

and you should be good to go.

By the way, everything seems to be working fine but I seems to have a problem with the text alignment. They are not sticking. Specially in the case of the processor & memory usage status.
Here is the screen shot of the conky (issue is highlighted in green).
screen shot: http://img208.imageshack.us/img208/4680/screenshotrr6.jpg
.conkyrc: http://drop.io/conkyrc
Thanks for the great post. You really changed my desktop , now it is more polished. Thanks a millions..

Avatar

ashokgelal

October 27th, 2008 at 9:54 am

@Tenzin Monlam: Thank you so much for taking some time showing us how to do it. I’m glad that me and quicktweaks.com were able to help you make your desktop damn cool!

Avatar

Conky, monitor ligero para el Sistema « Ubuntu Life

October 27th, 2008 at 6:09 pm

[...] la imagen superior del articulo. Las instrucciones de como conseguirlo estan tomadas del siguiente enlace. Los pasos [...]

Avatar

j13

October 27th, 2008 at 6:57 pm

I did follow step 5. However, it did not work for me until I rebuilt my font cache by opening up the terminal and running:
sudo fc-cache -f -v

Avatar

danny

October 27th, 2008 at 7:50 pm

hi,

a few problems on my end, firstly the conkyfonts.tar.gz file you linked isn’t hosted by mediafire any more for some reason, (all the fonts you list are free on the web tho!) so it took a little fiddling to get the fonts right.

if anyone is having trouble installing the fonts then create a fonts directory in your home dir and try this

cd fonts
sudo cp *.ttf /usr/share/fonts/truetype

you might need to rename some of them depending on where you found them, check in the .conkyrc

fc-cache -fv (this will refresh all your fonts)

the other problem i have is that the weather just isn’t working at all. i created a weather file, put my location in the pogodynka.sh changed to celcius but all that shows up is C / C

Avatar

DW

October 27th, 2008 at 7:53 pm

Man, I couldn’t get this working. I emailed the admin and they took a look at everything and walked me through what I was doing wrong.

Thanks a lot guys!

Avatar

Bernie

October 27th, 2008 at 10:10 pm

The conky fonts are no longer available. I get an error trying to download them. Can someone upload the fonts again?

Avatar

My Current Desktop :Bernie’s Ramblings

October 27th, 2008 at 10:37 pm

[...] Running Ubuntu 8.10, with transparent panels, souped-up wallpaper and conky. Conky script from here. Filed under: Tech Tips N Tricks, [...]

Avatar

jher

October 28th, 2008 at 10:50 pm

most of the missing fonts can be found by grepping “font” out of the .conkyrc and searching here:

http://www.dafont.com

Avatar

Bernie

October 28th, 2008 at 11:12 pm

Thanks, got it working. Oddly, mediafire decided the fonts can be downloaded again.

Avatar

Cody

October 30th, 2008 at 10:15 pm

When i launch it, it only comes up as a black terminal with white text, i went back and did it from scratch on my other computer with Ubuntu and it is still doing this, not sure why :/

Any help would well..help :P

Avatar

Ethan

November 1st, 2008 at 8:29 am

Hi there,i really want to bring this great effects to my Ubuntu,but i can’t download the scripts and font files from mediafile,could you do me a favor to upload these files to dropbox and send me a share invitation to uptownboy@gmail.com?many many thanks.

Avatar

Cyril Dent

November 1st, 2008 at 6:09 pm

Thanks for this great how-to! It’s simple and easily understandable. However it took me some time to find out why the weather condition icon does not show up on my desktop although the temperature was correct. There is no icon defined for foggy weather in conditions.sh ;-) I added a new line and used the capital D as icon for Fog.
The other issue was with the HDD temperature. Your screenshot is missing the temperature quantity (°C). When I used Vim to edit the .conkyrc file the quantity was showed correctly but by only grepping the line from the file I found out that the degree mark is not showed correctly. I had to copy/paste it to a text editor and then copy/paste it back to the rc file. After that the conky shows it correctly. ‘Hope it’s clear.

Avatar

NCharles

November 1st, 2008 at 6:32 pm

I can’t get the gmail to work. I’ve checked the script loads of times and I only ever get @{expcpi} instead of the last 3 emails. Any idea what’s causing this?

Avatar

Nicofff

November 3rd, 2008 at 7:22 pm

For those who have problems with the weather:

If you pasted the line to change to celcius, check if the ” ” and ‘ ‘ are the correct ones, that worked for me! :D

Avatar

Mike

November 4th, 2008 at 8:43 pm

When I installed it, there was a formatting problem when I pasted into the .conkyrc file. When I manually edited it instead of pasting into gedit, it worked fine with the instructions provided.

Avatar

Conky, un monitor de sistema ligero | Ubuntu City

November 4th, 2008 at 10:57 pm

[...] o puedes crear tu propio monitor leyendo la documentación de Conky. Por ejemplo, en Quick Tweaks enocontramos uno muy bonito y con sus instrucciones (en ingles). También puedes usar este, [...]

Avatar

Make the Acer Aspire One More Flexible :: Working…

November 5th, 2008 at 7:04 pm

[...] Ubuntu (Intrepid Ibex) Setting up Avant Window Navigator and GnomeDo Setting up Conky [...]

Avatar

conky ubuntu system monitor « Linux, Solaris y mas

November 6th, 2008 at 4:58 pm

[...] la imagen superior del articulo. Las instrucciones de como conseguirlo estan tomadas del siguiente enlace. Los pasos [...]

Avatar

tormaser

November 7th, 2008 at 1:56 pm

tank’s 4 the great post, conky it’s great, but i can’t get the wether stuff works fine it’s only show C/C no sun or cloud or any data, hope somebody can help me

in terminal i got this lines

Conky: desktop window (12000b4) is subwindow of root window (58)
Conky: window type – override
Conky: drawing to created window (2400001)
Conky: drawing to double buffer
sed: -e expression #1, char 1: unknown command: `
Traceback (most recent call last):
File “/home/sergio/scripts/gmail_parser.py”, line 47, in
readmail(f, int(maxlen)) # Let the feed be chewed by feedparser
File “/home/sergio/scripts/gmail_parser.py”, line 39, in readmail
print ‘ ${color2}%s’ % atom.entries[i].title
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xf3′ in position 20: ordinal not in range(128)

i figure the problem is whit the character ` but i don’t know where find it… tanks 4 advance and sorry 4 my spelling

Avatar

Purghi

November 8th, 2008 at 10:14 am

hello if you have problems with weather check the following:

first, its possible that you have invalid code in the pogodynka.sh file in line:

w3m -dump http://weather.yahoo.com/forecast/“$kod”.html | grep -A21 “Current” | sed ‘s/DEG/°/g’ > $plik

check whether you have correct ” and ‘ symbols at the appropriate places to make it look like the above line and not like

grep -A21 \u201cCurrent\u201d | sed \u2019s/DEG/°/g\u2019 > $plik

second, you might get no pictures because you have problems with conditions.sh file because of wrong upper/lower case.
for example, in line:

if echo “$cnd” | grep -E -i -q ‘partly cloudy’; then

it can help to change ‘partly cloudy’ to ‘Partly cloudy’.
the same applies to fair, sunny, cloudy, thunder, rain etc later in the file

hope this helps

Avatar

Erik Weibust

November 9th, 2008 at 9:46 pm

Is there an easy way to start/stop conky? I find I start it, tweak my .conkyrc, then have to kill -9 the pid for conky, then repeat.

Erik

Avatar

Jordan

November 10th, 2008 at 7:37 pm

Hey! I got everything up and running perfectly but was wondering if anyone had been successful modifying the Gmail parser to check GAFYD (Google Apps for Your Domain).

I tried changing the feed address to my custom one (http://mail.google.com/a/mydomain.com/feed/atom) in gmail_parser.py and changing my username and password in my .conkyrc but now the Gmail checker is just blank after the @ sign in Conky.

Any ideas?

Avatar

Hacer Linux: Fuerte - Bueno - Rapido | 8chapas.com

November 11th, 2008 at 3:37 am

[...] Instlación bonita Conky [...]

Avatar

Beautifully Minimalist Conky Setup - Softsaurus.org

November 11th, 2008 at 5:39 am

[...] pictures come from Quick Tweaks’ detailed Conky how-to, which explains how to set up Gmail monitoring, Yahoo Weather updates, and statistics from your [...]

Avatar

Spacenoodle

November 11th, 2008 at 8:31 pm

Can we get a repost on the fonts file? I can’t get it working without that file.

Avatar

Spacenoodle

November 12th, 2008 at 1:09 am

Further to my last, file suddenly seems to work. Maybe it’s just some unreliable hosting.

I’m having trouble displaying HDD temp.

i check hddmonit.sh and i have tried cutting and pasting the text echo “$(nc localhost 7634 | cut -d’|’ -f4)”

i get the response

localhost [127.0.0.1] 7636 (?) : connection refused

I can get the hdd temp to display in the terminal by typing

sudo hddtemp /dev/sda3

what can i do to fix hddmonit.sh?

Avatar

tormaser

November 13th, 2008 at 12:18 pm

Purghi

tanks now conky it’s complete working on my lap, only got a little issue, i don’t know why some times the size of the bars (Battery and CPU’s) change some times bigger or smaller, if you or anybody know how to fix it… any way tanks again.

Avatar

azmizal

November 15th, 2008 at 9:45 am

Got problem to do it. Can someone show it through video such as you tube.
Thanks

Avatar

elbeto

November 16th, 2008 at 9:10 pm

I have exactly the same problem,

If you know of a solution please let me know @ riverazo@lycos.com

Thanks

elbeto

Avatar

elbeto

November 16th, 2008 at 11:15 pm

Start: ALt+F2 Conky
Stop Alt+F2 killall conky

Avatar

danny

November 17th, 2008 at 11:48 am

run conky in the terminal when you are testing the configs, then you can either open a new terminal tab and either :~$ pkill conky OR ctrl-c and that also kills it.

Avatar

stenbod

November 21st, 2008 at 5:25 am

If you change “https://mail.google.com/gmail/feed/atom/” to “https://mail.google.com/gmail/feed/atom/unread” in gmail_parser.py, you’ll also get unread messages within all gmail-labels.

Avatar

acrididae

November 21st, 2008 at 3:26 pm

Thanks for this howto.

Conky is not displaying my gmail count or my weather. I updated pogodynka.sh and conkyrc as instructed and I have python-feedparser installed.

I’m running Ubuntu 8.10.

Any ideas?

Avatar

acrididae

November 21st, 2008 at 8:20 pm

Disregard that last post. I had misnamed my scripts folder as .scripts

Avatar

Canuck

November 23rd, 2008 at 12:44 pm

If you are getting the black terminal make sure conkyrc is named .conkyrc

Avatar

George

November 25th, 2008 at 9:00 am

I have the a Intel Quadcore processor and set up my conky so I can see all 4 on the desktop, but have one problem: they all are showing 100% output. That isn’t right. Any ideas on how to correct this? Thanks, this is a great and cool tool!

Avatar

Richard

November 26th, 2008 at 5:47 pm

one annoying flaw with the weather is it does not show night time or a moon – when at night it still shows the sun :(

Avatar

smolty

December 3rd, 2008 at 4:09 pm

w3m -dump http://weather.yahoo.com/forecast/“$kod”.html | grep -A21 “Current” | sed ‘s/DEG/°/g’ > $plik

needs to change to:

w3m -dump http://weather.yahoo.com/forecast/“$kod”/forecast.html?unit=c | grep -A21 “Current” | sed ‘s/DEG/°/g’ > $plik

Think yahoo must have changed this on their website. To change the letters from F to C, change;

echo $temp F / $tempo F

to,

echo $temp C / $tempo C

and remember to put the right location code after kod=
Save the file.
Terminal: killall conky (hit enter to close conky)
conky (hit enter, conky restarts with temp)

Avatar

Xara 3D - Raymond.CC Forum

December 9th, 2008 at 12:23 am

[...] Here is the tutorial – http://www.quicktweaks.com/2008/09/2…buntu-desktop/ [...]

Avatar

Post your desktop... again! - Page 3 - Raymond.CC Forum

December 9th, 2008 at 12:24 am

[...] Here is the tutorial – http://www.quicktweaks.com/2008/09/2…buntu-desktop/ [...]

Avatar

Sukrit

December 9th, 2008 at 6:56 am

Hi. i am using the mac4lin theme. i did all the above steps that you mentioned and then ran conky. All i got was a small black box displaying my system information and no changes to my theme.
What do i do ?

Avatar

AnimateDeath

December 12th, 2008 at 11:00 am

This is an awesome write-up for Conky. I followed what you put and everything worked flawlessly except for the weather. But I found that I made a folder called “weather” instead of a blank file. Once I changed this, it worked fine. My other problem was the network up/down wasn’t working but I changed the etho1 to etho0 and it worked as well.

Thanks for this…. Dugg and Stumbled.

Avatar

brightscreamer

January 1st, 2009 at 3:18 pm

This is way cool, but how do I get Conky to run on the left side of my desktop? Also, I can’t get the weather to show up. :(

Happy New Year, all!

Avatar

Matt

January 3rd, 2009 at 9:25 pm

Cybercowboy: I know your post is old, but if you are still having the issue: while I haven’t tried it (I use gmail, so the script included works great for me) there are arguments you can add in to the conkyrc file that should work for any email you can access via pop or imap. (you can only get the message count, not the actual message content)

The variables are imap_unseen or pop3_unseen, both with the attributes host user pass [-i interval] [-p port] [-e command]. So….

${pop3_unseen imap.gmail.com myusername mypassword 2 995}

would pull down my gmail unread count every two minutes on port 995 (gmail uses SSL).

All this and more from:
http://conky.sourceforge.net/variables.html

Avatar

Matt

January 4th, 2009 at 1:54 am

Hey – thank you so much for this. It’s awesome. I was able to fix all the bugs in my install, and it works great. I wanted to share a few things I discovered and responses to issues I’ve seen in the comments.

1- I’m a bit OCD, and I didn’t like having a “scripts” folder and a “weather” document hanging out in my home directory, so I played around and it is actually quite easy to make the necessary alterations to hide the files. Each time you use a javascript in your conkyrc file, the script is identified by a path – I use the gmail and weather scripts (weather is pogodynka and conditions, so it shows up twice). Then, pogodynka and conditions scripts both refer to the “weather” file you need to create. Just search for the one time “~/weather” is mentioned in each script. change all these by adding the “.” in the file path, then change the name of the scripts folder to “.scripts” and the weather document to “.weather” and you should be back up and running.
Example: “plik=~/.weather” is my new code line in pogodynka.

2- if you want the upspeed and downspeed to reflect your wired ethernet instead of wireless, you need to change the attribute in the upspeed and downspeed variables in conkyrc. For me, wireless is eth1 and wired is eth0. It’s really easy to find out which is which if you use the Wicd network manager – it lists the adapter names in preferences.

3- want more variables (and descriptions of variables already included in quicktweak’s awesome conkyrc file?) Find them here:
http://conky.sourceforge.net/variables.html

I’m pretty happy with my new Conky. I take no credit – my changes are very easy mods off quicktweak’s original, but if you want to see an similar alternative:

Screenshot: http://www.box.net/shared/0jipg4iqk7

my conkyrc: http://www.box.net/shared/1e8f8xsnjo

Changelog:
-Wifi speed and strength
-filesystem usage of my root and /home partitions
-adding my swap usage next to my RAM usage
-minimizing email to only show how many unread I have, not the subjects/senders

Thanks again for your awesome work!

And a question…
my the desktop behind conky flickers every now and then. I can’t isolate it: it’s less frequent then the update cycle, and without the variable gmail lines, conky doesn’t have to shift up or down. Anybody know why this happens?

Avatar

ashokgelal

January 4th, 2009 at 2:00 am

Great work Matt. Appreciated! Thanks for sharing.

Avatar

mzilikazi

January 22nd, 2009 at 3:28 pm

Nice howto. A few minor tweaks later and vola! it’s looking good on Debian too. You can have the Debian logo instead of the Ubuntu logo simply by editing .conkyrc

TEXT
${color 6694B2}${font OpenLogos:size=45} J t

The ‘J’ is the Debian logo. If you want to look at what else is in openlogos.ttf one way is to use fontforge. Available through your favorite Debian repo.

Another something….the conkyscripts.gz unarchived is conkyscripts/ but .conkyrc points to ~/scripts so unarchiving that zip file in ~/scripts does not work. An easier way would be something like this:

wget http://dl.getdropbox.com/u/83257/conkyscripts.zip
unp conkyscripts.zip
mv conkyscripts scripts

To create the weather file simply use touch

touch weather

Thanks for the howto. :)

Avatar

Michael Shoshani

February 15th, 2009 at 3:22 am

I give up. I’ve spent hours, and I cannot get anything to even display.

There is another conky setup on Lifehacker, and it works just fine. But this one does not, and everything checks out…the directories are correct, I edited the .conkyrc to use the correct directories, I edited all the information in the .sh scripts. Nothin, nada.

Using Ubuntu 8.10. This is frustrating. There is no window, there are no fonts, there is nothing. It’s as though I typed no commands at all…

Avatar

Peregrinati

February 20th, 2009 at 3:06 am

If you’re having trouble with the gmail, and you have a slash or dot in your email address or password try surrounding each of them with quotes.

Avatar

anthony

March 3rd, 2009 at 10:57 pm

i am not getting any of the arrows all i get are letters can any one tell me how to fix this,,,,, o yeahh very new to ubntu less than 24 hours thanx in advance
/home/anthony/please help

Avatar

Sour dish of windows, no more | CUB3D

March 7th, 2009 at 5:58 pm

[...] getting GMail and the weather on my desktop with Conky, I personally think I have something a bit better than the silly widget dashboard from OSX! You can [...]

Avatar

Kyle

March 8th, 2009 at 4:46 pm

Hey this is a great howto and is incredibly helpful. I just have 2 questions:

1. On your screenshot it looks like you have gotten your weather to display both the high and the low, but on my desktop it just displays one temp. Is there any way to change this?

2. I can not get it to display my wireless up/down speed. Any suggestions?

Thanks a lot! :)

Avatar

Oliver

March 9th, 2009 at 2:44 pm

Hi, great job on the conky, I’ve incorporated the weather and gmail into my own and love it. I’m just wondering about the pogodynka script. It seems to be set up to also display other weather information. I’d really like to set it up to display wind, sunrise and sunset but I’m not much of a coder and I don’t speak the language that script is commented in. Help would be greatly appreciated.

Avatar

Oliver

March 10th, 2009 at 12:51 am

Never mind, figured out that the comments are in Polish. Now I know what all the variables are and what to uncomment.

Avatar

Kyle

March 13th, 2009 at 6:12 pm

My conky also randomly changes size…

Avatar

EuropaCar

March 21st, 2009 at 1:16 pm

Excellent

Although I have just one problem. If I start conky while not connected to the internet and subsequently connect to the internet, conky doesn’t update weather/gmail. I have to restart it.
Any fix to this?

Avatar

All about Conky | nikoboxxx.com

March 22nd, 2009 at 8:14 pm

[...] QuickTweaks conky post Davmac’s conky ubuntuforums.org extensive and very long post with many conky screenshots Conky on GNOME-look.org [...]

Avatar

SumthingWicked

March 26th, 2009 at 12:51 am

For some reason, the upload/download indicators always read zero. I’ve seen in the comments a couple other people have had the same issue but I didn’t see a solution. Anybody have any insight?

Avatar

Show Your Linux - Page 149 - Overclock.net - Overclocking.net

March 31st, 2009 at 12:00 am

[...] can be found from Yahoo Weather Original credit for the inspiration/weather script goes to this site. Wheres the love for amd!? Famous logo font doesn’t have it [...]

Avatar

Jimmy

April 1st, 2009 at 8:52 am

My weather’s not working at all, so I would like to try out your advice. However, I cannot find the line
if echo “$cnd” | grep -E -i -q ‘partly cloudy’; then
in pogodynka.sh

Avatar

William Gates III

April 11th, 2009 at 4:38 pm

It works BEAUTIFULLY!!!

I had to change the:

weather po….sh to accomodate all the info that
was captured in the “weather” file to include
sunrise/set times; visibility; air pressure.. as well
as chaning the network ^ from eth1 to wlan0.

But it looks awesome!

The Sumarize Windoze port isn’t bad either..

Great job!

Avatar

kaushik

April 16th, 2009 at 6:52 am

weather and email are not working for me can u help me to enable

Avatar

ashokgelal » Blog Archive » Being on LifeHacker’s #4

April 26th, 2009 at 12:43 am

[...] the big news for today is that my post on conky setup(Gmail+Weather+Beauty right on your Ubuntu desktop) which was published last year grabbed #4 [...]

Avatar

Dispelled.ca » links for 2009-04-26

April 26th, 2009 at 3:03 pm

[...] Gmail, Weather, Beauty on your Ubuntu Desktop | Quick Tweaks [...]

Avatar

greg

April 26th, 2009 at 4:43 pm

masters of linux out there will someone who can make the text-only look happen like the authors desktop please e-mail me at jesusfreak216@gmail.com i would be very apreciative

Avatar

Daniel

April 27th, 2009 at 3:30 am

Hello,

I have tired to get Matt’s version working, But i cannot get the Wifi portion to work – any ideas?
Ive made sure that its pointing to the correct device (eth1). The up/down rates work however.

Everything else is looking great!

Avatar

jesper

April 27th, 2009 at 8:23 am

you need to add .encode(‘ascii’, ‘ignore’) to the end of line 39.

So

print ‘ ${color2}%s’ % atom.entries[i].title

becomes

print ‘ ${color2}%s’ % atom.entries[i].title.encode(‘ascii’, ‘ignore’)

Avatar

insidious raven

April 27th, 2009 at 5:01 pm

Hi, I am trying to get rid of the battery bar and a few other things in conky, and I can’t seem to get it to remove anything. I tried deleting lines from the .conkyrc, but it just did not take the changes. What do I need to do?

Avatar

Ben

April 28th, 2009 at 4:32 pm

Apparently with the latest version of ubuntu something changes, instead of the weather and other info just being in the background, it now is printed on top of other windows (still using the desktop background image) ends up with a 4″ or so smaller viewable window… So some tweaking will have to be done after agreeing via autoupdates to go to the newly pushed out ubuntu

Avatar

Ben

April 28th, 2009 at 4:37 pm

duh, forgot to mention my quick fix, change .conkyrc from

own_window yes
to
own_window no

killed conky and reran, it’s now on the background where it belongs.

Avatar

Fae

May 2nd, 2009 at 5:38 am

Hi,
This looks great and seems to be working fine, however, I get this error when I start conky up in terminal (note: that conky appears to work just fine…)

localhost [127.0.0.1] 7634 (?) : Connection refused

Thoughts? Is this a problem?

Thanks,

Fae

Avatar

Angiiey

May 3rd, 2009 at 8:24 pm

Hey Matt, I was just wondering how you were able to change the way the e-mail read like you said in your changelog. Thanks!

Avatar

Jose Silva

May 6th, 2009 at 1:35 pm

I get the following errors when I run my conky:

Traceback (most recent call last):
File “/home/user/scripts/gmail_parser.py”, line 47, in
readmail(f, int(maxlen)) # Let the feed be chewed by feedparser
File “/home/user/scripts/gmail_parser.py”, line 39, in readmail
print ‘ ${color2}%s’ % atom.entries[i].title
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xe1′ in position 40: ordinal not in range(128)

Only one e-mail subject is show, and “more..” does not show up.

Any clues?

Avatar

Jose Silva

May 6th, 2009 at 2:54 pm

If get any errors related to hddtemp or to the battery, please see this post: http://ubuntuforums.org/showthread.php?t=964016

Avatar

Jose Silva

May 6th, 2009 at 11:44 pm

Never mind the previous post, I already saw an earlier reply that fixed my problem. It would be good to add the following to the tutorial:

To have conky update itself, say every 15 minutes, do the following:

# crontab -e

Add this line:
0,15,30,45 * * * * killall -SIGUSR1 conky>/dev/null 2>&1

Save and you’re done! Now your weather, e-mail, etc will be updated every 15 min.

Avatar

8 Beautiful Conky Desktop Monitor Setup | LinuxHaxor.net

May 7th, 2009 at 10:17 am

[...]       Download & Instructions [...]

Avatar

Douglas

May 7th, 2009 at 7:06 pm

Hi,

I was having a problem with the weather.

I fixed with the following:

- Go to .fonts folder in your home directory.
- Rename the font wet____.ttf to weather.tff

Avatar

8 Bonitas configuraciones para Conky | Snapcodex

May 8th, 2009 at 2:08 am

[...] Descarga e instrucciones [...]

Avatar

8 temas para conky | Linux Zone

May 8th, 2009 at 9:52 am

[...] Instrucciones y descarga: aquí. [...]

Avatar

8 bonitos temas para Conky | Alejandrox

May 8th, 2009 at 11:04 am

[...] Descarga e instrucciones [...]

Avatar

Josh

May 9th, 2009 at 9:55 pm

I can’t get the weather and the hard drive temp to work. I try typing the echoed content of hddmonit.sh file into the terminal, and I get the following warning

[code]
josh@ubuntu:~$ nc localhost 7634
localhost [127.0.0.1] 7634 (?) : Connection refused
josh@ubuntu:~$ netcat localhost 7634
localhost [127.0.0.1] 7634 (?) : Connection refused
josh@ubuntu:~$ (nc localhost 7634 | cut -d'|' -f5)
localhost [127.0.0.1] 7634 (?) : Connection refused
josh@ubuntu:~$
[/code]

And the weather, well, I’m at a loss. Can anyone help?

On my computer, for the wireless networks to be detected, I changed ‘eth1′ to ‘wlan0.’

I made all my files and folders invisible and changed the references to them in each config files.

If anyone has some detailed advice on how to fix the weather and hdd, though, it’d be greatly appreciated.

Avatar

Selezione dei temi più belli per Conky | Omaradsl

May 10th, 2009 at 3:46 pm

[...] Simple Conky: Download e istruzioni [...]

Avatar

rossm

May 10th, 2009 at 4:13 pm

I am not seeing the sun/clouds/whatever the symbol may be representing my weather, however the temperature is pulling correctly from the Yahoo website. How can I get the sun like you have?

Avatar

rossm

May 10th, 2009 at 4:15 pm

Nevermind, fixed by running

$ mv wef____.ttf weather.ttf

Avatar

rossm

May 10th, 2009 at 4:15 pm

Nevermind, fixed by running:

$ mv wef____.ttf weather.ttf

Avatar

Tom

May 14th, 2009 at 1:58 am

Hi guys, thanks for all the comments, it helped me a lot.
I have one remaining issue with the weather, all the rest works.
For the weather, I have no information displayed at all.
Here’s the content of pogodynka.sh:

#!/bin/bash

# Katalog, w którym znajduje siê skrypt
sciezka=~/scripts

# Kod miasta
kod=BEXX0024

plik=~/weather
# sprawdzenie czy serwer jest dostêpny
#if [ `ping -c1 216.109.126.70 | grep from | wc -l` -eq 0 ]
# then
#echo “Serwis niedostêpny”
#else
# pobieranie informacji
w3m -dump http://weather.yahoo.com/forecast/“$kod”.html | grep -A21 “Current” | sed ’s/DEG/°/g’ > $plik

I also have the “weather” file in my home directory but it’s empty

any idea?

Avatar

Shane

May 15th, 2009 at 10:47 pm

What do we add to .conkyrc to imbed @ replies from twitter and tasks from Remember the Milk?

Avatar

carl

May 19th, 2009 at 6:53 pm

I really like the idea of this whole conky thing but I just can’t seem to get it to work correctly. I searched these posts and I see some people have the same problems as me with the weather and gmail not displaying properly. It also appears as though when the program loads at startup that it displays on top of every other window. When I close the app and re-open it again it displays as it is supposed to. Anyone have any suggestions as to how I could fix this? Thanks

Avatar

ben

May 20th, 2009 at 8:41 pm

This is not working for me, like a poster above me all it does is open up a little window on the bottom of my screen with a default conky script.

I think the problem is that I had to save everything in home/ben, and not home. How do you save to just home?

However, I have no idea because I am a newbie.

Thanks

Avatar

Martijn

May 25th, 2009 at 12:20 pm

For anyone that is having problems with their GMail checks due to “special” characters in their username or password (think ‘.’ or ‘!’ or even ‘&’) I’d suggest changing the following line in .conkyrc

${color F8DF58}${font FreeSans:size=16}@${font}${execpi 300 python ~/scripts/gmail_parser.py YourGMAILUser YourGMAILPassword 3}

into:

${color F8DF58}${font FreeSans:size=16}@${font}${execpi 300 python ~/scripts/gmail_parser.py “YourGMAILUser” “YourGMAILPassword” 3}

(Basically surround username and password with double quotes) That should fix the problems on that end.

I’d advise this to be changed in the download too since it doesn’t harm other users and makes the script more robust.

Avatar

M

May 30th, 2009 at 1:00 pm

How do you get the HDD temp in Fahrenheit its only showing up in Celsius, and the end C is not showing up?

Avatar

PAtroox

May 30th, 2009 at 4:31 pm

i get this in the console:
Traceback (most recent call last):
File “/home/patroox/scripts/gmail_parser.py”, line 47, in
readmail(f, int(maxlen)) # Let the feed be chewed by feedparser
File “/home/patroox/scripts/gmail_parser.py”, line 39, in readmail
print ‘ ${color2}%s’ % atom.entries[i].title
UnicodeEncodeError: ‘ascii’ codec can’t encode character u’\xed’ in position 22: ordinal not in range(128)
how can i fix it?
thnks!

Avatar

links for 2009-06-03 | wann.es

June 3rd, 2009 at 3:02 pm

[...] Gmail, Weather, Beauty on your Ubuntu Desktop | Quick Tweaks (tags: ubuntu linux conky) [...]

Avatar

Conky pimps your desktop nerd style! « Infinite Blog

June 16th, 2009 at 11:19 pm

[...] few weeks back I encountered this article while cruising through lifehacker. Up until that point it had never really occurred to me [...]

Avatar

Bill

June 23rd, 2009 at 7:36 pm

I receive the black box as well, described above. I’m thinking I don’t have some depenendencies installed, or I have not followed the instructions. When it says home folder, would it be either:
/home/
or would it be
/home/Billy/ (my username home folder)

thanks!

Avatar

Soulis

July 3rd, 2009 at 5:02 pm

Hello.

First of all, i’d like to thank you for sharing this awesome conky config. :)

Now, i’ve managed to get everything working, except for the upload/download and up/down indications. I don’t know why that is, i’ve been trying to figure it out, but nothing. They’re just stuck at 0 Kb/s. If you could help a bit on this issue it would be so great.

Thanks in advance.

Avatar

Nico

July 9th, 2009 at 12:55 pm

I think I followed every step, but when I launch conky it runs in a separate window and does not merge with the desktop

:’(

Avatar

Daniel

July 9th, 2009 at 3:46 pm

Hi

i’m still having trouble

all my icons are shown as Bigger letters

i did make a .fonts file in my home and added all the fonts that it told me to download. any ideas?

Avatar

Daniel

July 9th, 2009 at 3:47 pm

i used to have the blackbox also until i changed my conkyrc to .conkyrc maybe that’s same with u

Avatar

Mischa

July 17th, 2009 at 1:06 pm

This is a minor detail, but I noticed the speeds read Kb/s with a small “b,” which might confuse some people. The variable measures in KB, yes?

It worked fine for me, after correcting my mistakes (plain “scripts”. as folder name, instead of “.scripts” , and “.conkyrc” instead of “.conkyrc.htm” lol). Thank you very much!

Avatar

tks

July 19th, 2009 at 12:26 am

To add a few more weather conditions in the conditions.sh file, could you give us a refrence for the echo statements for the weather conditions.
ex:
sunny——’A’
etc.

elif echo “$cnd” | grep -E -i -q ‘fair|sunny’; then
echo ‘A’

Avatar

Isa

July 29th, 2009 at 8:19 am

I have followed everything but can’t get my weather to work.here is my script:

#!/bin/bash

# Katalog, w którym znajduje siê skrypt
sciezka=~/scripts

# Kod miasta
kod=SNXX0001

plik=~/weather
# sprawdzenie czy serwer jest dostêpny
#if [ `ping -c1 216.109.126.70 | grep from | wc -l` -eq 0 ]
# then
#echo “Serwis niedostêpny”
#else
# pobieranie informacji
w3m -dump http://weather.yahoo.com/forecast/“$kod”/forecast.html?unit=c | grep -A21 “Current” | sed ’s/DEG/°/g’ > $plik

# ustalenie warto¶ci zmiennych
stan=`head -n3 $plik | tail -n1`
temp=`tail -n1 $plik | awk ‘{print $1}’`
tempo=`head -n6 $plik | tail -n1`
cisn=`head -n8 $plik | tail -n1`
wiatr=`head -n16 $plik | tail -n1`
wilg=`head -n10 $plik | tail -n1`
wsch=`head -n18 $plik | tail -n1`
zach=`head -n20 $plik | tail -n1`
if [ `cat "$sciezka"/pogodynka.sh | grep -x "# $stan" | wc -l` -eq 0 ]
then
stanpl=$stan
else
stanpl=`cat “$sciezka”/pogodynka.sh | grep -xA1 “# $stan” | tail -n1 | awk ‘{print $2,$3,$4,$5,$6,$7}’`
fi

# formatowanie informacji wyj¶ciowej
# dostêpne zmienne:
# $stan opis stanu po angielsku
# $stanpl opis stanu po polsku
# $temp temperatura powietrza
# $tempo temperatura odczuwalna
# $cisn ci¶nienie atmosferyczne
# $wiatr kierunek, si³a wiatru
# $wilg wilgotno¶æ powietrza
# $wsch godzina wschodu s³oñca
# $zach godzina zachodu s³oñca

#echo $stan
#echo $stanpl
echo $temp C / $tempo C
#echo Cisnienie $cisn hPa
#echo $wiatr
#echo Wilgotno¶æ: $wilg
#echo Wschód S³oñca: $wsch
#echo Zachód S³oñca: $zach
#echo $stanpl, $temp C

#fi

— any help is appreaciated.thx—

Avatar

hotmori

July 30th, 2009 at 2:51 pm

Nice howto. It improved my desktop view in beauty and functionality way. Thanx a lot.

Avatar

Justin

August 8th, 2009 at 7:38 pm

When I download the conkyrc file it saves it w/o the period in front and displays most of the information in white text on a black background. When I rename the conkyrc file w/ a period in front it gives permission denied for opening the scripts. Any clue as to what I did wrong there?

Avatar

gopargur

August 14th, 2009 at 5:47 am

I’m having the same thing. As far as I know I followed all the steps though :\

Anyone have any suggestions?

Avatar

matthieu

August 17th, 2009 at 4:04 am

Really.. really stupide remark..

.. it’s so hard to change the aspect of your gnome/xfce/kde desk?? It’s the reason linux is far away on the other systems, is that you can take an ISO image, burn and install it on a 10 year old PC even with 128mb RAM..

I really don’t care that people has to buy quad or whatever the amount of CPU core in their machine, it’s only for games or windows!

Most of “normal” people using it to surf, read mails, watch movies (even not in HD!!..), and watching/storing their photos. Maybe sometimes they even wrote a letter!

For sure, you need to have an 1000$/€ laptop for this!
Most people i know, who’s using XP, have only modify on thing on their desktop: the wallpaper!!

That means that people who really want to have something different on their desk (as me..) take the time for this.

That means that you do not need compiz whatever, they do not use it! I Put gnu/linuxmint on the laptop of my mother, the only thing she’s using is the browser..

I modify for her the desktop, i’m sure that she never think of that if i was delivered his version “as is”!

That how the majority of people using their PC.. and why gnu/linux has to continue how they done it!

Avatar

Rowell

August 22nd, 2009 at 11:20 am

To prevent conky from being above all windows you need to modify your start up script. Change the sleep value to a higher number, for example:

sleep 35 &&
conky

Avatar

Rowell

August 22nd, 2009 at 11:26 am

Should be your home folder:

/home/user/

Avatar

Ubuntu 8.10 w/ Avant, Emerald, & Conky | Novum Simulacrum

August 22nd, 2009 at 5:43 pm

[...] also using Conky. Here’s a tutorial on how to get Gmail, weather, and other stats embedded to your desktop with the help of it. For [...]

Avatar

Jamie

August 25th, 2009 at 12:22 am

@matthieu

I really think you missed my point completely, most probably a language breakdown or something.

I’m saying that it’s good Ubuntu supports old hardware – but old hardware is also one of the reason why Windows is so bloated, because it supports legacy hardware.

It’s fine if you want to use old hardware, but you just can’t expect to use new software on it.

Really, your reply is really, really stupide.

Avatar

Rowell

August 25th, 2009 at 10:47 am

I’m having a weird problem where my conky setup refreshes every 5 minutes. It’s the same files I used from this post and it didn’t do it the first time I set it up but the time refreshes every 5 minutes. A little problematic when I want to know what time it is. Anyone know how to change this?

Avatar

desKrriado

August 29th, 2009 at 7:44 pm

Thanks, very nice JOB!

Avatar

Tipset » My Desktop by NerdTool

September 4th, 2009 at 5:25 pm

[...] ちなみに,デザインのセンスは0なのでこちらのサイトのConkeyの設定をモチーフ(パクリ?)にさせてもらいました [...]

Avatar

Daniel

September 14th, 2009 at 7:49 pm

Gentlemen,
To fix the weather issue you simply have to replace

w3m -dump http://weather.yahoo.com/forecast/“$kod”.html | grep -A21 “Current” | sed “s/DEG/°/g” > $plik

or

w3m -dump http://weather.yahoo.com/forecast/“$kod”_c.html | grep -A21 “Current” | sed “s/DEG/°/g” > $plik

with the entire line for your location.. yahoo has now places the names of the locations on the directory now.

Here is an example of a working one.

w3m -dump http://weather.yahoo.com/San-Francisco-California-United-States/USCA0987/forecast.html“$kod”.html | grep -A21 “Current” | sed “s/DEG/°/g” > $plik

or

w3m -dump http://weather.yahoo.com/San-Francisco-California-United-States/USCA0987/forecast.html?unit=c | grep -A21 “Current” | sed “s/DEG/°/g” > $plik

I have no idea why, but it does work if you change the entire to like to something similar to that.

Good luck!

Avatar

Dan P

September 16th, 2009 at 1:41 pm

Hi

All looks great but a couple of questions:

i) Is there any way of using another weather provider? I live in Brighton, UK and sometimes the data is way out of date. The UK met office might be better.

ii) If I get an email with a long subject line it moves the whole shebang across the screen to fit it in. I got one from an online music store today which was about 20 words and it moved it pretty much to the centre of the screen.

Thanks

Dan

Avatar

links for 2009-09-28

September 29th, 2009 at 5:39 pm

[...] Quick Tweaks » Gmail+Weather+Beauty right on your Ubuntu desktop (tags: conky howto tutorial) [...]

Avatar

Johnny Royal

October 6th, 2009 at 4:57 pm

I did all the above. Then I walked through it several times. I just get a black background and white fonts that look nothing like the picture above with the nice transparencies and stylized fonts. Is this just a matter of tweaking it further or did I do something wrong?

Avatar

zomb

October 21st, 2009 at 1:11 pm

yeah,
gmail = user:pass = https://user:pass\@mail.google.com/mail/feed/atom

google apps gmail = user%40YOURDOMAIN:pass =
https://user%40YOURDOMAIN.COM:$pass\@mail.google.com/mail/feed/atom
;)

Avatar

Michael

October 22nd, 2009 at 9:18 pm

Hi there,

I love your Conky setup, but I’m have slight problems trying to get the text to wrap for the gmail script – for subject contents

http://img33.imageshack.us/img33/5344/screenshotmr.png
I would prefer it to cut off near where the Calendar ends

Does anyone else have this problem or a way to rectify it?

Thank You

Avatar

10 combinaciones de wallpapers + Conky | Linux Zone

November 13th, 2009 at 2:36 pm

[...] Tweaks: link. [...]

Avatar

Chris

November 13th, 2009 at 3:48 pm

I followed Daniel ^^ in changing to the correct URL for weather.

Now the “weather” file” gets the right conditions, such as:

Current conditions as of 2:53 pm CST
Fair

Feels Like:
69 °F
Barometer:
29.66 in and rising
Humidity:
53%
Visibility:
10 mi
Dewpoint:
51 °F
Wind:
S 23 mph
Sunrise:
6:58 am
Sunset:
5:17 pm

69°

HOWEVER,

Nothing shows up in Conky other than a sun and F/Barometer: F

Any ideas?

Avatar

Chris

November 13th, 2009 at 4:07 pm

Nevermind…I was able to modify the head/tail parts of the pgodynka.sh script to reflect the correct information.

If anyone in the U.S. needs help with this part, let me know.

Avatar

Chris

November 13th, 2009 at 4:42 pm

Nevermind,

I figured out the issue with my weather. I had to modify the pogodynka.sh script (with a little help from Google Translate) to get the parameters I wanted to see.

I had to do some head/tail commands from a terminal and found that the locations for some of the info had changed a little. Modifying the script to reflect these changes worked beautifully.

Thanks for the great blog!

Avatar

edegugli BLOG » Blog Archive » Combinando un fondo de escritorio y Conky

November 15th, 2009 at 12:06 pm

[...] mismos. Announcement Henrik B. Andersen Bruce ConkyAir Conkyglass Conkywide Deegan Ghost Tweaks [...]

Avatar

Mike

November 16th, 2009 at 9:02 pm

Chris, you think you can share what changes you made? I think I have the same problem. weather file has proper data, but only a cloud shows up with no numbers.

Avatar

Paul from Reiki Healing Light

November 16th, 2009 at 3:28 pm

Great blog!!! Very informative and inciteful. Excellent!!!

Avatar

John

November 18th, 2009 at 4:02 am

I have the same thing and this just started a couple of days ago. Would love to get an answer for this

Avatar

Chris

November 18th, 2009 at 10:34 pm

Mike,

I sent the author the changes, but below is a screenshot then the pogodynka.sh script I used and then the .conky file. I put some comments in the pogodynka.sh file to help understand what I've changed:

http://img7.imageshack.us/img7/7483/ubuntud.jpg

pogodynka.sh:

#!/bin/bash

# Katalog, w którym znajduje siê skrypt
sciezka=~/scripts

# Kod miasta

# There is no real reason for the next variable since I hardcoded the w3m line in the below part of the script. You can comment it out if you like.

kod=2369693

plik=~/weather
# sprawdzenie czy serwer jest dostêpny
#if [ `ping -c1 216.109.126.70 | grep from | wc -l` -eq 0 ]
# then
#echo "Serwis niedostêpny"
#else
# pobieranie informacji
# The below line is a straight capture from the http:// URL for the weather. Go to weather.yahoo.com

, enter your zipcode and then take the new URL it finds and replace it below
w3m -dump http://weather.yahoo.com/united-states/oklahoma/b…

| grep -A21 "Current" | sed 's/DEG/°/g' > $plik

# ustalenie warto¶ci zmiennych|
# I had to modify the head/tail commands for my weather output. This is easy, just open a terminal and then run the commands #below in the quotes but with "weather" in place of $plik. Play with the -n# parts until you find the output you want for each #variable
stan=`head -n3 $plik | tail -n2`
temp=`tail -n2 $plik | awk '{print $1}'`
tempo=`head -n7 $plik | tail -n1`
cisn=`head -n9 $plik | tail -n1`
wiatr=`head -n15 $plik | tail -n1`
wilg=`head -n10 $plik | tail -n1`
wsch=`head -n18 $plik | tail -n1`
zach=`head -n20 $plik | tail -n1`
if [ `cat "$sciezka"/pogodynka.sh | grep -x "# $stan" | wc -l` -eq 0 ]
then
stanpl=$stan
else
stanpl=`cat "$sciezka"/pogodynka.sh | grep -xA1 "# $stan" | tail -n1 | awk '{print $2,$3,$4,$5,$6,$7}'`
fi

# formatowanie informacji wyj¶ciowej
# dostêpne zmienne:
# $stan opis stanu po angielsku
# $stanpl opis stanu po polsku
# $temp temperatura powietrza
# $tempo temperatura odczuwalna
# $cisn ci¶nienie atmosferyczne
# $wiatr kierunek, si³a wiatru
# $wilg wilgotno¶æ powietrza
# $wsch godzina wschodu s³oñca
# $zach godzina zachodu s³oñca

#echo $stan
#echo
#echo $stanpl
# Here is the actual output of the script. I set mine to display Temp, Wind, and Humidity on a single line

echo $temp F // Wind: $wiatr // Humidity: $cisn
#echo Cisnienie $cisn hPa
#echo $wiatr
#echo Wilgotno¶æ: $wilg
#echo Wschód S³oñca: $wsch
#echo Zachód S³oñca: $zach
#echo $stanpl, $temp C

#fi

Avatar

Chris

November 18th, 2009 at 10:34 pm

2nd part:

Here's my .conkyrc script, modified so that it shows the output based on my screenshot (I moved portions of the script around, commented out stuff I didn't need, and modified the eth1 to reflect as eth0 for my NIC)

use_xft yes
xftfont verdana:size=8
alignment top_right
xftalpha 0.8
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
draw_shades no
draw_outline no
draw_borders no
stippled_borders 10
border_margin 4
border_width 1
default_shade_color grey
default_outline_color black
default_color BADCDD
use_spacer none
no_buffers yes
uppercase no
color1 F8DF58

TEXT

${font Radio Space:size=14}${time %A %d %Y}
${font Radio Space:size=55}${time %I:%M %p}
# ${color 6694B2}${font OpenLogos:size=45} u t
${color BADCDD}${font weather:size=82}${execi 600 ~/scripts/conditions.sh}${color}${font}${voffset -25} ${execi 1200 ~/scripts/pogodynka.sh}

#${font weather:size=28}x ${font}HDD ${execi 1 ~/scripts/hddmonit.sh}°C

${font PizzaDude Bullets:size=16}v${font} Up: ${upspeed eth0} Kb/s
${font PizzaDude Bullets:size=16}r${font} Down: ${downspeed eth0} Kb/s

${font PizzaDude Bullets:size=16}M${font} Upload: ${totalup eth0}
${font PizzaDude Bullets:size=16}S${font} Download: ${totaldown eth0}

${color ffffff}${font StyleBats:size=16}A${font} CPU0: ${cpu cpu0}% ${cpubar cpu0}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${cpubar cpu1}

${color F8DF58}${font StyleBats:size=16}8${font} Battery: ${battery_percent}% ${battery_bar}

${color F8DF58}${font FreeSans:size=16}@${font}${execpi 300 python ~/scripts/gmail_parser.py dittoisnot@gmail.com 7vailski 3}

${color C2E078}${font PizzaDude Bullets:size=16}J${font} Memory: $mem / $memmax

${font StyleBats:size=18}P${font} Uptime: ${uptime_short}

Avatar

chris

November 26th, 2009 at 3:47 pm

im having problems getting the icons to be displayed. i have a .fonts folder but i cant save or extract in it, and i cant figure out how to gian admin priv to get around it, any help would be gratefully appreciated.

Avatar

NeuR0t0x1n

December 6th, 2009 at 11:54 pm

nice theme but gmail isnt working.have the feedparser installed.and cant get the tux and ubuntu logo justt shows as u and t

Avatar

NeuR0t0X1n

December 6th, 2009 at 11:58 pm

nevermind sorry.forgot about the installing fonts part.works fine :P

Avatar

NeuR0t0X1n

December 7th, 2009 at 6:08 am

also whats the letter code for the freebsd demon?you know how in the conkyrc file its u t meaning ubuntu and tux

Avatar

ich

December 9th, 2009 at 11:07 pm

This doesnt work in kubuntu or i failed somewhere?

Avatar

izuan

December 17th, 2009 at 9:36 pm

This is really cool.. but does any one know what should I do to get the weather working.. I can see the cloud or sun but I cant see any temperature.. what I see is just C/ Barometer: C

Avatar

lee

December 20th, 2009 at 2:55 am

seems like some of the lines changed when you pull it down. Here's what I have to get it all working again:

# ustalenie warto¶ci zmiennych

stan=`head -n2 $plik | tail -n1` # Conditions

temp=`tail -n2 $plik | awk '{print $1}'` # Temperature

tempo=`head -n7 $plik | tail -n1` # Barometer

cisn=`head -n9 $plik | tail -n1` # Humidity

wiatr=`head -n15 $plik | tail -n1` # Wind

wilg=`head -n11 $plik | tail -n1` # Visibility

wsch=`head -n17 $plik | tail -n1` # Sunrise

zach=`head -n19 $plik | tail -n1` # Sunset

Avatar

drsilk

December 20th, 2009 at 4:10 pm

Here what i changed to get it all working again. It seems some of the lines shifted around so:
# ustalenie warto�ci zmiennych
stan=`head -n2 $plik | tail -n1`# Conditions
temp=`tail -n2 $plik | awk '{print $1}'`# Temperature
tempo=`head -n7 $plik | tail -n1`# Barometer
cisn=`head -n9 $plik | tail -n1`# Humidity
wiatr=`head -n15 $plik | tail -n1` # Wind
wilg=`head -n11 $plik | tail -n1`# Visibility
wsch=`head -n17 $plik | tail -n1` # Sunrise
zach=`head -n19 $plik | tail -n1`# Sunset

Avatar

vasiauvi

December 28th, 2009 at 1:55 pm

Hello,
very nice conky script, but the weather is not working for me.
I’ve put it all the scripts somewhere in the /home dir but I’ve modified the scripts.
I’m from Sibiu and the link on yahoo is http://weather.yahoo.com/romania/sibiu/sibiu-880241/ and is not working…
This is my pogodynka.sh:

#!/bin/bash

# Katalog, w którym znajduje siê skrypt
sciezka=/home/vasia/Downloads/Scripts/conkyscripts

# Kod miasta
kod=880241 #the code for Sibiu?!?!

plik=~/weather
# sprawdzenie czy serwer jest dostêpny
#if [ `ping -c1 216.109.126.70 | grep from | wc -l` -eq 0 ]
# then
#echo “Serwis niedostêpny”
#else
# pobieranie informacji
http://weather.yahoo.com/romania/sibiu/sibiu-880241/ | grep -A21 “Current” | sed ‘s/DEG/°/g’ > $plik

# ustalenie warto¶ci zmiennych
# ustalenie warto¶ci zmiennych

stan=`head -n2 $plik | tail -n1` # Conditions
temp=`tail -n2 $plik | awk ‘{print $1}’` # Temperature
tempo=`head -n7 $plik | tail -n1` # Barometer
cisn=`head -n9 $plik | tail -n1` # Humidity
wiatr=`head -n15 $plik | tail -n1` # Wind
wilg=`head -n11 $plik | tail -n1` # Visibility
wsch=`head -n17 $plik | tail -n1` # Sunrise
zach=`head -n19 $plik | tail -n1` # Sunsetstan=`head -n3 $plik | tail -n1`
temp=`tail -n1 $plik | awk ‘{print $1}’`
tempo=`head -n6 $plik | tail -n1`
cisn=`head -n8 $plik | tail -n1`
wiatr=`head -n16 $plik | tail -n1`
wilg=`head -n10 $plik | tail -n1`
wsch=`head -n18 $plik | tail -n1`
zach=`head -n20 $plik | tail -n1`
if [ `cat "$sciezka"/pogodynka.sh | grep -x "# $stan" | wc -l` -eq 0 ]
then
stanpl=$stan
else
stanpl=`cat “$sciezka”/pogodynka.sh | grep -xA1 “# $stan” | tail -n1 | awk ‘{print $2,$3,$4,$5,$6,$7}’`
fi

Thank you!

Avatar

Sharee

January 2nd, 2010 at 8:52 pm

Thanks, had the same problem and that fixed it. :)

Avatar

Sharee

January 2nd, 2010 at 11:53 pm

I could use some help. Nothing is showing in the weather area except "F/F"… I have copied the San Francisco URL from above, and translated the pgodynka.sh script from Polish…but I still don't understand!

Avatar

Rob

January 29th, 2010 at 2:08 am

@sharee seems like weather.com has since changed their url structure. I’m having trouble setting this up as well.

i’ve resorted to checking the ubuntu forums for answers. no easy fix so far though.

Avatar

Craig

February 2nd, 2010 at 5:02 am

Anyone find the conkyscripts.zip link is broken?

Avatar

neilus

February 3rd, 2010 at 1:33 pm

Hi, can you upload the script file again, the files arent available, thanks.

Avatar

rootconsole

February 7th, 2010 at 12:34 am

the downloads don't work for me, is there any alternative mirror?

Avatar

nk4

February 26th, 2010 at 4:38 am

super awesome. i love it.

managed to get everything going, minus my temp in celcius. well the temp is in F but i have a C displayed. i.e. it's 34 C in Montreal right now. if only!

tried the various suggestions around that on here but nothing panned out so far.

but i'm happy.

can anyone tell me how to configure the script to run on startup?

Avatar

Keith

February 27th, 2010 at 1:37 pm

Hmm. Just tried this out for first time in a while using changes from above comment from drsilk, but still no luck with the weather:

scripts/pogodynka.sh: 53: Conditions: not found
scripts/pogodynka.sh: 54: Temperature: not found
scripts/pogodynka.sh: 55: Barometer: not found
scripts/pogodynka.sh: 56: Humidity: not found
scripts/pogodynka.sh: 58: Visibility: not found
scripts/pogodynka.sh: 60: Sunset: not found

Everything else seems to work fine. Any suggestions?

Thanks!

Avatar

shane

March 11th, 2010 at 7:29 am

use ifconfig from command line to see which one you use (wlan0, eth0, eth1,…etc.) Then edit the .conkyrc file and replace eth1 as needed to get you up/downloads working.

Avatar

Arg

March 18th, 2010 at 8:50 pm

for those who have problems with unicode characters failing to be displayed in conky (chars like ěščřžřáíé etc).. replacing:

Avatar

Arg

March 18th, 2010 at 8:52 pm

for those that have problems with unicode character (ěščřžý etc),

replacing

print ' ${color2}%s' % atom.entries[i].title

with

print ' ${color2}%s' % atom.entries[i].title.encode('utf-8')

should do the trick. (gmail_parser.py that is)

Avatar

riijkart

March 30th, 2010 at 10:46 am

yo, how could it turned out to be like this?
[IMG]http://i43.tinypic.com/nxvq6h.png/IMG
see… battery 0% and the weather doesn't show…

Avatar

Gh0st

May 2nd, 2010 at 2:35 pm

For the Gmail script it works but it gives errors for some of us when handling Accented Characters so you need to convert them to avoid errors in printing.

I use a quick but efficient print variable.encode(“utf-8) (or you can try .encode(‘latin-1′) for ISO 8859-1 ) to receive both my english and french messages. It works fine now ;-)

Change made in check-gmail.py :
————————————————–
def readmail(feed, maxlen):
”’Parse the Atom feed and print a summary”’
atom = feedparser.parse(feed)
convert = ‘${color1} %s new email(s)\n’ % (len(atom.entries))
print convert.encode(‘utf-8′)
for i in range(min(len(atom.entries), maxlen)):
convert2 = ‘ ${color2}%s’ % atom.entries[i].title
print convert2.encode(‘utf-8′)
#uncomment the following lines if you want to show the name of the sender
convert3 = ‘ ${color1}%s’ % atom.entries[i].author
print convert3.encode(‘utf-8′)
—————————————————–

Avatar

vlady

May 9th, 2010 at 4:26 pm

Change in .conkyrc eth0 to wlan0

Avatar

stu

May 13th, 2010 at 3:23 am

Hi,

I've got most of this working however I've got problems with the HDD temp not showing and the window doesn't integrate fully with the desktop. I've tried the own_window = no fix. This does work but as soon as I reboot the window then doesn't display at all!

I've tried using both the shell script and startup applications options to get round this problem and neither seem to work.

Can anyone point me in the right direction.

Avatar

ryan

May 23rd, 2010 at 4:59 pm

weather isnt working…

Avatar

Mason

May 28th, 2010 at 8:52 pm

So my only problems with the script are the fact the weather only shows me the icon for current weather, the temperature doesn't display, instead looks like this "F/Barometer : F" also would like to know how to change the time to 12 hour time, instead of 24 hour.

Avatar

Nork

July 2nd, 2010 at 12:17 pm

hello my English is very bad .. hehe .. follow all your steps and everything was fine .. .. but I can not put the time in my city, I am from Venezuela .. only managed to place the cloud and I get the error f / barometer: F left a screenshot HERE: http://img808.imageshack.us/img808/3827/pantallaz…

Avatar

Aryaman Giri

August 23rd, 2010 at 6:33 am

Hey, I got everything working except the weather and gmail checker. I live in bangalore, India and according to weather.com my location id is INXX0012 (did not use yahoo weather because in the address bar it only displayed numbers and no letters and it didn't work either way). And for gmail checker i put in my username and tried both username@gmail.com password as well as username password. None seem to be working. Please Help ! :'(

Avatar

Adam

September 14th, 2010 at 3:18 pm

Has yahoo changed the way that they list locations? I'm not able to pull a location code

Avatar

LoKii

September 15th, 2010 at 1:22 pm

Thank you very much for the gmail part. I have been looking at so many different scripts and solutions, but your gmail script worked like a charm.

Cheers :)

Avatar

Colin

September 21st, 2010 at 11:51 pm

Open your .conkyrc via the terminal and make your changes on there.

$ gedit ~/.conkyrc

Avatar

Rigel

October 18th, 2010 at 7:19 pm

I have the same problem as @riijkart were the battery is constantly at 0 and the weather doesn’t show up, but it happens with anytheme. know a fix??

Avatar

alex

October 23rd, 2010 at 12:09 pm

Great work! It's really beautiful!

Avatar

Amby

October 31st, 2010 at 5:57 am

in the step 3: download the file and save in your home directory, when i open the link, it tells me

: Oopa 404. We can’t find the page you’re looking for. Check out our FAQ or forums for help. Or maybe you should try heading home

. pls what can i do about that?

Avatar

GJQ

November 19th, 2010 at 6:42 am

Hi,
I have follow according to your instruction but conky is not displaying everything.Conky only displays date,time,year, J 253 MiB / 747 MiB, P Work: 48min 54s. Rest of the information all do not have. Can please help to advise which part is wrong

Avatar

Akshay

November 21st, 2010 at 5:55 pm

Great stuff! Makes the whole desktop look so much more cooler.
Some gotchas:
- Make sure to rename conkyrc file to .conkyrc (DOTconkyrc). The file is downloaded as conkyrc.
- When you extract the scripts, these should get extracted directly under "scripts" directory for the default configurations to work. Nautilus "extract" script will extract the files into a new directory – conkyscripts.
- conky keeps looking for battery state in "/proc/acpi/battery/BAT0/state". For whatever reason, i do not have BAT0 directory – only BAT1. So, changed the Battery line as below… (see BAT1 variable being added)
${color 014A7F}${font StyleBats:size=16}8${font} Battery: ${battery_percent BAT1}% ${battery_bar BAT1}
- in .conkyrc, changed references from "eth0" to "wlan0" since i am on wireless. Perhaps, most laptop users will have this configuration issue
- When you add conky to session startup, it creates a thin border arround conky and also it stays on top of all other windows. The thin spoils the integrated look and feel with the rest of the desktop. A dirty hack is to create a script to start conky once, kill and restart it with about 20-30 seconds delay.

Avatar

45 fantásticas aplicações para o seu sistema GNU/Linux – I

November 29th, 2010 at 4:25 pm

[...] num centro de informações completíssimo. Deixo aqui, o meu Conky, que descaradamente copiei daqui (entretanto ainda não tive tempo de lhe adicionar outras variáveis). E é apenas um exemplo do [...]

Avatar

Vicky

December 3rd, 2010 at 8:06 am

Its not displaying the weather and HDD temp!! :'( I did exactly what the instructions said. Can someone help me out???

Avatar

Edd

December 10th, 2010 at 8:33 pm

This is a beautiful conky but there is too much wrong with it the first the email, weather and temp seems to not work at all no matter what i try and this is the second time i try to get this conky worked in 3 yrs. Put up some new file and something that does not get corrupted when you download it.

thaks

Avatar

andrew

December 23rd, 2010 at 11:14 am

hi, i have done everything as the steps but i cannot seem to get the weather icons or temperature to appear where ass all the other fonts are fine. and gmail does not appear to work either? any help?

Avatar

Olly

January 24th, 2011 at 4:23 am

seems the weather part is broken since yahoo changed their weather site. If you could foix it that would be great!

Avatar

rocky.colt.tumtum

February 8th, 2011 at 9:20 am

Have heard that using the RSS link to find the Weather ID in the URL has worked. But, it hasn't worked for me so far. :-

Avatar

Alex

February 10th, 2011 at 12:48 am

Did you figure out this problem? please let me know how to fix it. Thanks.

Avatar

steve

February 13th, 2011 at 5:38 pm

for those having problems with weather, gmail, hdd temp…make sure inside the scripts directory there is not an internal directory conky scripts..this was causing a problem for me..still cant get weather id to work so just deleted it from the script and am quite happy with the way it looks now…

Avatar

Joe

February 22nd, 2011 at 9:20 pm

For the 12/24 time issue, in your .conkyrc file, change {time %H:%M} to {time %I:%M %P}

I also have the problem with the weather – icon shows up (although it doesn't look like the right one?) and says "F/Current Heat Index F"

Anyone?

Avatar

Sam

March 12th, 2011 at 10:37 am

Conky: /home/sumit/.conkyrc: 1: no such configuration: 'use_xft'
Conky: /home/sumit/.conkyrc: 2: no such configuration: 'xftfont'
Conky: /home/sumit/.conkyrc: 3: no such configuration: 'alignment'
Conky: /home/sumit/.conkyrc: 4: no such configuration: 'xftalpha'
Conky: /home/sumit/.conkyrc: 5: no such configuration: 'own_window'
Conky: /home/sumit/.conkyrc: 6: no such configuration: 'own_window_type'
Conky: /home/sumit/.conkyrc: 7: no such configuration: 'own_window_transparent'
Conky: /home/sumit/.conkyrc: 8: no such configuration: 'own_window_hints'
Conky: /home/sumit/.conkyrc: 9: no such configuration: 'double_buffer'
Conky: /home/sumit/.conkyrc: 10: no such configuration: 'draw_shades'
Conky: /home/sumit/.conkyrc: 11: no such configuration: 'draw_outline'
Conky: /home/sumit/.conkyrc: 12: no such configuration: 'draw_borders'
Conky: /home/sumit/.conkyrc: 13: no such configuration: 'stippled_borders'
Conky: /home/sumit/.conkyrc: 14: no such configuration: 'border_margin'
Conky: /home/sumit/.conkyrc: 15: no such configuration: 'border_width'
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: unknown variable font
Conky: not implemented obj type 15
${font} u t
${font}${font} F / Current Heat Index F
${font}x ${font}HDD 58�C

${font}v${font} Up: 0B Kb/s
${font}r${font} Down: 0B Kb/s
${font}M${font} Upload: 10.9MiB
${font}S${font} Download: 147MiB
${font}A${font} CPU0: 5% __________
${font}A${font} CPU1: 6% #_________
${font}8${font} Battery: 39% ####______
${font}@${font} 0 new email(s)
${font}J${font} 659MiB / 2.82GiB
${font}P${font} Work: 2h 10m
${font}Saturday 12 2011
${font}22:05
Conky: not implemented obj type 15
${font} u t
${font}${font} F / Current Heat Index F
${font}x ${font}HDD 58�C

I got these. Nothing shows up on my desktop. HELP!!!

Avatar

rameez

March 25th, 2011 at 10:40 am

how do i fully remove my previous conky settings and install this one?

Avatar

alexander

April 25th, 2011 at 12:53 pm

The weather forecast and hdd temp do not work with my xfce4 on slackware 13.0. I've folowed the very instruction but with no seccess. What can I do?

Avatar

Gn0m3

May 10th, 2011 at 10:09 pm

I'm having problems with the weather and Gmail par too, is there an update for this conky config or is it dead?
Regards

Avatar

verc

May 11th, 2011 at 12:50 am

This worked. Thank you.

Avatar

verc

May 12th, 2011 at 3:04 pm

Someone with working weather PLEASE POST YOUR SCRIPT. I've tried editing the URL in the script and nothing changes. Just shows F/F

Avatar

ridar

May 15th, 2011 at 4:05 pm

if the ugly black window appears conky is not probably using .conkyrc

remember to put it in /home/name_of_your_user/

I am stuck with the weather, it shows "been F / Current heat index F"

anybody knows how to solve it?

Avatar

newwithconky

May 17th, 2011 at 12:43 am

i followed all the steps and all im getting is the default conky on my screen on the left i went through each step and its not working

Avatar

vince

May 26th, 2011 at 4:09 pm

Thanks dude. I have a question, can I use google instead of yahoo for the weather info?

Avatar

adoet_t

July 16th, 2011 at 1:17 am

Nice Conky.. thanks there. ~

Avatar

run

August 11th, 2011 at 9:30 am

hey guys. everything is working fine. but the weather doesn't show temperatur. it only says: Sunset C / Barometer C
who can help me out?

Avatar

run

August 11th, 2011 at 12:30 pm

hey guys. everything is working fine. but the weather doesn't show temperatur. it only says: Sunset C / Barometer C

Avatar

gravity

August 22nd, 2011 at 4:12 pm

I have the same problem. I followed the instructions and tried the fixes in the comments but nothing worked.

Avatar

arzki

September 13th, 2011 at 5:09 pm

Great tutorial.
Didn't manage to make the weather working…but I don't really need it…so I've commented out.

cheers

Avatar

Heiji Hattori

September 22nd, 2011 at 7:11 pm

Nice. . .thanks for tutorial. . .
My boring desktop look more cool

Avatar

soudevidro

September 26th, 2011 at 12:16 pm

Guys, for the weather to work you just need to put the Yahoo weather link in the script.

Ex. Yahoo link for Bucharest weather in Celsius is :
http://weather.yahoo.com/romania/bucuresti/buchar…

The line that gets the page in the script is :

w3m -dump http://weather.yahoo.com/forecast/"$kod&quot… | grep -A21 "Current" | sed 's/DEG/°/g' > $plik

So I just modified that line in the script like this :

w3m -dump http:/ /http://weather.yahoo.com/romania/bucuresti/bucharest-868274/?unit=c | grep -A21 "Current" | sed 's/DEG/°/g' > $plik

Hope this helps :)

Avatar

Joseph

October 5th, 2011 at 9:21 pm

Wow.. thanks man.. for the exciting tutorial.. :D

Avatar

Marco

October 10th, 2011 at 9:12 pm

make sure you have w3m installed. sudo apt-get install w3m

Avatar

Rik

November 16th, 2011 at 2:04 am

i folowed your directions to the letter and conky wont start…..this is my output

Conky: /home/rik/.conkyrc: 14: no such configuration: 'border_margin'
Conky: desktop window (300006e) is subwindow of root window (153)
Conky: window type – override
Conky: drawing to created window (0x4a00001)
Conky: drawing to double buffer
cat: /home/rik/weather: No such file or directory
Conky: can't open /sys/class/power_supply/BAT0/uevent: No such file or directory
Traceback (most recent call last):
File "/home/rik/scripts/gmail_parser.py", line 46, in <module>
f = auth() # Do auth and then get the feed
File "/home/rik/scripts/gmail_parser.py", line 29, in auth
f = opener.open(_URL)
File "/usr/lib/python2.7/urllib.py", line 205, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 449, in open_https
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 369, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 663, in http_error_301
return self.http_error_302(url, fp, errcode, errmsg, headers, data)
File "/usr/lib/python2.7/urllib.py", line 632, in http_error_302
data)
File "/usr/lib/python2.7/urllib.py", line 659, in redirect_internal
return self.open(newurl)
File "/usr/lib/python2.7/urllib.py", line 205, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 449, in open_https
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 369, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 694, in http_error_401
return getattr(self,name)(url, realm)
File "/usr/lib/python2.7/urllib.py", line 776, in retry_https_basic_auth
return self.open(newurl)
File "/usr/lib/python2.7/urllib.py", line 205, in open
return getattr(self, name)(url)
File "/usr/lib/python2.7/urllib.py", line 449, in open_https
return self.http_error(url, fp, errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 369, in http_error
result = method(url, fp, errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 681, in http_error_401
errcode, errmsg, headers)
File "/usr/lib/python2.7/urllib.py", line 379, in http_error_default
raise IOError, ('http error', errcode, errmsg, headers)
IOError: ('http error', 401, 'Unauthorized', <httplib.HTTPMessage instance at 0xb736c9cc>)
what did i do wrong?

Avatar

Rik

November 16th, 2011 at 3:17 pm

never mind i got it working, all except gmail and weather

Avatar

@hmv0000

November 25th, 2011 at 1:12 pm

Thank you! This was a big help!

Avatar

Jardi

January 16th, 2012 at 2:58 am

I got the weather part of the script working, but I had to modify the pogodynka.sh script. I changed the following lines:
-This one:
w3m -dump "$kod" | grep -A26 "Current" | sed 's/DEG/°/g' > $plik

and this others:
temp=`tail -n1 $plik | awk '{print $2}'`
tempo=`tail -n1 $plik | awk '{print $4}'`

If you change those lines, it should work ok. It would be nice if somebody can comment that script in English for I don't understand Polish, you can read the python code but with comments in English it would be easier.

Cheers!

Avatar

Tanga

January 22nd, 2012 at 10:02 am

It took me a while, but I finally got the battery indicator working.
First: apt-get installed acpi and acpi-tools.
Then change the battery line to:
Battery: ${execi 10 (acpi -b | awk)} ${battery_bar BAT1}

Your battery may be called something else, however. To find out run acpi -b in terminal, and it should tell you the number. If it's different to BAT1 then put that in instead.

Now to get the weather and gmail working. :(

Comment Form

Categories

Send Your Tips

If you have any Tips you like to share, send an email to tips@quicktweaks.com

Your Ad Here

Looking for a place to put your ad? You have come to the right place. We have this place empty just to hold your ads.

Tweaks by Dates

September 2008
M T W T F S S
« Aug   Oct »
1234567
891011121314
15161718192021
22232425262728
2930