wireless dataengine required by WiFi

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

0
Score 80.4%
Description:

This is the script required by WiFi plasma applet. You must install it first, otherwise the wireless applet won't work
Installation instructions - README
This script is required by WiFi applet (http://bit.ly/wifi-plasmoid)
To install, issue the following command
plasmapkg -t dataengine -i wifi-engine-1.0.plasmoid

Known Bugs
-On some systems (Arch, SuSE, possibily others) you have to manually change the path to the iwconfig executable at line 40 in ~.kde/share/apps/plasma/plasmoids/pywifi-engine/contents/code/main.py
-If you note high CPU usage, edit line 19 in the above main.py, setting setMinimumPollingInterval to 333 or higher
Both these bugs will be fixed soon. Thanks for reporting them


PiWiFi Dataengine
This dataengine is needed by Wifi plasmoid

Please report bug to raffaeleSgarro@gmail.com
Last changelog:

9 years ago

1.0.1: Absolute path for /sbin commands that by default are not in $PATH on Debian

C

raffaele181188

9 years ago

There's an issue with this dataengine, cause the iwconfig executable has different paths on different systems. I have been suggested to implement a "degradation strategy" looping among known locations. Unfortunately I am unable to run my plasmoid because of python scriptengine failure on my ubuntu

The CPU issue can only be related to the update frequency. Edit line 19 of ~.kde/share/apps/plasma/plasmoids/pywifi-engine/contents/code/main.py
Change from
self.setMinimumPollingInterval(33)
to
self.setMinimumPollingInterval(333)
This should go, but I have not tested it myself

Report

mononoke

9 years ago

thanks, but i have to set it to 2000 in order to get a strong effect in less CPU load.

Report

mononoke

9 years ago

have you got an idea, why the plasmoid needs so much cpu power ?

unfortunately too much, the fan of my laptop seems always busy when i run the plasmoid, that's why i can't use it.
maybe it belongs to python or qt librarys..

Report

mononoke

9 years ago

hi, i installed your plasmoid and dataengine, but it didn't work right from the start. for opensuse (11.3) systems people have to fix the path to iwconfig. here, the correct is /usr/sbin/iwconfig. so i edited the following file:
~/.kde4/share/apps/plasma/dataengines/pywifi-engine/contents/code/main.py

the code now looks like this:
blob = commands.getoutput("/usr/sbin/iwconfig " + interface)

Report

sconosciuto

9 years ago

In Debian normal users have to run /sbin/iwconfig in order to use it, not only iwconfig.

Anyway thanks for the script.

Report

C

raffaele181188

9 years ago

Thank you for pointing this out

Report

9 years ago

1.0.1: Absolute path for /sbin commands that by default are not in $PATH on Debian

12345678910
118
product-maker Viracocha Sep 01 2011 9 excellent
product-maker chel Aug 09 2011 9 excellent
product-maker jlsalvador May 25 2011 9 excellent
product-maker onemystic May 23 2011 9 excellent
product-maker delian May 23 2011 9 excellent
product-maker WarpCoil May 12 2011 9 excellent
product-maker hoellp May 06 2011 9 excellent
product-maker stevenfriedrich Apr 30 2011 9 excellent
product-maker sllxxe Apr 24 2011 9 excellent
product-maker mostaamil Apr 07 2011 3 bad
product-maker shsetyana Mar 23 2011 9 excellent
product-maker DarkMac Mar 10 2011 9 excellent
product-maker jeast Feb 05 2011 9 excellent
product-maker yohanpereira Feb 04 2011 9 excellent
product-maker Tscheesy Feb 03 2011 9 excellent
product-maker brax Feb 01 2011 9 excellent
product-maker Ilu Jan 28 2011 9 excellent
product-maker chemikk Jan 01 2011 9 excellent
product-maker sylvaing Oct 24 2010 9 excellent
product-maker Count: 4 Rating: 5.0
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
1.0.1
updated Aug 01 2010
added Apr 09 2010
downloads 24h
0
page views 24h 1