Yet Another 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 opencode.net

3
7.3
Description:

KISS plasmoid for KDE panel displaying up/down speed written with ruby/QT(just began to use ruby)
Settings allow one to change font and device.


Inspired by GNOME panel netspeed applet
Last changelog:

8 years ago

0.3
YOU DON'T NEED THIS VERSION IF 0.2 IS OK FOR YOU
*minor fix on ruby round function. All who have a blank plasmoid canvas should try this one.
Tested on kubuntu 10.04 and Archlinux
0.2
* Added pattern to build speed show at your taste:
#uv - upload value
#um - upload measure
#dv and #dm same for downspeed
#utv, #utm, #dtv, #dtm - up/down total for curret session
#br - newline
Other symbols will be shown as is.

*Added kdebindings-ruby as depency

Know issues:
*color picker doesn't work yet
*autoresize make some tray items to move(you can use min width seting to avoid)

TODO:
*fix autoresize
*fix colour selector
*Add icon to config screen
*Add help file. For pattern at least

0.1
* Initial upload

loray

8 years ago

Actually it's not working, some problem with scriptengine ruby-script. I installed all de dependencies above, but didn't works.

Report

joethefox

8 years ago

what I was looking for! for this type of monitor, the main thing is to have numeric values, graphics look good but not very useful.
Some suggestions:
- with this layout (one info per line)
eth0
0B/s
0B/s
I've no width problem ;)
- Why don't add the capability to display the IP Address?
- When I try to add two plasmoids (one for eth0 and one for wlan0), each plasmoid seems to share the same config file, so not allowing to use more than one plasmoid in the same time.

again thank you for your work

Report

C

rakoth

8 years ago

Thanks for your reply.
Yes, both widgets using same config now.I'm planing to add multi widget functionality later.

Can you please describe installation process? Which plasma-ruby packages were required?
(Some users have problems with searching right package name, which could differ from one system to another)

Report

luciform

8 years ago

In Mandriva 2010.1 I had to install ruby, ruby-kde4 and ruby-qt4 (could be the same in other RPM-based distributions).

Report

joethefox

8 years ago

Sure. I'm using kubuntu maverick (development branch) and I've just hit the "Get New Widgets" button -> "Download new plasma widgets" -> "Install" on Yet Another Netspeed Monitor and all done. This is the output for any plasma/ruby installed packages in my system:

$ dpkg-query -W| grep -i ruby | grep -i plasma
libplasma-ruby 4:4.5.1-0ubuntu3
libplasma-ruby1.8 4:4.5.1-0ubuntu3
plasma-scriptengine-ruby 4:4.5.1-0ubuntu8

Report

pierissimo

8 years ago

on kubuntu 10.10 it returns me a ruby-script engine error...

Report

luciform

8 years ago

See if this helps:

https://bugs.launchpad.net/ubuntu/+source/kdebase-workspace/+bug/373645

If not, install ruby, ruby-kde4 and ruby-qt4.

Works fine for me.

Report

pierissimo

8 years ago

installing "plasma-scriptengine-ruby" worked for me.
Thanks

Report

pierissimo

8 years ago

Altought I configured it, it always show "Configure me" message....

Report

C

rakoth

8 years ago

Check please if this file could be created:
#cat ~/.config/plasma-widget-yanetload
---
device: eth0
font: Sans Serif
font_size: "10"
pattern: "#uv#um|#dv#dm#br#dtv#dtm"
minwidth: 110

Report

pierissimo

8 years ago

Yes, the file could be created and looks exactly like yours....
thanks

Report

C

rakoth

8 years ago

Check "device" twice please.
This message will appear only if "device" could not be read from config file(eg: empty in config or unreadable file). Other settings are not checked.
I just can't get this message.

Report

aray

8 years ago

I am also getting ruby error as "Could not create a ruby-script ScriptEngine for Yet another....".

What am I missing here?

Report

cician

8 years ago

Here it just displays up: 0 down: 0, no errors. I'm on Lucid KDE4.5 RC2

Report

loray

8 years ago

I'm in the same situation

Report

digitalone

8 years ago

I can't find "kdebindings-ruby" package in adept on Kubuntu and it doesn't work.
Where can i find it?

Report

C

rakoth

8 years ago

sudo apt-get install plasma-scriptengine-ruby
and restart plasma-desktop
helped me to run this plasmoid on clean install.
Loray, try this too.

Report

loray

8 years ago

I couldn't make it work in kubuntu lucid, although I've installed the recomended dependencies

Report

Goamaus

8 years ago

have installed kdebindings-ruby with plasma use-flag, but it doesn't load :-(
it says it can not initialize the ruby-script-driver...

Report

C

rakoth

8 years ago

>it says it can not initialize the ruby-script-driver...

AFAIR this message means you need to install plasma-scriptengine-ruby
Don't know what about gentoo, but seems on my arch "kdeplasma-addons-libs" package is in charge for it.

Report

joethefox

8 years ago

I had the same error, solved in my kubuntu 10.04 (KDE 4.4.80 (KDE 4.5 Beta1)) by installing the package libqt4-ruby1.8 .

Hope this can help.

Report

ext1

4 years ago

First, emerge kde-base/kdebindings-meta package with "ruby" flag. After that emerge kde-base/qtruby with "webkit" flag. Now reload plasma-desktop

Report

C

rakoth

8 years ago

Thanks for responds, guys.
shadyabhi, is kdebindings-ruby really required? Added it anyway.
google01103, I'll think on pattern modification

Report

shadyabhi

8 years ago

kdebindindingws-ruby is the dependency which is not mentioned

Report

google01103

8 years ago

suggestions:
- use arrows for text (up, down)
- leave off the decimal points
- add color fonts (green=down, red=up)

Report

8 years ago

0.3
YOU DON'T NEED THIS VERSION IF 0.2 IS OK FOR YOU
*minor fix on ruby round function. All who have a blank plasmoid canvas should try this one.
Tested on kubuntu 10.04 and Archlinux
0.2
* Added pattern to build speed show at your taste:
#uv - upload value
#um - upload measure
#dv and #dm same for downspeed
#utv, #utm, #dtv, #dtm - up/down total for curret session
#br - newline
Other symbols will be shown as is.

*Added kdebindings-ruby as depency

Know issues:
*color picker doesn't work yet
*autoresize make some tray items to move(you can use min width seting to avoid)

TODO:
*fix autoresize
*fix colour selector
*Add icon to config screen
*Add help file. For pattern at least

0.1
* Initial upload

12345678910
19
product-maker Arstan Aug 06 2011 8 great
product-maker Oneye Jul 15 2011 8 great
product-maker Anmol Jun 25 2011 8 great
product-maker deep-z Jun 02 2011 8 great
product-maker shsetyana May 11 2011 8 great
product-maker matejv Feb 06 2011 8 great
product-maker mukka Dec 12 2010 8 great
product-maker ushuujin Oct 29 2010 3 bad
product-maker vatsok Oct 21 2010 8 great
product-maker joethefox Oct 07 2010 8 great
product-maker Count:36 Rating: 7.28
File (click to download) Version Description Downloads Date Filesize DL OCS-Install
Pling
*Needs ocs-url or ocs-store to install things
Details
license
version
0.3
updated Oct 05 2010
added May 31 2010
downloads today
0
page views today 2
+