You are not logged in.
Pages: 1
Hey, first post here after a few weeks of lurking, great forum! But now I have a problem of my own and couldn't find a solution here.
I'm trying to get a bluetooth applet to work with i3wm (to connect to a a2dp speaker). I have bluez and blueman-applet installed, but when I try to run it, i get this
Loading configuration plugins
blueman-applet version 1.99.alpha1 starting
Using GConf config backend
_________
Load (/usr/lib/python2.7/site-packages/blueman/main/PluginManager.py:54)
['PPPSupport', 'RecentConns', 'DhcpClient', 'AuthAgent', 'NMDUNSupport', 'ExitItem', 'ShowConnected', 'NetUsage', 'StatusIcon', 'Networking', 'AppIndicator', 'DiscvManager', 'PowerManager', 'TransferService', 'KillSwitch', 'SerialManager', 'StandardItems', 'Menu', 'Headset', 'NMPANSupport', 'DBusService']
Using GConf config backend
Traceback (most recent call last):
File "/usr/bin/blueman-applet", line 110, in <module>
BluemanApplet()
File "/usr/bin/blueman-applet", line 53, in __init__
self.Plugins.Load()
File "/usr/lib/python2.7/site-packages/blueman/main/PluginManager.py", line 84, in Load
__import__(self.module_path.__name__ + ".%s" % plugin, None, None, [])
File "/usr/lib/python2.7/site-packages/blueman/plugins/applet/AuthAgent.py", line 3, in <module>
import blueman.main.applet.BluezAgent as BluezAgent
File "/usr/lib/python2.7/site-packages/blueman/main/applet/BluezAgent.py", line 15, in <module>
from blueman.bluez.Agent import Agent, AgentMethod
File "/usr/lib/python2.7/site-packages/blueman/bluez/Agent.py", line 42, in <module>
class Agent(dbus.service.Object):
File "/usr/lib/python2.7/site-packages/blueman/bluez/Agent.py", line 50, in Agent
@AgentMethod
File "/usr/lib/python2.7/site-packages/blueman/bluez/Agent.py", line 32, in AgentMethod
if BlueZInterface.get_interface_version()[0] < 5:
File "/usr/lib/python2.7/site-packages/blueman/bluez/BlueZInterface.py", line 11, in get_interface_version
object = dbus.SystemBus().get_object('org.bluez', '/')
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/site-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/site-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/site-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.systemd1.LoadFailed: Unit dbus-org.bluez.service failed to load: No such file or directory.I also tried to build gnome-bluetooth-applet-git from AUR, but I get this error:
Configure summary:
Compiler....................: gcc
Compiler Flags..............: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4
Prefix......................: /usr
Now type `make' to compile Gnome Bluetooth
make all-recursive
make[1]: Entering directory '/tmp/yaourt-tmp-heitor/aur-gnome-bluetooth-applet-git/src/gnome-bluetooth-applet'
Making all in applet
make[2]: Entering directory '/tmp/yaourt-tmp-heitor/aur-gnome-bluetooth-applet-git/src/gnome-bluetooth-applet/applet'
CC main.o
In file included from main.c:36:0:
bluetooth-applet.h:32:34: fatal error: bluetooth-killswitch.h: No such file or directory
#include <bluetooth-killswitch.h>
^
compilation terminated.
Makefile:498: recipe for target 'main.o' failed
make[2]: *** [main.o] Error 1
make[2]: Leaving directory '/tmp/yaourt-tmp-heitor/aur-gnome-bluetooth-applet-git/src/gnome-bluetooth-applet/applet'
Makefile:432: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/tmp/yaourt-tmp-heitor/aur-gnome-bluetooth-applet-git/src/gnome-bluetooth-applet'
Makefile:363: recipe for target 'all' failed
make: *** [all] Error 2
==> ERROR: A failure occurred in build().
Aborting...
==> ERRO: Makepkg was unable to build gnome-bluetooth-applet-git.Any ideas?
I was able to pair and connect it with bluetoothctl, but the sound would not work. It just came out of the laptop speakers.
Last edited by gecko_god (2014-09-01 16:47:46)
Offline
Damn, I just had to enable bluetooth on systemd! I could swear I already had. Guess I won't delete the topic, just leave it here for anyone else who is a bit lost. For the record, I just had to do
# systemctl enable bluetooth and restart.
I'll mark as solved, but let me know if it's the right thing to do.
Offline
... I won't delete the topic, just leave it here for anyone else who is a bit lost. For the record, I just had to ...I'll mark as solved, but let me know if it's the right thing to do.
Perfect!
As someone once said, "I am happy to make the errors if someone else is willing to learn from them" ![]()
Thanks
Last edited by ewaller (2014-09-01 17:54:39)
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Online
Pages: 1