# Bluetooth connected at startup

**URL:** <https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231>\
**Category:** General\
**Created:** [April 14, 2018, 4:00pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231 "2018-04-14T16:00:51Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![brunofranco](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@brunofranco](https://discourse.ubuntubudgie.org/u/brunofranco)\
**Post date:** [April 14, 2018, 4:00pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/1 "2018-04-14T16:00:51Z")

</div>

Hello!

I disabled bluetooth. When I reboot the machine it goes back on to stay activated.

How do I fix it? I want it to be disabled when I turn on the computer.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [April 14, 2018, 4:26pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/2 "2018-04-14T16:26:38Z")

</div>

v17.10 of UB ?

If so this is a known issue with the bluetooth stack - I understand it has been fixed in 18.04

---

<div class="post-metadata">

**Author:** ![brunofranco](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@brunofranco](https://discourse.ubuntubudgie.org/u/brunofranco)\
**Post date:** [April 14, 2018, 5:25pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/3 "2018-04-14T17:25:14Z")

</div>

17.10. Do you recommend installing the 18?

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [April 14, 2018, 5:26pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/4 "2018-04-14T17:26:26Z")

</div>

18.04 goes stable in a couple of weeks

---

<div class="post-metadata">

**Author:** ![brunofranco](https://avatars.discourse-cdn.com/v4/letter/b/47e85d/32.png) [@brunofranco](https://discourse.ubuntubudgie.org/u/brunofranco)\
**Post date:** [April 14, 2018, 6:21pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/5 "2018-04-14T18:21:41Z")

</div>

I installed it on 18.04. Bluetooth problem continues 😕

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [April 14, 2018, 6:23pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/6 "2018-04-14T18:23:09Z")

</div>

please report a bug to make the ubuntu-devs aware of the issue on 18.04

```
ubuntu-bug bluez
```

---

<div class="post-metadata">

**Author:** ![Iiari](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/iiari/32/11_2.png) [@Iiari](https://discourse.ubuntubudgie.org/u/Iiari)\
**Post date:** [April 14, 2018, 9:47pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/7 "2018-04-14T21:47:09Z")

</div>

I have the same issue. I thought that was intentional? If I turn off Bluetooth, it’s on with reboot.

---

<div class="post-metadata">

**Author:** ![fossfreedom](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/fossfreedom/32/1405_2.png) [@fossfreedom](https://discourse.ubuntubudgie.org/u/fossfreedom)\
**Post date:** [April 14, 2018, 11:13pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/8 "2018-04-14T23:13:40Z")

</div>

Hmm seems it’s has been a very common issue for a long time.

There doesn’t seem to be one answer though

> <https://askubuntu.com/questions/67758/how-can-i-deactivate-bluetooth-on-system-startup>

---

<div class="post-metadata">

**Author:** ![bwat47](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/bwat47/32/374_2.png) [@bwat47](https://discourse.ubuntubudgie.org/u/bwat47)\
**Post date:** [April 15, 2018, 1:02am UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/9 "2018-04-15T01:02:42Z")

</div>

I was able to workaround this in ubuntu budgie 18.04 by adding rfkill block bluetooth to my /etc/rc.local file.

This gave me the behavior I wanted where when I boot my laptop bluetooth is in airplane mode, but I can enable it from the bluetooth indicator if needed

Note: in my case the rc.local file wasn’t there by default, so I added it with these contents:

```
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.

rfkill block bluetooth

exit 0

```

And then made it executable:

sudo chmod 755 /etc/rc.local

---

<div class="post-metadata">

**Author:** ![smebellis](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@smebellis](https://discourse.ubuntubudgie.org/u/smebellis)\
**Post date:** [April 29, 2018, 8:02pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/10 "2018-04-29T20:02:36Z")

</div>

I experienced the same problem in Ubuntu 17.10 and in 18.04. The solution I came up with was to mask Bluetooth. It worked for me in both distros.  
Try doing this:

> sudo systemctl mask bluetooth

That should stop Bluetooth from auto starting.

---

<div class="post-metadata">

**Author:** ![Iiari](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/iiari/32/11_2.png) [@Iiari](https://discourse.ubuntubudgie.org/u/Iiari)\
**Post date:** [April 30, 2018, 1:26am UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/11 "2018-04-30T01:26:53Z")

</div>

Presumably the same command substituting “unmask” should restore it?

---

<div class="post-metadata">

**Author:** ![smebellis](https://avatars.discourse-cdn.com/v4/letter/s/bc79bd/32.png) [@smebellis](https://discourse.ubuntubudgie.org/u/smebellis)\
**Post date:** [April 30, 2018, 1:43am UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/12 "2018-04-30T01:43:42Z")

</div>

Unmasking it will allow you to start/stop the service again.

---

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [June 22, 2018, 2:55pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/13 "2018-06-22T14:55:12Z")

</div>

Exactly what I was searching for, thanks !

> [@bwat47](#):
>
> when I boot (…) bluetooth is in airplane mode, but I can enable it from the bluetooth indicator if needed

Strange Bluetooth state is not remembered through session - ~~what’s different regarding bluetooth compared to default ubuntu 18.04 ( where BT state is remembered )~~?

If put in `/etc/rc.local` does it mean it will set this behavior for all users ?  
May that command `rfkill block bluetooth` be put in « application at startup » for a _per user_ preference ?

I think that way is more convenient than  
`sudo systemctl mask bluetooth`  
which demands another sudo command to enable again BT when needed.

---

<div class="post-metadata">

**Author:** ![rsalgas](https://avatars.discourse-cdn.com/v4/letter/r/b487fb/32.png) [@rsalgas](https://discourse.ubuntubudgie.org/u/rsalgas)\
**Post date:** [June 26, 2018, 7:36pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/14 "2018-06-26T19:36:47Z")

</div>

I’ve had the same problem and I’ve solved it as follows:  
On Desktop Budgie Parameters create a Command Type Autostart App with these commands:  
rfkill block bluetooth

Give it name and description you like (doesn’t matter) and save. Every time you restart your computer your Bluetooth will be disabled.

---

<div class="post-metadata">

**Author:** ![bwat47](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/bwat47/32/374_2.png) [@bwat47](https://discourse.ubuntubudgie.org/u/bwat47)\
**Post date:** [October 26, 2018, 12:35am UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/15 "2018-10-26T00:35:42Z")

</div>

This is actually even easier than I originally thought… you just need to disable bluetooth within the gnome settings | power section instead of via the bluetooth indicator icon in the system tray.

When I disable it via the gnome settings panel, it stays disabled without any further tweaks needed

---

<div class="post-metadata">

**Author:** ![Coeur-Noir](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/coeur-noir/32/4515_2.png) [@Coeur-Noir](https://discourse.ubuntubudgie.org/u/Coeur-Noir)\
**Post date:** [March 7, 2020, 1:50am UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/16 "2020-03-07T01:50:47Z")

</div>

Why do you have gnome-settings installed ?

---

<div class="post-metadata">

**Author:** ![bwat47](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/bwat47/32/374_2.png) [@bwat47](https://discourse.ubuntubudgie.org/u/bwat47)\
**Post date:** [March 7, 2020, 3:48pm UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/17 "2020-03-07T15:48:15Z")

</div>

It’s installed by default, budgie is basically an alternate shell running on top of gnome components.

---

<div class="post-metadata">

**Author:** ![codic](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.ubuntubudgie.org/codic/32/2569_2.png) [@codic](https://discourse.ubuntubudgie.org/u/codic)\
**Post date:** [March 12, 2020, 2:41am UTC](https://discourse.ubuntubudgie.org/t/bluetooth-connected-at-startup/231/18 "2020-03-12T02:41:56Z")

</div>

@Coeur-Noir indeed, until budgie makes its own full settings app, gnome settings does most of the work - budgie desktop settings is for theming, panel changing, etc…
