Re: nm-applet



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]