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

Linux

45479 readers
1392 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
 

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

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 9 months ago (1 children)

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.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago) (1 children)

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

[–] [email protected] 2 points 9 months ago* (last edited 9 months ago) (1 children)

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

[–] [email protected] 1 points 9 months 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