Ubuntu: Nonaktifkan Bluetooth setelah sistem dinyalakan
Dengan Ubuntu, Anda juga dapat menonaktifkan adaptor Bluetooth secara otomatis setelah startup sistem. Sayangnya, sistem ini diatur secara default sehingga tidak ingat apakah Anda telah menonaktifkan fungsi Bluetooth sebelum memulai.
Hanya dimungkinkan melalui skrip: Nonaktifkan Bluetooth secara otomatis
Jika Anda ingin memulai layanan atau skrip secara otomatis setelah Anda memulai Ubuntu, Anda dapat menggunakan file "rc.local". Perintah yang Anda ketik di file ini sebelum "keluar 0" secara otomatis dimulai dengan hak root. Anda juga dapat menonaktifkan adaptor Bluetooth di dalamnya:
- Buka file teks dengan hak root di terminal. Misalnya, Anda dapat menggunakan "gedit" sebagai editor.
- Baris perintah yang sesuai dengan program ini adalah "sudo gedit /etc/rc.local". Konfirmasikan entri Anda dengan [Enter] dan ketik kata sandi root Anda.
- Sekarang - seperti pada tangkapan layar - tambahkan perintah "rfkill block bluetooth" sebelum "exit 0" dan simpan file.
- Ikon Bluetooth masih akan muncul di bilah tugas atas dan Anda dapat mengaktifkan adaptor di sana jika Anda membutuhkannya.