netspeed-plasmoid

Plasma 4 Widgets

Source (link to git-repo or to original if based on someone elses unmodified work): Add the source-code for this project on git.opendesktop.org

5
Score 69%
Description:

Simple plasmoid to show the current speed of a network interface, and to show the overall statistics

Last changelog:

7 years ago

- Compact mode: display only the value, and change the color of the text according to the current unit
- In settings page fully use the form -> better UI experience
- Bugfix: in 'combine mode', only the download speed was displayed, but it was doubled
- Binary builds on OBS :)

Contrast

7 years ago

Any plasmoid that has the kind of flexibility seen in those 3 screenshots gets an up-vote from me, even if it's something I'd probably never have much use for. Nice work!

Report

Grindcore

7 years ago

Really a nice plasmoid! I've been looking for something like this quite a while.

Report

brucew

7 years ago

Here is the error. Please advise.

-->I added the line suggested below first:

[code]The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: /usr/bin/gcc
Check for working C compiler: /usr/bin/gcc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/brucew/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:3 (find_package)


CMake Warning (dev) in CMakeLists.txt:
No cmake_minimum_required command is present. A line of code such as

cmake_minimum_required(VERSION 2.8)

should be added at the top of the file. The version specified may be lower
if you wish to support older CMake versions for this project. For more
information run "cmake --help-policy CMP0000".
This warning is for project developers. Use -Wno-dev to suppress it.

Configuring incomplete, errors occurred! [/code]

-->Then run Cmake again, and get this error:

[code]The C compiler identification is GNU
The CXX compiler identification is GNU
Check for working C compiler: /usr/bin/gcc
Check for working C compiler: /usr/bin/gcc -- works
Detecting C compiler ABI info
Detecting C compiler ABI info - done
Check for working CXX compiler: /usr/bin/c++
Check for working CXX compiler: /usr/bin/c++ -- works
Detecting CXX compiler ABI info
Detecting CXX compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindKDE4.cmake:98 (MESSAGE):
ERROR: cmake/modules/FindKDE4Internal.cmake not found in
/home/brucew/.kde/share/apps;/usr/share/kubuntu-default-settings/kde4-profile/default/share/apps;/usr/share/kde4/apps
Call Stack (most recent call first):
CMakeLists.txt:4 (find_package)


Configuring incomplete, errors occurred![/code]

Please advise.

Report

C

spinter

7 years ago

It seems, you have not installed a/some dev package(s). What kind of distribution are you using? Currently I try to create binary packages for many distros, with the help of OBS.

Report

C

spinter

7 years ago

The bug about the empty interfaces list should be fixed now in 0.1.1.
Unfortunately I could update only now the forms on kde-apps.org, sorry for the delay, and I hope the quick bugfix will solve the mentioned issue

Report

mreloads

7 years ago

I also had no network interfaces initially, yet after restarting Plasma they appeared. Works very well, thank you!

Report

tetris4

7 years ago

Yup, same here, to make it work > add the widget, then reboot your pc.

Some feedback/Small request: When the widget is placed on the panel the letters are extremely small and unreadable. Can this be fixed?

I was looking for a plasmoid like this one for some time now so thank you for making it!

Report

C

spinter

7 years ago

The applet automatically changes the size of the font, based on the available width/height. It reserves some space, to allow longer numbers/units to fit into it's box, without moving these items, if it becomes longer/shorter. For example 'B/s' needs much less space than 'KiB/s', also for number units, there is enough space for displaying the '1888.0' number. In this way, the decimal fraction stays at the same position, and it does not look as an always dancing part, what was looking very bad.... at least, if it works correctly:)
The only thing what I can do, is to allow to remove the signs from the beginning (the up+down arrows). In this case, there would be a little bit more space. Would that be OK?

Report

tetris4

7 years ago

Hello and thank you for the response..
Maybe if you allow to remove the "B/s" too?

As you can see here: http://dl.dropbox.com/u/1976316/netspeed.png
it's really difficult to read what netspeed shows.

Report

C

spinter

7 years ago

OK, I can add a 'show only numbers' switch, I can agree with that.
Thanks for the idea

Report

tetris4

7 years ago

I think you missunderstood in both cases. Am talking about an option to enable this, not force it to all users :) Let me explain better:

- A user has a 6Mbps connection, so he knows that his speed will never show above 600KBps, so he forces to always show in KB. This way he knows when its showing 80 it's not B but KB. This can also help when someone wants to keep a monochrome theme, and can't tell much difference between grey colours.

- On the 73.7 issue, on a vertical panel, 1200.0 takes more space than 1200, so if you disable the .0, fonts will probably show bigger.

Both are requested options that I believe will enhance netspeed-plasmoid's experience, if you don't like them it's ok. :)

Report

C

spinter

7 years ago

Thanks for the binary pkg!
Of course, it is added to this page :)

Report

tetris4

7 years ago

Well thank you for taking it into consideration then =)

btw, we just added netspeed to Chakra's repos, if you want to link to the packages: http://www.chakra-project.org/packages/index.php?act=search&subdir=&sortby=date&order=descending&searchpattern=netspeed

Report

C

spinter

7 years ago

Well, I'm worrying about (atleast) one thing: the settings page already contains almost 10 fields. Because of asynchronous networks, there should be at least 3 more fields for these features.... which means, 12 fields only for this simple applet? I think even the current situation is little bit toooo much.
And I was not talking about to change the font for example, what is another important feature I think, and that would be again another field...
Lets say, if many people asks this feature, I will implement it for sure. But I won't forget it :)

Report

tetris4

7 years ago

I hope am not beeing demanding, but another addition that could save space is dropping *.0, in order to show 73 instead of 73.7

look forward to seeing these on v0.3 =)

Report

C

spinter

7 years ago

With this feature, in case of 73.7, it should display 74, not 73.
I think it matters, whether the network speed is only 22.5 Mb only, and not 23.4Mb. If you can see only 23, you don't know, what is the current state.
In other words, I think, if a person wants to see the exact network speed in numbers, she/he wants to see as accurate numbers as possible. I think this meets this requirements

Report

tetris4

7 years ago

just upgraded to 0.2 and enabled the new feature, much better now on the vertical panel!

I really like the colour info too, in addition you could insert an option to force the units, eg: always show in KB.

Thnx again!

Report

C

spinter

7 years ago

I don't think this is a good idea, because this would require more space. First of all, letter '2' needs little bit more space than letter '1'. Also there would be a need to reserve a space for one more number, as there are 100mb network cards already on the market... which means, it is possible to get 100 mb download speed... what is ~12000 KiB. And as I know, there are Gigabit cards already on the market... I know, it is really rare to get these download speeds, but the applet should be prepared for it.
And why is it needed to reserve space for the possible longest number+unit? Otherwise it would look stupid, it would jump left/right.

Report

tetris4

7 years ago

just to add that the bug above was referring to a vertical panel.

Report

vaxxipooh

7 years ago

NOPE :-( No network interfaces at all .. not even after an reboot either - this dont work i am afraid - I run KDE 4.6.1 Linux Mint 10

Sorry

Report

marcotangaro

7 years ago

me too, no interfaces.
I'm using WICD.

Report

vaxxipooh

7 years ago

Wéll i managed to install it and now it shows up in "add plasmoids" - but i cant see any network interfaces in the settings dialog like eth0, vboxbrv and so on ? - what is wrong ?

Have it nice :-)

Report

C

spinter

7 years ago

hm... this is strange. it seems, it does not find the interfaces at first time, when it was added to the desktop/panel, but it is there, after the plasma-desktop has been restarted. I will debug this, thanks to point this out.

Report

vaxxipooh

7 years ago

I cant find it when i have installed it in "add widgets" - i see it have installed to /usr/local - i think it be better if it goes to /usr

How do i change this when running CMAKE ? i am not soo good at this CMAKE stuff ;-)

Thanx

Report

C

spinter

7 years ago

Try to configure it with cmake-gui, there you can easily change the path prefix. After install, restart your kde, or run as user:
kbuildsycoca4
kquitapp plasma-desktop
plasma-desktop

Report

7 years ago

- Compact mode: display only the value, and change the color of the text according to the current unit
- In settings page fully use the form -> better UI experience
- Bugfix: in 'combine mode', only the download speed was displayed, but it was doubled
- Binary builds on OBS :)

File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
Details
license
version
0.2
updated May 15 2011
added Apr 03 2011
downloads today
0
page views today 1