
Yet Another Netspeed Plasmoid
Source (link to git-repo or to original if based on someone elses unmodified work):
Settings allow one to change font and device.
Inspired by GNOME panel netspeed applet
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
Actually it's not working, some problem with scriptengine ruby-script. I installed all de dependencies above, but didn't works.
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
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)
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
In Mandriva 2010.1 I had to install ruby, ruby-kde4 and ruby-qt4 (could be the same in other RPM-based distributions).
on kubuntu 10.10 it returns me a ruby-script engine error...
I am also getting ruby error as "Could not create a ruby-script ScriptEngine for Yet another....". What am I missing here?
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.
installing "plasma-scriptengine-ruby" worked for me. Thanks
Altought I configured it, it always show "Configure me" message....
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
Yes, the file could be created and looks exactly like yours.... thanks
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.
Here it just displays up: 0 down: 0, no errors. I'm on Lucid KDE4.5 RC2
I'm in the same situation
I can't find "kdebindings-ruby" package in adept on Kubuntu and it doesn't work. Where can i find it?
sudo apt-get install plasma-scriptengine-ruby and restart plasma-desktop helped me to run this plasmoid on clean install. Loray, try this too.
I couldn't make it work in kubuntu lucid, although I've installed the recomended dependencies
have installed kdebindings-ruby with plasma use-flag, but it doesn't load :-( it says it can not initialize the ruby-script-driver...
>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.
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.
First, emerge kde-base/kdebindings-meta package with "ruby" flag. After that emerge kde-base/qtruby with "webkit" flag. Now reload plasma-desktop
Thanks for responds, guys. shadyabhi, is kdebindings-ruby really required? Added it anyway. google01103, I'll think on pattern modification
kdebindindingws-ruby is the dependency which is not mentioned
suggestions: - use arrows for text (up, down) - leave off the decimal points - add color fonts (green=down, red=up)