nm-applet

View: New views
5 Messages — Rating Filter:   Alert me  

nm-applet

by Alex Buell-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is there a way to make nm-applet start up with wireless toggled off?

Thanks,
Alex
--
http://www.munted.org.uk

One very high maintenance cat living here.
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@...
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Re: nm-applet

by Bugzilla from witold.sowa@gmail.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alex Buell pisze:
> Is there a way to make nm-applet start up with wireless toggled off?
>
> Thanks,
> Alex

You can change org.freedesktop.NetworkManager.WirelessEnabled DBus
property before starting nm-applet, like that:

$ dbus-send --system --type=method_call \
  --dest=org.freedesktop.NetworkManager \
  /org/freedesktop/NetworkManager \
  org.freedesktop.DBus.Properties.Set \
    string:'org.freedesktop.NetworkManager' \
    string:'WirelessEnabled' \
    variant:boolean:false

ant then launch nm-applet:
$ nm-applet &


Cheers,
Witek.
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@...
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Re: nm-applet

by Alex Buell-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sat, 2009-10-17 at 12:22 +0200, Witold Sowa wrote:

> Alex Buell pisze:
> > Is there a way to make nm-applet start up with wireless toggled off?
> >
> > Thanks,
> > Alex
>
> You can change org.freedesktop.NetworkManager.WirelessEnabled DBus
> property before starting nm-applet, like that:
>
> $ dbus-send --system --type=method_call \
>   --dest=org.freedesktop.NetworkManager \
>   /org/freedesktop/NetworkManager \
>   org.freedesktop.DBus.Properties.Set \
>     string:'org.freedesktop.NetworkManager' \
>     string:'WirelessEnabled' \
>     variant:boolean:false
>
> ant then launch nm-applet:
> $ nm-applet &

Yes, that could work, but ideally, nm-applet (or Network Manager) really
should save its settings so it can remember what it was originally set
to when started next time. Something to do for the next release?

Thanks
--
http://www.munted.org.uk

One very high maintenance cat living here.
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@...
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Re: nm-applet

by Dan Williams :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Sun, 2009-10-18 at 17:22 +0100, Alex Buell wrote:

> On Sat, 2009-10-17 at 12:22 +0200, Witold Sowa wrote:
> > Alex Buell pisze:
> > > Is there a way to make nm-applet start up with wireless toggled off?
> > >
> > > Thanks,
> > > Alex
> >
> > You can change org.freedesktop.NetworkManager.WirelessEnabled DBus
> > property before starting nm-applet, like that:
> >
> > $ dbus-send --system --type=method_call \
> >   --dest=org.freedesktop.NetworkManager \
> >   /org/freedesktop/NetworkManager \
> >   org.freedesktop.DBus.Properties.Set \
> >     string:'org.freedesktop.NetworkManager' \
> >     string:'WirelessEnabled' \
> >     variant:boolean:false
> >
> > ant then launch nm-applet:
> > $ nm-applet &
>
> Yes, that could work, but ideally, nm-applet (or Network Manager) really
> should save its settings so it can remember what it was originally set
> to when started next time. Something to do for the next release?

Yes; see the mail I posted earlier today about it, Tony volunteered to
do the patch.

Dan


_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@...
http://mail.gnome.org/mailman/listinfo/networkmanager-list

Re: nm-applet

by Alex Buell-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Fri, 2009-10-23 at 17:38 -0700, Dan Williams wrote:
> > Yes, that could work, but ideally, nm-applet (or Network Manager)
> really
> > should save its settings so it can remember what it was originally
> set
> > to when started next time. Something to do for the next release?
>
> Yes; see the mail I posted earlier today about it, Tony volunteered to
> do the patch.

Yeah, that's really good news, thanks for your hard work - hopefully you
can backport it to the NM 7.x series. Thanks!
--
http://www.munted.org.uk

One very high maintenance cat living here.
_______________________________________________
NetworkManager-list mailing list
NetworkManager-list@...
http://mail.gnome.org/mailman/listinfo/networkmanager-list