netspeed-plasmoid

Plasma 4 Extensions

Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

5
Become a Fan
7.9

Description:
Simple plasmoid to show the current speed of a network interface, and to show the overall statistics
Last changelog:

- 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


Ratings & Comments

25 Comments

Contrast

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!

Grindcore

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

brucew

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.

spinter

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.

spinter

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

mreloads

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

tetris4

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!

tetris4

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

spinter

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?

tetris4

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.

spinter

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

tetris4

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!

spinter

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.

tetris4

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 =)

spinter

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

tetris4

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

spinter

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

tetris4

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

spinter

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

vaxxipooh

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

marcotangaro

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

vaxxipooh

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

spinter

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.

vaxxipooh

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

spinter

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

Pling
0 Affiliates
Details
license
version 0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 14 years ago

Score 4.3

Prayer Times Plasmoid
riyad
last update date: 13 years ago

Score 5.2

KPrayertime4 Islamic Prayer Times
ahaq
last update date: 15 years ago

Score 4.4

Hostinfo
mgraesslin
last update date: 13 years ago

Score 4.7

Monitor QuadCore Russian
kuchumovn
last update date: 16 years ago

Score 5.0

blaKjaK
werevire
last update date: 15 years ago

Score 5.0