Yet Another 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

3
Become a Fan
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:

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


Ratings & Comments

25 Comments

loray

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

joethefox

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

rakoth

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)

joethefox

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

luciform

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

pierissimo

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

aray

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

luciform

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.

pierissimo

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

pierissimo

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

rakoth

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

pierissimo

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

rakoth

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.

cician

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

loray

I'm in the same situation

digitalone

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

rakoth

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

loray

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

Goamaus

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

rakoth

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

joethefox

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.

ext1

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

rakoth

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

shadyabhi

kdebindindingws-ruby is the dependency which is not mentioned

google01103

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

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

Other Plasma 4 Extensions:

Icon Tasks deb build
N00bun2
last update date: 13 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