3

I have a T460s which has no physical switch for turning off the wifi, eg to save battery or when on airplanes. The F8 key seems to have a relevant icon, but it seems to have no effect. Other F keys do work, such as for changing the brightness or volume. I don't have Windows installed on the machine, only Ubuntu Mate 16.04. How can I turn off the wifi?

Zanna
  • 72,312

1 Answers1

3

In a terminal run

nmcli radio wifi off

When you want to turn it back on:

nmcli radio wifi on

As mentioned in a comment by LiveWireBT (thanks!) you can use the commands in custom keyboard shortcuts:

Go into the menu to set custom keyboard shortcuts

and add a new one for each nmcli command. Click where is says "disabled" and press the key combination you want to use (for example, super+alt+W)

Zanna
  • 72,312