[SOLVED] How to view Download Speed and Upload Speed on Panel instead of conky?

Ganesh Venugopal@lemmy.ml to Linux@lemmy.ml – 35 points –

[SOLVED] This seemed to have not worked before but on a closer look xfce package xfce4-netload-plugin 1.4.0 works well. This was pre-installed into MX Linux and does the job. None of you seem to be using xfce, any reasons?


MX x86_64 Xfce 4.18 Xfwm4 with panel xfce4-panel & mx-conky

What I want file of the conky on pastebin or is what I am after, I don't have a plugin for xfce that works.

I have the config file for this particular file and I have uploaded it in pastebin, I can make it appear on panel if I get the command, but I don't know what command conky is using. I am pretty sure one can get that if they have access to this particular conky file. Unfortunately, I am not THE ONE.

Are you THE ONE? If you are, then help me please :')

13

There's a plugin for that: https://github.com/ccrisan/xfce4-netspeed-plugin

For a command, it's kind of complicated because you only have totals, there's no built-in instantanous network speed. The network speed in an single instant is always either zero or full bore: either data is being transmitted/received or it isn't. You need to average over time with multiple samples. So if you want bits per second, such a command would need to at least take a sample, wait a second, take another sample, substract the two, then return the result. Ideally you want to sample over a few seconds otherwise it'll still be pretty much all over the place. So the panel plugin is a better idea for that, as it'll do the math and averaging for you.

this doesn't work for me. There is no config file in the folder. But there are some configure.ac configure.ac.in when I try to run them I get this error

(base) bob@bob:~
$ sh '/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac' 
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 1: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 2: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 3: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 4: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 6: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 7: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 8: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 9: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 11: dnl: not found
/home/bob/Downloads/xfce4-netspeed-plugin-master/configure.ac: 12: Syntax error: word unexpected (expecting ")")

frankly this is not worth the time

eh ... that plugin is likely easiest to install via your distros package manager ... you dont have to compile it from source

edit: i was actually thinking about a different plugin: https://docs.xfce.org/panel-plugins/xfce4-netload-plugin/start

it's fine. it was actuall installed by default, I though it didn't work which is why I tried to hunt for other packages, but now since it does, no probs. Thank you for all your help

You need to compile it first. configure.ac is not a shell script.

What's your distro? What WM or DM?

sorry, forgot to mention

MX x86_64 Xfce 4.18 Xfwm4 with panel xfce4-panel and mx-conky

Perhaps this is what you're after?

https://www.xfce-look.org/p/998895/

that is exactly what I am after, but since I am using xfce and not kde I wasn't able to install it

Then use kde plasma. Problem solved!

Seriously though, I can't use KDE Plasma, just because I want a widget

Well you still can compile it yourself for your DE.

In theory at least

ig you can do that, but now I don't need to. Thank you for your help anyways