Install urfkill by entering the following commands in the terminal:
sudo apt update sudo apt install urfkill
Description:
wireless killswitch management daemon for laptops
The urfkill daemon allow managing the rfkill-related hotkeys and the killswitches in a more configurable way for the common RF devices (WiFi, Bluetooth, WWan...). It handles the various key codes (KEY_WLAN, KEY_BLUETOOTH, KEY_RFKILL...) and toggles the killswitches based on a pre-defined policy.
Homepage: http://www.freedesktop.org/wiki/Software/urfkill
Version: 0.6.0~20150318.103828.5539c0d.1-0ubuntu6
Section: universe/net