Daily Deviation
londonali1010's avatar

'Rings' Meters for Conky

690 67 140K (1 Today)
By londonali1010   |   
Published:
This is a Lua script written with Cairo bindings to display ring meters, just like the CircleMeter adesklet by kurcze. You can customise the size, thickness, placement, colour and transparency of the rings, as well as max value and start and end angles. The meter will work for any combination of "name" and "argument" for which Conky will return a value for ${name argument}. Some examples are ${mem_perc }, ${cpu cpu0}, ${time %H.%M.%S}, etc.

Instructions for customising the rings, and for how to call the script in Conky, are in the script itself.

This package contains a screenie for reference, [link] script, and the widget code block, for use with my Conky Widgets script.

Please note that Cairo bindings for Lua are only available in Conky 1.7.2+.

If you use this script, please leave me a note saying how you've used it!

Changelog:
+ v1.2 -- Added option for the ending angle of the rings (07.10.2009)
+ v1.1 -- Added options for the starting angle of the rings, and added the "max" variable, to allow for variables that output a numerical value rather than a percentage (29.09.2009)
+ v1.0 -- Original release (28.09.2009)
Comments67
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In
MagicPhenon's avatar
Thankyou! It is very beautiful an 'zen'.

You uploaded a *.gz file, but it is tar.gz and some newbies don't know why they can't see the right files.
TRock065's avatar
I think there is something wrong with the download. When I extract the GZ zip there is only a .tar file which I can't extract
sasha1594's avatar
sasha1594Hobbyist Traditional Artist
Thank you, very much.
TheOneWithRussia's avatar
The thing for the initiated (hope I've used the word correctly) ones.
Wery beautiful, though!
sasha1594's avatar
sasha1594Hobbyist Traditional Artist
Please provide a link for the wallpaper too, Thankyou...
Mic831's avatar
Mic831Hobbyist Interface Designer
You can download it here  openwalls.com/image/13885/pape…
Tassos10's avatar
how to install?
RapidSnake's avatar
RapidSnakeStudent Interface Designer
Thx!
xalikemalx28's avatar
thank you not download link
amalius17's avatar
sorry, but haven't you made a mistake in memperc? Max value, according to how the angles are set, should be 409 not 100 ....
mrmrwat's avatar
Hi londonali1010,

I really like your rings script, and it seems that everyone using Conky has used it at some point in their configs.
I liked it so much I modified it to add colour changing support for my desktop clock.

Here's the screenshot:
[link]

and here's the script and config:
[link]
[link]

Hope you like it!

mrmrwat
mrmrwat's avatar
Just created a deviation for this so here's the page:
[link]
Co0866's avatar
We're starving of some information here.
th3pr0ph3t's avatar
th3pr0ph3tHobbyist Artist
If you, ~londonali1010, use this script. Let me know how to use it.
Dablim's avatar
Dablim Digital Artist
F#king great.
Gamamoto's avatar
GamamotoHobbyist Artist
Dead link :(
nemacx's avatar
How do I install this ? I don't get it, won't work on Lubuntu 12.04 LXDE
tmos2's avatar
Very nice, but it seems prety complicated to understand at the first look... :-)
mjmeyer23's avatar
Thanks for this! I used your lua rings example in a small tool for Jboss that helps developers know when a certain kind of memory usage is going critical. Available on github.
[link]
mjmeyer23's avatar
oops...didnt mean to submit just yet....
The github project I mentioned is here: [link]
cRaZy-bisCuiT's avatar
Hi,

could you be so kind and let me know how to use your script? I've put the files ring_wb.txt and rings-v1.2.lua in my home folder (/home/zeitlos./scripts/) and added

# -- Lua Load -- #
lua_load /home/zeitlos/.scripts/<rings-v1.2.1.lua
lua_draw_hook_pre conky_ring_stats

...to my conky.rc-file. But what else do I have to put in my conky.rc file to get conky work and look like in the screen?

Thanks for your help!
anonymous's avatar
Join the community to add your comment. Already a deviant? Log In