Conky--Reverse downloadspeed graph direction

Forum rules
Before you post please read how to get help
Post Reply
User avatar
all41
Level 16
Level 16
Posts: 6249
Joined: Tue Dec 31, 2013 9:12 am
Location: Computer, Car, Cage

Conky--Reverse downloadspeed graph direction

Post by all41 »

Just a standard download speed graph in the form of:

Code: Select all

#Download speed graph ******************************************
${alignr}${downspeedgraph eth0 60,395}
${color2}Download               Total   ${totaldown eth0}${alignr}Rate   ${downspeedf eth0} KiB/s
I would like to reverse the motion so the most recent events appear on the left end of the graph and move
toward the right end---like an oscilloscope presentation.
Can this be done?
Linux Crux=Aut Viam Inveniam Aut Faciam+libera ab tyrannis
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky--Reverse downloadspeed graph direction

Post by Sector11 »

all41 wrote:I would like to reverse the motion so the most recent events appear on the left end of the graph and move
toward the right end---like an oscilloscope presentation.
Can this be done?
I don't know of a way to do it with native conky commands but it can be done with LUA scripts. Start here with wlourf's graph-widget. Pretty powerful script that.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
Flemur
Level 18
Level 18
Posts: 8479
Joined: Mon Aug 20, 2012 9:41 pm
Location: Potemkin Village

Re: Conky--Reverse downloadspeed graph direction

Post by Flemur »

A negative scale ... ?
Please edit your original post title to include [SOLVED] if/when it is solved!
Your data and OS are backed up....right?
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky--Reverse downloadspeed graph direction

Post by Sector11 »

Flemur wrote:A negative scale ... ?
Someone asked about that not to long ago ... I'm not sure ... check the links. Something in my head is going - yes, I've seen that too!

Here's a nice link for someone wanting to learn a little LUA for conky

HOW TO : using lua scripts in conky
Unfortunately the #! forum is locked down in read only mode now but it's still a GREAT resource.
Using: BunsenLabs based on Debian Stable.
Conky PitStop
User avatar
Sector11
Level 3
Level 3
Posts: 175
Joined: Mon Nov 22, 2010 10:33 am

Re: Conky--Reverse downloadspeed graph direction

Post by Sector11 »

Looking at the "graph-widget" I linked to earlier I see:
Another parameter is inverse, if set to true, the graph is drawn from right to left
So that answers that question. Yes, all41, it is possible. :)
Using: BunsenLabs based on Debian Stable.
Conky PitStop
Post Reply

Return to “Compiz, Conky, Docks, & Widgets”