The 'Airplane Mode' key on my laptop is not working in ubuntu since I have dual booted my laptop on windows and Ubuntu. Wifi hardware is Realtek RTL8723BE. Please help.
The 'Airplane Mode' key on my laptop is not working in ubuntu since I have dual booted my laptop on windows and Ubuntu. Wifi hardware is Realtek RTL8723BE. Please help.
I also have had this problem with my HP laptop and Ubuntu 18.04. If you only need to only toggle wifi (but not bluetooth) on or off, you can use the following workaround.
Create a bash script with the following code and save it somewhere in your computer. I save mine as
~/.local/share/scripts/wifi-toggle.sh
. If you need to create a folder, you can do it usingmkdir /path/to/folder
or using the file manager.Give execution permissions to your script (I am assuming that the location you saved it is the same as mine; if not, use your location):
Then, open Gnome settings, go to Keyboard and add a new shortcut (I use Ctrl+F12) using the full path of your script as a command, i.e.
/home/your_name/.local/share/scripts/wifi-toggle.sh
, whereyour_name
is your user's name.Edit: This script can be used to turn full airplane mode on or off.
However, for me this would need to be run as
sudo
(I am now using Xubuntu 18.04, so I am not sure if this is the case for Ubuntu too). Save it as~/.local/share/scripts/airplane-toggle.sh
and change its permissions withchmod +x
as before. Try running it from terminal with and withoutsudo
. If it runs withoutsudo
, then map it to a shortcut as before. If not, you can only run it withsudo
through the terminal.I had to disable the keyboard actions setting in BIOS to regain fn + F keys normal function. I'm using HP Pavillion DM4 Laptop.