Description: First install the font neuropolitical !!!
conkyrc: change the line: ${font caviar dreams:size=12}${color FFFFFF}${alignr}${weather http://weather.noaa.gov/pub/data/observations/metar/stations/ LQBK LQBK my city, find the code for your city: http://weather.noaa.gov
clock_rings.lua copy to: /home/username/.lua/scripts
For the weathet temperature you can you this line and replace the city: ${font Neuropolitical:size=13}${color 324051}${alignr}temp: ${execi 3600 curl wttr.in/Montreal?format='%t\n'} ${font}
When I first installed this, I ran into a little bug where the network ring was overflowing and running into the text.
Decided to share the fix with everyone.
Replace:
Quote:
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
With:
Quote:
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
pct=value/pt['max']
-- Maximum should only be 1.000 (100%)
if (pct > 1) then
pct = 1
end
draw_ring(cr,pct,pt)
end
This makes sure that the rings always stay within the 100% boundary.
Many Thanks despot!!! Great work.
I make some revisions and added icon for RHEL6/Scientific-Linux6/CentOS6/PRIUS6.
Removed swap and disk usage meters. Added top 5 processes by CPU and top 5 by MEM usage.
Some colour modifications. Couldn't get the weather part working, so I commented it out.
I'll try to fix that sometime.
Here's the link to the file:
http://gnome-look.org/content/show.php?content=149305
Best regards
Hey there,
Thanks for this cool conky!
I just have a small question. conky-all works on ubuntu, however i'm using fedora. My problem is with the weather tag. I though it comes straigh with conky but I see ${weather} instead of the real temperature. Which is the .rpm for this "script"?
Thanks again and gl!
This is very sweet! thank you! <3
Nice work!
works great!
How can I change Celsius to Fahrenheit?
usually I can figure it out, not this time tho. lol
Many thanks!
thanks for this, my desktop looks really sweet now. Im allowed to upload my customization of this? I edited all the configs for dual core and wlan. Then made launchers to start each color and one to stop it. No terminal needed.
Im having issues installing this.
Im using Ubuntu 10.10.
I installed conky: "sudo apt-get install conky"
Made the .lua directory: "mkdir ~/.lua
Made the conky directory: mkdir ~/.conky
Made the font directory: mkdir /.fonts
Copyed the rings file into .lua: cp clock_rings.lua ~/.lua
Copyed the conky file to the conky folder: cp conkyrc ~/.conky
Copyed the image file to the conky folder: cp logo.png ~/.conkyrc
And finally I start conky: concky
And I get the standard conky display and not the custom one?
First install the font neuropolitical !!!
Open the terminal, type this command: " sudo apt-get install conky-all" (necessarily conky-all)
Create a folder called ".conky" in your home directory and copy the logo.png image to this folder
In your home directory create a folder called ".lua" and inside this folder, create a new folder called "scripts". Here, copy the "clock_rings.lua" file (necessarily "scripts")
Copy the "conkyrc" file in your home directory and rename it to ".conkyrc"
To set the weather for your city, go to http://weather.noaa.gov and search for your city. The URL will then look like this (this is for my country / city): http://weather.noaa.gov/weather/current/LQBK.html - copy the code at the end (LQBK in my case) and in the ~/.conkyrc file, replace "LQBK" with your code
Ratings & Comments
19 Comments
10 10 the best, Nice conky! I just had to find a new weather website since its has been a long time the address doesn't work anymore
For the weathet temperature you can you this line and replace the city: ${font Neuropolitical:size=13}${color 324051}${alignr}temp: ${execi 3600 curl wttr.in/Montreal?format='%t\n'} ${font}
When I first installed this, I ran into a little bug where the network ring was overflowing and running into the text. Decided to share the fix with everyone. Replace: Quote:
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
pct=value/pt['max']
draw_ring(cr,pct,pt)
end
With:
Quote:
local function setup_rings(cr,pt)
local str=''
local value=0
str=string.format('${%s %s}',pt['name'],pt['arg'])
str=conky_parse(str)
value=tonumber(str)
pct=value/pt['max']
-- Maximum should only be 1.000 (100%)
if (pct > 1) then
pct = 1
end
draw_ring(cr,pct,pt)
end
This makes sure that the rings always stay within the 100% boundary.
thank you :)
Many Thanks despot!!! Great work. I make some revisions and added icon for RHEL6/Scientific-Linux6/CentOS6/PRIUS6. Removed swap and disk usage meters. Added top 5 processes by CPU and top 5 by MEM usage. Some colour modifications. Couldn't get the weather part working, so I commented it out. I'll try to fix that sometime. Here's the link to the file: http://gnome-look.org/content/show.php?content=149305 Best regards
Like ... I will soon set a new conky ...
Hey there, Thanks for this cool conky! I just have a small question. conky-all works on ubuntu, however i'm using fedora. My problem is with the weather tag. I though it comes straigh with conky but I see ${weather} instead of the real temperature. Which is the .rpm for this "script"? Thanks again and gl!
Please add Frugalware logo: http://ftp.frugalware.org/pub/other/people/devil505/artwork/logo/ Thanks
OK, later...now I am busy...
It's perfect in my Squeeze,thank's!!!! :D
Lepo je druze, samo cepaj!!!
Hvala... To mi je ubijanje dosade... :)
I love it, great job !!
This is very sweet! thank you! <3 Nice work! works great! How can I change Celsius to Fahrenheit? usually I can figure it out, not this time tho. lol Many thanks!
Nevermind, got it! silly me. lol Thanks <3 :D
thanks for this, my desktop looks really sweet now. Im allowed to upload my customization of this? I edited all the configs for dual core and wlan. Then made launchers to start each color and one to stop it. No terminal needed.
Do you think I could get the dual core to? I would appreciate it! :) <3
Im having issues installing this. Im using Ubuntu 10.10. I installed conky: "sudo apt-get install conky" Made the .lua directory: "mkdir ~/.lua Made the conky directory: mkdir ~/.conky Made the font directory: mkdir /.fonts Copyed the rings file into .lua: cp clock_rings.lua ~/.lua Copyed the conky file to the conky folder: cp conkyrc ~/.conky Copyed the image file to the conky folder: cp logo.png ~/.conkyrc And finally I start conky: concky And I get the standard conky display and not the custom one?
First install the font neuropolitical !!! Open the terminal, type this command: " sudo apt-get install conky-all" (necessarily conky-all) Create a folder called ".conky" in your home directory and copy the logo.png image to this folder In your home directory create a folder called ".lua" and inside this folder, create a new folder called "scripts". Here, copy the "clock_rings.lua" file (necessarily "scripts") Copy the "conkyrc" file in your home directory and rename it to ".conkyrc" To set the weather for your city, go to http://weather.noaa.gov and search for your city. The URL will then look like this (this is for my country / city): http://weather.noaa.gov/weather/current/LQBK.html - copy the code at the end (LQBK in my case) and in the ~/.conkyrc file, replace "LQBK" with your code