Shop Forum More Submit  Join Login
Conky Google Now by satya164 Conky Google Now by satya164
Conky in Google Now Style, a part of the Numix Project.

The font used is "Open Sans Light"

The wallpaper used in the screenshot is from fav.me/d5ujtpj

It includes 3 styles, light, dark and transparent.

Installation Instructions


1. First install "conky" if you don't have it, also ensure that you have "curl" installed.

2. Extract contents of the archive into your home folder.

3. Open the file ".conkyrc" with a text editor, search for "2294941" and replace it with the WOEID of your own location. To find your WOEID, browse or search for your city from the Yahoo Weather home page . The WOEID is in the URL for the forecast page for that city.

4. Add "conky" to your Startup Applications.

5. Enjoy!

License: GPL-3.0+
Add a Comment:
 
:iconleluxefou:
leluxefou Featured By Owner Mar 26, 2018   Artist
pls remove or correct the "numix project" link it seems to be rubbish

else
have a nice day and fun
Reply
:iconmrjimmyboo:
mrjimmyboo Featured By Owner Jul 28, 2017
still not sure what i'm doing wrong:

jameshomepc:~$ conky
conky: Syntax error (/home/james/.conkyrc:3: unexpected symbol near '#') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (280000a) is subwindow of root window (1de)
conky: window type - normal
conky: drawing to created window (0x1e00001)
conky: drawing to double buffer
conky: one or more $endif's are missing
cp: target '/home/james/.cache/weather.png' is not a directory

I feel like i've tried all the differnt pastebins and still not working.  Any ideas?
Reply
:icontrytip:
trytip Featured By Owner Edited Aug 20, 2017
drive.google.com/file/d/0B8lWx…
download it extract it to .conky ... for icons you need to copy .conky-google-now folder to your HOME (show hidden files)
there are two files: sample_dublin_celsius_560743 and sample_portland_fahrenheit_2475687
::: to change cities go to www.yahoo.com/news/weather/ire… then click on Change location enter your city and get your number from the addressbar. (the digits at the end of the address is your woeid)
::: search the sample for either 560743 or 2475687 depending on what temperature you want and replace it with your woeid

ps: this conky ONLY has weather and the network i edited out from the original
Reply
:iconcapstan3:
capstan3 Featured By Owner Edited Sep 9, 2017
I'm getting this: conky
conky: Syntax error (/home/eric/.conkyrc:1: unexpected symbol near '�') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:150: [string "converted config"]:2: unexpected symbol near '�'

Any idea?
Reply
:icontrytip:
trytip Featured By Owner Sep 11, 2017
put the main folder Conky Google Now in .conky and copy icons folder .conky-google-now in $HOME
Reply
:icondubaibunniesuae:
DubaiBunniesUAE Featured By Owner Jun 5, 2017
Very  beautiful.
Reply
:iconsvenskadanska:
svenskadanska Featured By Owner Oct 13, 2016
Wow,I've never seen a conky design theme like this..Just keep up the good work satya164 
Reply
:icondavix3f:
davix3f Featured By Owner Aug 18, 2016
I got this errors

--2016-08-18 10:30:23--  weather.yahooapis.com/forecast…
Risoluzione di weather.yahooapis.com (weather.yahooapis.com)... 72.30.202.51
Connessione a weather.yahooapis.com (weather.yahooapis.com)|72.30.202.51|:80... connesso.
HTTP request sent, waiting for reply... 401 Unauthorized

Authentication username/password not resolved.
conky: Unable to load image '/home/davide/.cache/weather-1.png'
conky: Unable to load image '/home/davide/.cache/weather-1.png'
conky: Unable to load image '/home/davide/.cache/weather-1.png'
conky: Unable to load image '/home/davide/.cache/weather-1.png'
conky: Unable to load image '/home/davide/.cache/weather-1.png'


and then nothing is showed in the widget
Reply
:iconp181153:
p181153 Featured By Owner Edited Sep 12, 2016
same

edit: it's yahoo. Conky can't download the weather data. Yahoo return a OAUTH error when curl try to download data in weather.xml. I don't know how to fix it.
Reply
:iconmeskarune:
Meskarune Featured By Owner Oct 22, 2016  Hobbyist Traditional Artist
This is the error: Please provide valid credentials. OAuth oauth_problem="OST_OAUTH_PARAMETER_ABSENT_ERROR", realm="yahooapis.com"

you need a yahoo api key to use it now.
Reply
:iconiwazaru27:
Iwazaru27 Featured By Owner Aug 9, 2016
By far the best conky theme available!! Keep up the good work!!
Reply
:iconj-melkor:
J-Melkor Featured By Owner Jul 25, 2016
nice thx

also, found the wallpaper here:
www.flickr.com/photos/brentcou…
Reply
:iconmephisto786:
Mephisto786 Featured By Owner Jul 24, 2016
where can i find this wallpaper, link seems to be off
Reply
:iconmlbaggs:
mlbaggs Featured By Owner Jun 4, 2016
Hi all I have finally got it working on my conky desktop environment on a 40" 1920*1080 screen consists of 3 separate scripts
on Linux Mint 17.3
Reply
:iconsomethingappealing:
SomethingAppealing Featured By Owner May 29, 2016
does not show numbers properly, all icons are replaced with ${image}
on ubuntu 16.04 using the transparent .conkyrc

terminal gives:

conky: Syntax error (/home/user/.conkyrc:3: unexpected symbol near '#') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (220000a) is subwindow of root window (bf)
conky: window type - normal
conky: drawing to created window (0x4200002)
conky: drawing to double buffer
conky: Unknown setting 'f9f9f9'
conky: Unknown setting 'imlib_cache_size'
conky: unknown variable '$image'
conky: unknown variable '$image'
conky: unknown variable '$image'
conky: unknown variable '$image'
conky: unknown variable '$image'
conky: unknown variable '$image'
conky: unknown variable '$image'
conky: unknown variable '$image'
conky: one or more $endif's are missing
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
Reply
:iconkrimibro:
krimibro Featured By Owner May 17, 2016
not working properly.
cannot see anything in the conky window

terminal shows---->

conky: Syntax error (/home/user/.conkyrc:3: unexpected symbol near '#') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: desktop window (260000a) is subwindow of root window (96)
conky: window type - normal
conky: drawing to created window (0x3800001)
conky: drawing to double buffer
conky: one or more $endif's are missing
conky: Unable to load image '/home/user/.cache/weather.png'
conky: Unable to load image '/home/user/.cache/weather-1.png'
conky: Unable to load image '/home/user/.cache/weather-1.png'
conky: Unable to load image '/home/user/.cache/weather-1.png'
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
cp: cannot stat '/home/user/.conky-google-now/.png': No such file or directory
conky: Unable to load image '/home/user/.cache/weather-1.png'
conky: Unable to load image '/home/user/.cache/weather-1.png'
conky: Unable to load image '/home/user/.cache/weather-1.png'
conky: Unable to load image '/home/user/.cache/weather-1.png'
conky: Unable to load image '/home/user/.cache/weather-1.png'
conky: Unable to load image '/home/user/.cache/weather-1.png'
Reply
:iconninjabzh:
ninjaBZH Featured By Owner May 24, 2016
Reply
:iconhotwheels14901:
hotwheels14901 Featured By Owner Apr 22, 2016  Student General Artist
heres a version i modified that works and looks like the original (with pink color modifications and an override window with set coordinates instead of a standard window) gist.github.com/ask-compu/3844…
Reply
:iconjozmak:
jozmak Featured By Owner Apr 22, 2016

Works here. Could you help me modifying the code so that it can show Montreal, Canada in Celsius. Montreal Woeid:3534


Thanks a lot.

Reply
:iconhotwheels14901:
hotwheels14901 Featured By Owner Edited Apr 22, 2016  Student General Artist
wait i figured it out, use the url in this pastebin pastebin.com/GJYhcAmB it should give u ur weather from montreal in celsius and ur windspeed in km/h, i used pastebin cuz u need all the urlencoded characters that deviantart strips out
Reply
:iconjozmak:
jozmak Featured By Owner Apr 22, 2016

Thaaaaaanks a lot. The url works perfectly. It gives me all info in Celsius.

Reply
:iconhotwheels14901:
hotwheels14901 Featured By Owner Apr 23, 2016  Student General Artist
no problem ^_^
Reply
:iconhotwheels14901:
hotwheels14901 Featured By Owner Apr 22, 2016  Student General Artist
i cant help with showing in celsius, lazy yahoo devs only provide the new api in fahrenheit, but i can give u the url to use that will give u ur weather, query.yahooapis.com/v1/public/… should do it
Reply
:iconninjabzh:
ninjaBZH Featured By Owner Apr 18, 2016
To adapt your .conkyrc to the new Yahoo API, you only need to make 2 changes :

1°) At line 53 (the first line under the TEXT line), you need to replace "weather.yahooapis.com/forecast…" :

- First, go there : developer.yahoo.com/weather/
- Select xml, copy and paste this (with your woeid) : select * from weather.forecast where woeid ="616972"
- Or this, if you want Celsius and km/h : select * from weather.forecast where woeid ="616972" and u="c"
- Click on the test button, it generates and url, copy/paste it in your .conkyrc
Reply
:iconector62:
ector62 Featured By Owner Apr 23, 2016
@ninjaBHZ my conkyrc working !
thank you very much
best regards
Reply
:iconjozmak:
jozmak Featured By Owner Apr 20, 2016

Unclear instructions! Copy what? The code? Paste where? And where to enter Woeid?

Reply
:iconector62:
ector62 Featured By Owner Apr 26, 2016
jozmark this instruction
you go to:
developer.yahoo.com/weather/
Select xml,paste:
select * from weather.forecast where woeid ="you woeid" and u="c"

Click on the test button, it generates and url, copy/paste it in your .conkyrc
Reply
:iconninjabzh:
ninjaBZH Featured By Owner Apr 25, 2016
This one works for me: pastebin.com/1s5w7vzU
Reply
:iconninjabzh:
ninjaBZH Featured By Owner Apr 18, 2016
2°) There was a little bug with wind speeds in km/h (and prob with miles too):

Replace this line :
${image ~/.conky-google-now/wind.png -p 0,135 -s 15x15}${goto 35}${execi 300 grep "yweather:wind" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}

By this one :
${image ~/.conky-google-now/wind.png -p 0,135 -s 15x15}${goto 35}${execi 60 grep "yweather:wind" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | tail -n 1} km/h
Reply
:iconszekeres2016:
szekeres2016 Featured By Owner Apr 19, 2016
The xml file this method generates must be different from the original since the whole conky layout it messed up. Weather condition texts are under each other. Also the current weather icon is not showing and there are many calls for missing files at the terminal.
Reply
:iconninjabzh:
ninjaBZH Featured By Owner Edited Apr 19, 2016
Ok, I don't have layout issue you mentioned... But I tweaked the .conkyrc for my own needs months ago. That could explain that. But it shouldn't be hard to fix I think.

Concerning the current weather, you are right. I didn't notice it at first because it loaded the old "current weather" logo from the times this conky was still working... and it matched with my current weather. And I have one error about a .png file when I load the conky, so it should be it.

The xml doesn't seems to change a lot. AFAIK, the five day forecast with high/low temperature works, current wind and humidity too.

EDIT :

This command used to return the current weather code :  grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"
And this one, the weather code for one of the forecast days :  grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"
For instance, the first forecast day : grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"  | awk 'NR==1'

But now strangely both commands return the same data : first the current weather and then all the forecasts.
So you can replace the first command by  : grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"  | awk 'NR==1'
And change the first forecast to  : grep "yweather:forecast" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"  | awk 'NR==2'
And then just update the other awk 'NR==n+1').png

This seem to work on my box : pastebin.com/1s5w7vzU

 
Reply
:icontrytip:
trytip Featured By Owner Apr 19, 2016
thank you for trying to fix it, your pastebin works good for me too
Reply
:iconector62:
ector62 Featured By Owner Apr 16, 2016
thanks for the answer, what should I change for degrees celsius
Reply
:iconector62:
ector62 Featured By Owner Apr 14, 2016
my woeid is 20126734.
my conky not work,why?
pastebin.com/YZtvvHHu
where I find my WOEID, are bergamo italy
Reply
:iconjuanathan39:
juanathan39 Featured By Owner Apr 14, 2016
Your WOEID should be 710893 - woeid.rosselliot.co.nz/lookup/…

Try this - pastebin.com/5CrpSVmn
Reply
Add a Comment:
 
×




Details

Submitted on
April 19, 2013
File Size
116 KB
Link
Thumb

Stats

Views
188,021 (16 today)
Favourites
241 (who?)
Comments
293
Downloads
43,474 (4 today)