35
submitted 1 year ago* (last edited 1 year ago) by Subject6051@lemmy.ml to c/linux@lemmy.ml

[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 :')

all 14 comments
sorted by: hot top controversial new old
[-] Max_P@lemmy.max-p.me 7 points 1 year ago

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.

[-] Subject6051@lemmy.ml 1 points 1 year ago* (last edited 1 year ago)

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

[-] igorlogius@lemmy.world 2 points 1 year ago* (last edited 1 year ago)

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

[-] Subject6051@lemmy.ml 1 points 1 year ago

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

[-] Synthead@lemmy.world 1 points 1 year ago* (last edited 1 year ago)

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

[-] Synthead@lemmy.world 2 points 1 year ago

What's your distro? What WM or DM?

[-] Subject6051@lemmy.ml 4 points 1 year ago* (last edited 1 year ago)

sorry, forgot to mention

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

[-] Synthead@lemmy.world 3 points 1 year ago
[-] Subject6051@lemmy.ml 1 points 1 year ago

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

[-] Johanno@feddit.de -4 points 1 year ago

Then use kde plasma. Problem solved!

[-] Subject6051@lemmy.ml 6 points 1 year ago

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

[-] Johanno@feddit.de 1 points 1 year ago

Well you still can compile it yourself for your DE.

In theory at least

[-] Subject6051@lemmy.ml 1 points 1 year ago

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

this post was submitted on 18 Sep 2023
35 points (100.0% liked)

Linux

48210 readers
717 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS