i3wm requires first log in to unity before bluetooth will work

Bug #1536380 reported by James
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
blueman (Ubuntu)
New
Undecided
Unassigned

Bug Description

Ubuntu 15.10

blueman:
  Installed: 2.0-1ubuntu1
  Candidate: 2.0-1ubuntu1
  Version table:
 *** 2.0-1ubuntu1 0
        500 http://us.archive.ubuntu.com/ubuntu/ wily/universe amd64 Packages
        100 /var/lib/dpkg/status

Expected: to be able to connect to paired device without logging into unity first.

When I reboot my machine and log directly into i3 I can't get bluetooth to connect to my headset. It does pair (with bluetooth-wizard), but when I try to connect (with blueman-applet), I get:

Connection Failed: DBusFailedError: No such file or directory

When I try and remove the headset and repair I get:

Connect failed for /org/bluz/hci0/dev_B8_AD_3E_0A_AD_D2: GDBus. Errorrg.bluez.Error.Failed: No such file or directory

However, when I log into unity first, and use the unity bluetooth applet to connect, it works fine. A couple of things:

* I'm not the only one having this problem: https://faq.i3wm.org/question/2659/h...-device.1.html
* It seems that unity (or the applet) does something (creates some directories?) to connect that i3 alone is not

The problem is also outlined here:
https://www.reddit.com/r/i3wm/comments/407qhj/bluetooth_in_ubuntu_doesnt_work_unless_connected/
I am also not the only one having this problem:
https://faq.i3wm.org/question/2659/having-to-log-in-with-unity-first-to-link-with-a-bluetooth-device.1.html

Tags: wily
Revision history for this message
James (morris-570) wrote :

it appears as if the pulsaudio bluetooth discover module isn't loaded when you go straight to i3. this is strange because I've modified the pulseaduio startup scripts (per an askubuntu posting) to make sure that this module is started at pulseaudio start. The solution is to add the following to your .i3/config:

exec pactl load-module module-bluetooth-discover

And then use bluetooth-aplet to pair and connect and pavucontrol to set the audio source to your headset

Ken Sharp (kennybobs)
tags: added: wily
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.