[Goodies-dev] [Bug 9076] [PATCH] Run command to return network device to listen to

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Tue Jul 10 21:20:09 CEST 2012


https://bugzilla.xfce.org/show_bug.cgi?id=9076

--- Comment #4 from Mike Massonnet <mmassonnet at xfce.org> ---
Hi Miguel,

This is not portable (on my system I have wlan0 and em1), and since the user
needs to craft his own script it's a no-go.

As a power-user you might do something like:

sed -i "s/\(Network_Device=\).*/\\1$(test -z `ifconfig em1|grep -i 'inet addr'`
&& echo 'wlan0' || echo 'em1')/" ~/.config/xfce4/panel/netload-*.rc
kill -USR1 $(pidof xfce4-netload-plugin)

But as a user you don't want to, hence this option doesn't have its place here.

Of course it could be interesting to have the user select the interface in the
option dialog, and why not also in the context menu of the panel plugin (right
click). It could also try to detect which interface is up and have an option to
automatically select that interface.

Well, the point of this bug is to reduce the effort to select the right network
interface for the user, and as already pointed out there are two bugs for this
issue: bug 3880, or bug 7431 (this one is more close to bug 7431).

Regards,
Mike

-- 
You are receiving this mail because:
You are the QA Contact for the bug.


More information about the Goodies-dev mailing list