Conky lua 2011 next generation

Conky

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on opencode.net

5
Score 77.7%
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

logo.png copy to: /home/username/.conky

more:
http://gnome-look.org/content/show.php/Conky+lua?content=139024

ColtonB

7 years ago

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.

Report

C

despot77

7 years ago

thank you :)

Report

Linuxlife4me

7 years ago

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

Report

C

despot77

7 years ago

Like ...

I will soon set a new conky ...

Report

451farenheit

7 years ago

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!

Report

Devil505

8 years ago

Please add Frugalware logo:
http://ftp.frugalware.org/pub/other/people/devil505/artwork/logo/

Thanks

Report

C

despot77

8 years ago

OK, later...now I am busy...

Report

sandrosfc

8 years ago

It's perfect in my Squeeze,thank's!!!! :D

Report

AleAngel

8 years ago

Lepo je druze, samo cepaj!!!

Report

C

despot77

8 years ago

Hvala...
To mi je ubijanje dosade... :)

Report

rsavo

8 years ago

I love it, great job !!

Report

Ahmose

8 years ago

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!

Report

Ahmose

8 years ago

Nevermind, got it!
silly me. lol
Thanks <3 :D

Report

frankjoe

8 years ago

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.

Report

Ahmose

8 years ago

Do you think I could get the dual core to? I would appreciate it! :) <3

Report

Dart00

8 years ago

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?

Report

C

despot77

8 years ago

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

Report

12345678910
9
product-maker ColtonB Jun 20 2012 9 excellent
product-maker 451farenheit Feb 09 2012 9 excellent
product-maker etiennealaurent Sep 16 2011 9 excellent
product-maker lunatico Jun 22 2011 9 excellent
product-maker sandrosfc May 24 2011 9 excellent
product-maker rsavo May 19 2011 9 excellent
product-maker cetverooki May 08 2011 9 excellent
product-maker Ahmose May 05 2011 9 excellent
product-maker zookalicious May 04 2011 9 excellent
product-maker Base: 4 x 5.0 Ratings
etiennealaurent
Sep 16 2011
lunatico
Jun 22 2011
sandrosfc
May 24 2011
rsavo
May 19 2011
acinic
May 03 2011
File (click to download) Version Description Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
0 Affiliates
Details
license
version
updated May 03 2011
added May 03 2011
downloads 24h
0
page views 24h 6