Conky--Reverse downloadspeed graph direction

Add functionality to your desktop
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
User avatar
all41
Level 19
Level 19
Posts: 9523
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?
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Everything in life was difficult before it became easy.
Sector11

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.
User avatar
Flemur
Level 20
Level 20
Posts: 10096
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?
Sector11

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.
Sector11

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. :)
Locked

Return to “Compiz, Conky, Docks & Widgets”