Ubuntu: Dezactivați Bluetooth după pornirea sistemului
Cu Ubuntu, puteți dezactiva și automat adaptorul Bluetooth după pornirea sistemului. Din păcate, sistemul este setat în mod implicit, astfel încât să nu-și amintească dacă ai dezactivat funcția Bluetooth înainte de a începe.
Posibil numai prin script: Dezactivați automat Bluetooth
Dacă doriți să porniți servicii sau scripturi automat după ce ați pornit Ubuntu, puteți utiliza fișierul „rc.local”. Comenzile pe care le introduceți în acest fișier înainte de „ieșirea 0” sunt pornite automat cu drepturi root. De asemenea, puteți dezactiva adaptorul Bluetooth în acesta:
- Deschideți fișierul text cu drepturi root în terminal. De exemplu, puteți utiliza „gedit” ca editor.
- Linia de comandă corespunzătoare cu acest program ar fi „sudo gedit /etc/rc.local”. Confirmați introducerea cu [Enter] și introduceți parola root.
- Acum - ca în ecranul de ecran - adăugați comanda „rfkill block bluetooth” înainte de „exit 0” și salvați fișierul.
- Pictograma Bluetooth va apărea în continuare în bara de activități de sus și puteți activa adaptorul acolo dacă aveți nevoie.