Re: Connecting to Bluetooth Speakers via command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 2009-11-19 at 14:35 +0200, Johan Hedberg wrote:
> Hi Alex,
> 
> On Thu, Nov 19, 2009, Alexander H Deriziotis wrote:
> > In Ubuntu 9.10 the Bluetooth applet has improved functionality for
> > managing connected devices. Once I pair my Bluetooth speakers with my
> > computer, I can click on the Bluetooth applet, select my speakers and
> > click ‘Connect’ in order to establish a connection.
> > 
> > This seems to automatically connect to the speakers and create a
> > pulseaudio sink for me which I can use, however, every time I reboot,
> > I need to manually click on Connect again to get my sink back.
> > 
> > Is there any way to connect to my Bluetooth speakers from the
> > command-line, so that I can set-up my system to automatically use the
> > relevant sink whenever I boot-up?
> 
> I think the Bluetooth applet is using the org.bluez.Audio.Connect D-Bus
> method to create the connection. You can call it from the command line
> using e.g. the attached python script (I also realized this was missing
> from the bluez source tree so it's now added there too). I also think
> that it could be a nice feature if in the Bluetooth applet you could
> mark devices to be auto-connected when the applet starts.

We could probably have it try to connect to all the known audio devices
on startup, but that'd probably break some things when multiple devices
can be used.

How about trying to connect to the last used audio device? That would
probably solve most use cases, and avoid surprises.

Do you want to file a bug against gnome-bluetooth to ask for that? I'll
try to implement it then.

Cheers

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux