Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 07-29-2016, 12:02 AM   #1
LQ Newbie
Registered: Mar 2012
Posts: 21

Rep: Reputation: Disabled
[Ubuntu MATE] How to disable bluetooth on startup?

I'm running Ubuntu MATE 16.04. I want that when I login to my desktop, the bluetooth should be off by default (though the icon should be available in system tray so that I can switch it on whenever I want).

I've tried adding rfkill block bluetooth to the /etc/rc.local but it ain't working. Any suggestions?
Old 07-29-2016, 10:58 AM   #2
LQ Veteran
Registered: Jul 2006
Location: London
Distribution: PCLinuxOS, Salix
Posts: 6,155

Rep: Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318Reputation: 2318
I found this
which shows that you need to edit /etc/default/bluetooth to alter
Old 07-29-2016, 11:23 AM   #3
Registered: May 2011
Location: Texas
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 831

Rep: Reputation: 229Reputation: 229Reputation: 229
First, stop the service:

sudo systemctl stop bluetooth.service

Then disable it:

sudo systemctl disable bluetooth.service


sudo systemctl status bluetooth.service
this is taken from
Old 08-21-2016, 01:53 PM   #4
Registered: Apr 2012
Location: somehow, somewhere
Distribution: Arch
Posts: 197

Rep: Reputation: Disabled
To disable it so it never tries to restart (as other apps may be trying to start it after you've disabled it and will show up with errors in the journal log) after stopping and disabling bluetooth.service, you can
sudo systemctl mask dbus-org.bluez.service
this points the symlink to /dev/null. To restore it
sudo systemctl unmask dbus-org.bluez.service
Found this at:
Old 07-07-2017, 10:48 AM   #5
Registered: Apr 2012
Location: somehow, somewhere
Distribution: Arch
Posts: 197

Rep: Reputation: Disabled
In Arch, to get dbus (via systemd) to stop calling to dbus-org.bluez.service (after masking as per above) I had to remove these packages and had to force remove at least two of them:
bluez gnome-bluetooth pulseaudio-bluetooth bluez-firmaware bluez-libs
pacman -Rdd to force those that have breakable dependencies. Recompile NetworkManager without the bluez-libs dependency will satisfy this error message
NetworkManager[571]: <warn>  [1499404563.6628] (/ failed to load plugin: cannot open shared object file: No such file or directory
and dbus no longer tries to load masked bluetooth every few minutes. Keep in mind you're responsible for maintaining the custom package next time NetworkManager upgrade is available. To go completely toothless be sure to install the recompiled libnm and libnm-glib packages that build with NetworkManager.

Last edited by WFV; 07-09-2017 at 10:11 AM.


mate, ubuntu 16.04

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Ubuntu MATE 16.04 for Raspberry Pi 3 Adds On-Board Wi-Fi and Bluetooth Support LXer Syndicated Linux News 0 04-06-2016 02:00 AM
Ubuntu Mate and bluetooth speaker issue grzeslaw Linux - Software 6 03-08-2016 03:04 PM
LXer: How to : Disable Bluetooth and WIFI in Ubuntu 11.10 during startup LXer Syndicated Linux News 0 12-12-2011 07:30 AM
Disable Bluetooth on Startup Boy2melo Linux - Newbie 8 05-27-2010 11:45 PM
disable services like bluetooth on startup Elnegro8 Linux - Software 4 07-17-2008 05:11 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration