[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:24:32 CEST 2012
https://bugzilla.xfce.org/show_bug.cgi?id=9076
--- Comment #5 from Miguel Guedes <miguel.a.guedes at gmail.com> ---
(In reply to comment #4)
> 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)
>
I like this way! :)
> 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.
Good idea!
>
> 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).
Makes perfect sense, Mike. Thanks!
--
You are receiving this mail because:
You are the QA Contact for the bug.
More information about the Goodies-dev
mailing list