When I turn off wifi on ubuntu 20.04, the airplane mode turns on, and when I turn it off, the bluetooth turns on, is this a bug or what? I also had same behaviour in 18.04
I want to have the behaviour of turning on/off only the corresponding option which I have selected, how can I fix this? (I can accept a method that programmatically turns on/off any of these three and prevents the other two from toggling)
for example the command nmcli radio wifi off
turns off wifi, but this will cause airplane mode to turn on, I am thinking of a solution where I create a script and place these commands in order, and then add this script to the classpath to call it from the terminal:
nmcli radio wifi on
turn off airplane mode command (how to do this?)
turn off bluetooth command (how to do this?)