To most of us Ubuntu starting the Wi-Fi connection automatically on log-in is a great boon – it lets us get online much quicker. For some, however, it is an annoyance. Below is an easy guide for disabling the auto feature, instead allowing you to manually turn Wi-Fi on when you so choice â” a great way to save battery life.
This feature annoyed Pablo from usemoslinux, who is sharing his relatively simple solution with OMG! reader.
How to disable auto-start Wi-Fi
Let’s get down to business. Open up the gedit text editor (Applications > Accessories) and enter the following text: -
dbus-send – system – type = method_call – dest = org.freedesktop.NetworkManager / org / freedesktop / NetworkManager org.freedesktop.DBus.Properties.Set string: string org.freedesktop.NetworkManager: WirelessEnabled variant: boolean: false
Double check you’ve copied it correctly and proceed to save the file as âdisable WiFi’.
We now need to give it permissions to run. Open up the file browser and locate the file you just saved. Right click on it & select ‘Properties’ followed by the âPermissions’ tab. Check the box next to âAllow executing file as a program.’. Click âOkay’.
To get WiFi to be disabled on boot we need to add the script to the start-up roster.
Head up to System> Preferences> Startup Applications.
Click the Add button and enter a name for the script (something like âDisable WiFi’ is good). In the âcommand’ field you need to enter the path to the file. E.G.: -
Once you’re all done click âOkay’ and et voila – No more WiFi auto-starting on boot! To turn WiFi on you simply need to click on the Network Manager icon and choose âEnable wireless’.
Thanks to Pablo