WiFi wireless signal strength in panel

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

2
Become a Fan
7.5

Description:
WiFi Plasmoid
Please, remember to install the dataengine before (see instructions below)

This applet shows an icon representing wireless signal strength from your wlan interface. Hovered, it also displays pieces of useful information such as your IP, gateway/access point address and your essid (your wireless network name)

It is designed to live in the KDE panel, so you can hide other connection-managers icons that don't integrate very will with your KDE theme. It uses standard Oxygen icons, but you can easily change them.

Installation instructions
You first need to download the dataengine required by this script (http://bit.ly/wifi-engine), then install it using
[indent]plasmapkg -t dataengine -i wifi-engine-version.plasmoid[/indent]
Once you install the engine, you can install this plasmoid using
Add Widgets > Get new widgets > From local file
and selecting this wifi-version.plasmoid

Please, report bugs to raffaeleSgarro@gmail.com

Ratings & Comments

6 Comments

jpeterse

Hi Excellent plasmoid - exactly what I was looking for. Except for one small issue. I have two WiFi interfaces in my laptop. An old build in card, I have disabled the radio on, and a new USB interface that is the active interface. Trouble is, in /proc/net/wireless the inactive interface is the last listed, and thus the interface monitored by pyWiFi. If would be excellent to have configuration dialog to set the name of the interface to monitor. It would also be great to have en option to dim the background a bit of the icon. A mainly white icon against a light grey background is hard to see.

raffaele181188

Hi, thanks for the review and for pointing this out! This script actually has a number of issues and needs a "heavy" refactor. I think you could work around this by modifying something in the source so it doesn't get the interface form the /proc filesystem. The configuration dialog is certainly the best option, I'll update this ASAP Also, I don't like the standard Oxygen icon, and was looking for a better way of displaying signal strength. Maybe a monochromatic carrier-like icon. What do you think?

jpeterse

Thanks for the quick response. Yes, I changed the py scripts a bit to look specifically for my active interface. I also changed some of the regex. In my laptop, the plasmoid would show both the essid as well as the access points nick name. I changed the RegEx to return just the access points name: self.essid = re.search('ESSID:"(.*?)"', blob).group(1) I also added the data rate of the connection: self.speed = re.search('.*Bit Rate[=:](.*?/s)', blob).group(1) For the icon, the issue is probably my own doing ;-) I use the Air theme, which has a very light background to the system tray (where I have the pyWiFi plasmoid running). It almost makes the icon disappear against the background. Maybe the antenna should be be shade darker, and radio waves green (sort of like the standard speaker icon). But that's my personal preference - probably not one to meet consensus. ;-)

raffaele181188

I developed the script while using the Air theme ;) I noticed the icon not being visible enough, so I added a dark 0.5 opaque background, but it's an ugly solution so I commented it out. You can try restoring line 64 of main.py (in plasmoid itself, not in the engine) which looks like #painter.drawRoundedRect(myRect, 25, 25, Qt.RelativeSize) By the way, if you know a better icon, please let me know :) I also think the kmix icon would be perfect!! But obviuosly we can't use them

xaxas

I too had issues with the dialog installer, same as DenisSeidel, his command line option worked perfectly. This plasmoid is great, I have yet to see it display "not connected", which is what I got it for, but I guess that's good. The only complaint that I have is more of a general "no good all around wireless management programs"(seriously, why can't the icon for wpa_gui change to display connection status? It's running all the time on my computer anyway) Anyway, this completes a feature I've been sorely missing since my complete switch from Windows. Thanks for the great work!

DenisSeidel

I don't know why, but the installation using the installation-dialog doesn't work on my pc, so I had to use following command: "plasmapkg -i wifi-1.0.plasmoid". Maybe someone else has the same problem, so this may help.

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

More Plasma 4 Extensions from raffaele181188:

wireless dataengine required by WiFi
raffaele181188
last update date: 15 years ago

Score 7.9

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