A picture is worth a thousand words, have a look for yourself.
So, how to get this goodness on your computer. Quite easy. Simply follow the following steps and you will have a similarly amazing desktop.
Everyone now head over to weather.com and register yourself. Obtain your XML Partner ID and License key. Use the following command to search for your location code. Change Zurich to your city name.
$ curl http://xoap.weather.com/search/search?where=Zurich
You can then get the location code from the output of the above command.
Next, copy the conkyForecast configuration file over to your home folder and fill in the Partner ID, Location Code and License Key.
cp /usr/share/conkyforecast/conkyForecast.config ~/.conkyForecast.config
vi ~/.conkyForecast.config
Download the conky configuration file from this link and save it to your home folder as .conkyrc.
Now download Conky Colors from gnome-look. Extract the archive and install all the fonts that are present in the package. Even though not all of the fonts are required for the setup (you can take a quick look at the conky configuration file to see which fonts are actually needed) the fonts are quite nice and having them on your computer won’t hurt at all.
Install conky if you have not already done so. IMP: This theme is tested with conky-1.8.0_rc2 so make sure you are using this or a newer release of conky. If you are on gnome please edit the configuration file to suit your needs (in particular change the location code to get the weather of the city you reside in) and then launch conky. If there are any particular hacks that are needed to integrate conky and gnome, my apologies for not being aware of them. Please feel free to add any such suggestions in the comments section, I will update the post with it.
KDE USERS:
If you are using KDE4, also install feh, an image loader which will help us to integrate conky seamlessly into the KDE environment. Now create this script, which we will use to launch conky.
$ nano conky.sh
#! /bin/bash
conky -&
sleep 3
feh --bg-scale `grep 'wallpaper=' ~/.kde4/share/config/plasma-desktop-appletsrc | tail --bytes=+11`
The above script is supposed to read your wallpaper settings and use that to redraw the background of conky. For some reason, it is not working for me so I hard-coded my wallpaper in to the script.
$ nano conky.sh
#! /bin/bash
conky &
sleep 3
feh --bg-scale /home/rahul/Pictures/Wallpapers/wall_abstract.jpg
Use whatever method suits you. Do remember to make the script executable.
chmod +x conky.sh
Take a final look at conkyrc. Make sure that you have the right location ID for the weather. Use KDE system settings to add this script at startup and voila! We are done. We now have the perfect conky setup. For immediate testing, launch the script.
REFERENCES:
- Conky Colors
- d2_racing at gentoo forums
- I got the idea of the original config from a post at Arch Forums. I can’t find the original post right now. Will update as soon as I do.
P.S. The music part will only work if you use MPD.
What theme is that, and I assume it is KDE4, right?
Theme is Bespin (Widgets and Icons). Plasma theme is Tibanna. And yes, it is KDE4. If you are interested, I could write up another post with all the configs for this theme. 🙂
Post the details to your theme, my nig.
As I said above, theme is bespin (widgets and icons) and plasma theme is Tibanna. If you are interested, I could write up another post with detailed instructions and configuration files to achieve the same look for your desktop.
Could you please? I would be very thankful if you could write instructions to make our desktops the same as yours.
Thanks in advance!
Will do so soon.
http://rahulthewall.wordpress.com/2010/05/11/the-perfect-kde4-setup
nice share brother…thanks a lot.. bookmark this page.. ^_^
Well… that’s amazing but honestly i have a hard time seeing it… wonder what others have to say..
Hey,
nice guide, but any clues why I am getting:
“Conky: MPD error: problems getting a response from “localhost” on port 6600 : Connection refused” ?!
Cheers
MPD should be running – if you do not have MPD running or do not use MPD comment out the music section of the conkyrc file. The provided config uses MPD to get the current playing track info.
Very nice wallpaper. Would you mind sharing it?
http://ubuntuevolution.files.wordpress.com/2010/01/wallpaper2560x1600.jpg
great! thank you very much!
i very adore all your posting choice, very useful,
don’t quit and also keep writing as it just good worth to look through it,
impatient to look into more and more of your own posts, thankx!
Thanks, I post as soon as I get time to write something worthwhile. 🙂
My name is Piter Jankovich. oOnly want to tell, that your blog is really cool
And want to ask you: is this blog your hobby?
P.S. Sorry for my bad english
Thanks :). And yes, this blog is a hobby for me.
I’ve used Mac for my system for years but the more they jail their new products the more disturbed I become. Have been following the Linux community for years as well as running Ubuntu in virtualisation for a hobby.
I love the infinite possibilities with Linux, and just took possession of my new laptop today which will be converted permanently to Linux tomorrow morning… no partition! Beginning a permanent transition!
Going for Ubuntu as a start as this is what I already know the best, will be back in the morning to proceed with this great starting point on a new journey 🙂
I’m completely new to using Kubuntu, so I’m having extreme difficulty running this. Is there a simple source code for the setup you have on the right with the calendar, music, weather, etc?
That is all from conky. Just follow the instructions on the post step by step, you will get there. If you do run into a problem, please post the step on which you got stuck, and I will help you. 🙂
All I get is the default ugly black box when I launch Conky, and it will hide itself when i click anywhere on the desktop. I want to be a Ubuntu user :/
This means that you have not configured conky. Read the post again – you have to download the conky configuration file from the link that I have provided (the file is hosted on gnome-look). Follow the guide (as mentioned in the post) on how to configure conky and you should be good to go.
Man, did you get it to work?
I love your conky setup but also you theme and icons theme…can u telm what icons are u using and which theme???
thank u
Hey, I will post a complete guide to my complete KDE setup soon. Just stay tuned. 🙂
Posted the theme as I promised: http://rahulthewall.wordpress.com/2010/05/11/the-perfect-kde4-setup
Hey Rahul,
Nice setup. I had one question. If you have a setup with a wallpaper switcher, which changes your desktop wallpaper every so often, then when it does change the wallpaper does the background behind the conky window also change instantaneously?
The reason I am asking is that I use Desktop Drapes to change my wallpaper and when it does so conky takes some time before it realises that the wallpaper has changed and then it redraws its background to match the wallpaper.
Do you know anyway if this can be done instantaneously?
Thanks
SG.
The only way I can see this being done is that you script the entire process. As soon as the wallpaper changes – reload conky. Other than that, I do not know of any other way to achieve what you want.
Hi Guys,
Anybody know how to escape the “$” in conky (in case you want to print the $ sign)?
I got another question:
Is it possible to run more than one conky config file using only one instance of conky? I have tried to search for the answer but I have not seen it done anywhere. All the places I have looked seem to require one conky instance for each conky config file. Am I missing something?
Thanks,
SG
I don’t think this is possible at all.
yes it is possible!
for the second instance you have to name the configuration file, for example:
conky –config /usr/scripts/weather.conf –daemonize –quiet;
Got 3 Questions,
1) Whats the piece of code so i can enable Rhtymbox to work instead of MPD
2) The mnt/XP don’t work, i got Windows 7 and have tried to get it to display that, but with no luck.
3) Can i get it to show HDD/CPU/GPU/System temperatures?
Thank you.
1) http://ubuntuforums.org/showthread.php?p=5843297
2) Is your Windows Partition automounted by your distribution. Maybe it is mounted at another directory – otherwise add a line like this to your fstab.
/dev/sda1 /mnt/XP ntfs-3g defaults 0 0
3) Look here: http://conky.sourceforge.net/variables.html . There are various ways to get the temperature.
P.S. I have moved the blog to http://blog.segfault.co.in . Can everyone please comment there in the future. Thanks. 🙂
I got it working with rhythmbox 🙂
Take your “snapshots” f’ing adware and stick it up your *** To view a screenshot even I’m getting these irritating popups. Doesn’t matter how fantastic your post is, with this software running.
Massive THUMBS DOWN for you in Stumbleupon…..
A good combination of Conky and wallpapers…
Thanks for the instructions. I have run into a problem where sometimes opening a file on the desktop with “right-click->open with” will make conky disappear. I do not know if it makes a difference on not but I am using “folder view” activity for my desktop.
Anyone else experiencing this?
How do I get ConkyForecast if I don’t have my own website or company? These are some of the required fields for the weather.com xml sign-up.
Just fill in some random stuff in those fields.
This was great! Thanks for the writeup. I had just gotten conky and this was a great setup to get it looking and displaying nice. I do have one question:
For this line:
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root:
Instead of getting a pie chart I just get a number “7”. I’m on Ubuntu (Unity). Is there a font set I need to install to get right symbol?
Also I changed the “own_window_type overide” to “own_window_type normal” so that the conky window wouldn’t always be ontop of regular apps and go to the background.
Great setup and outline on how to get working!
Aha…figured that out too.. Found the font for pie chart and the pizza dude one, installed and now those are working 😀
Only thing not working the the acpitemp command. Found a bug report for this and a reference to using: /sys/class/thermal/thermal_zone0/temp but haven’t figured out how to implement this.
Howdy! I simply would like to give you a big thumbs up for the excellent information you’ve got here on this post. I’ll be returning to your site for more soon.
thank you very much
I am trying to install conky with weather applet, but I don’t manage to get the Weather.com ID’s (XOAP_PARTNER_ID, XOAP_LICENCE_KEY). Is there something I should know?
I got them from the url and it kind of works, but I would like to make conky widget a lot smaller. Does any of you know how to do that? Thanks!
Useful information. Lucky me I discovered your website by accident, and I’m surprised why this coincidence did not came about in advance! I bookmarked it.
An “image not found” is also worth a thousand words.
Finally fixed that. 🙂