mgedmin / indicator-netspeed

Stupid network speed indicator for Unity, inspired by the old netspeed GNOME applet
http://askubuntu.com/questions/30334/list-of-application-indicators/89889#89889
104 stars 47 forks source link

Refresh list of interfaces #5

Open TobBrandt opened 10 years ago

TobBrandt commented 10 years ago

I see two options:

The second option only works if GTK allows to somehow listen to changes in the interfaces. Does anyone know whether there is an event or signal for that? We could also poll periodically, but that's really not ideal.

mgedmin commented 10 years ago

Refresh it automatically please.

We're already getting the most up-to-date list of network interfaces from libgtop every second. We could see whether it changed (stupidest option: compare the number of network interfaces with previous; smarter option: compare the names as well) and update the menu.

Or, perhaps, if we get an event of some kind before the menu is displayed, we could update the menu then.

the-solipsist commented 9 years ago

Further, the tun0 interface (and other such interfaces) never show up. Could that be corrected?

cdehury commented 3 years ago

Friends you can just open any browser in linux. Then open Netspeed and press "Start" button to test internet speed. It doesn't matter which Internet Service Provider it is.

mgedmin commented 3 years ago

The point of this indicator is to show the current download/upload rate, not the maximum speed your connection is capable of.

the-solipsist commented 3 years ago

@chandu-77 is the creator of that 'netspeed.live' website, and is spamming this issue to gain attention :-(