Difference between revisions of "Blueman"

From ArchWiki
Jump to: navigation, search
(wikify some external links, use https for archlinux.org)
m (Style fixes, broken link removed.)
Line 1: Line 1:
 
[[Category:Bluetooth]]
 
[[Category:Bluetooth]]
This is a collection of tips and information regarding '''blueman''', a GTK+ bluetooth manager. The information here was originally collated from the AUR thread at https://aur.archlinux.org/packages.php?ID=13870.
+
This is a collection of tips and information regarding '''blueman''', a GTK+ bluetooth manager.
  
==Installation==
+
== Installation ==
  
# pacman -S blueman
+
[[pacman|Install]] {{Pkg|blueman}} from the [[official repositories]].
  
Be sure to add the bluetooth daemon to rc.conf and start blueman with blueman-applet.
+
Be sure to enable the bluetooth daemon and start blueman with blueman-applet.
  
==Blueman and pulseaudio==
+
== Blueman and PulseAudio ==
Users who want to use pulseaudio with a bluetooth headset may want to activate the pulseaudio plugin of Blueman. This automatically loads pulseaudio bluetooth module after audio device is connected and plays all audio through the bluetooth headset.
+
  
 +
Users who want to use PulseAudio with a bluetooth headset may want to activate the pulseaudio plugin of Blueman. This automatically loads pulseaudio bluetooth module after audio device is connected and plays all audio through the bluetooth headset.
  
 
== Troubleshooting ==
 
== Troubleshooting ==
 +
 
=== Blueman and Thunar ===
 
=== Blueman and Thunar ===
 +
 
As long as you  have gvfs-obexftp installed, you can use thunar from blueman to browse files remotely. Open up the blueman services configuration window and replace
 
As long as you  have gvfs-obexftp installed, you can use thunar from blueman to browse files remotely. Open up the blueman services configuration window and replace
  nautilus --browse obex://
+
nautilus --browse obex://
 
with
 
with
  thunar obex://
+
thunar obex://
 +
 
 +
=== Workaround for a Bug with obex and gvfs ===
  
=== NOW obsolete! >> Workaround for a Bug with obex and gvfs ===
+
{{Note|This bug only afflict older versions of blueman.}}
 
To browse mobile phone via nautilus with blueman you need a patched gvfs. Install gvfs-rar from AUR: https://aur.archlinux.org/packages.php?ID=23861
 
To browse mobile phone via nautilus with blueman you need a patched gvfs. Install gvfs-rar from AUR: https://aur.archlinux.org/packages.php?ID=23861
  
Line 25: Line 29:
 
  $ ./configure --prefix=/usr --sysconfdir=/etc
 
  $ ./configure --prefix=/usr --sysconfdir=/etc
 
Just grab it from [[ABS]] and rebuild.
 
Just grab it from [[ABS]] and rebuild.
 
  
 
>>For me now with actual obex-data-server and standard gvfs all is working fine (Yes obex-browsing too) the only thing is delete files on remote storage do not work.
 
>>For me now with actual obex-data-server and standard gvfs all is working fine (Yes obex-browsing too) the only thing is delete files on remote storage do not work.
Line 34: Line 37:
 
for example NM trying to get dhcp address for an incoming connection.
 
for example NM trying to get dhcp address for an incoming connection.
  
This is for versions <= 1.01, versions 1.02 and up will include this patch.
+
{{Note|This bug only afflicts versions below 1.02.}}
  
Put this in <code>/etc/hal/fdi/information/bnep.fdi</code>:
+
Put this in {{ic|/etc/hal/fdi/information/bnep.fdi}}:
  
<pre>
+
{{bc|<nowiki>
 
<?xml version="1.0" encoding="UTF-8"?>
 
<?xml version="1.0" encoding="UTF-8"?>
  
Line 54: Line 57:
 
  </device>
 
  </device>
 
</deviceinfo>
 
</deviceinfo>
</pre>
+
</nowiki>}}
  
 
=== Can't receive files ===
 
=== Can't receive files ===
You have to edit /etc/conf.d/bluetooth file and uncomment this line:
 
<pre>
 
#SDPD_ENABLE="true"
 
</pre>
 
  
== Discussion Threads on problems ==
+
You have to edit {{ic|/etc/conf.d/bluetooth}} file and uncomment this line:
https://bbs.archlinux.org/viewtopic.php?id=65889
+
 
 +
#SDPD_ENABLE="true"
 +
 
 +
== See also ==
 +
 
 +
https://bbs.archlinux.org/viewtopic.php?id=65889 - Discussion threads on problems

Revision as of 20:52, 5 September 2013

This is a collection of tips and information regarding blueman, a GTK+ bluetooth manager.

Installation

Install blueman from the official repositories.

Be sure to enable the bluetooth daemon and start blueman with blueman-applet.

Blueman and PulseAudio

Users who want to use PulseAudio with a bluetooth headset may want to activate the pulseaudio plugin of Blueman. This automatically loads pulseaudio bluetooth module after audio device is connected and plays all audio through the bluetooth headset.

Troubleshooting

Blueman and Thunar

As long as you have gvfs-obexftp installed, you can use thunar from blueman to browse files remotely. Open up the blueman services configuration window and replace

nautilus --browse obex://

with

thunar obex://

Workaround for a Bug with obex and gvfs

Note: This bug only afflict older versions of blueman.

To browse mobile phone via nautilus with blueman you need a patched gvfs. Install gvfs-rar from AUR: https://aur.archlinux.org/packages.php?ID=23861

obex-data-server package is broken for now and needs to rebuild with:

$ ./configure --prefix=/usr --sysconfdir=/etc

Just grab it from ABS and rebuild.

>>For me now with actual obex-data-server and standard gvfs all is working fine (Yes obex-browsing too) the only thing is delete files on remote storage do not work.

Workaround a bug with network manager in bluetooth networking

Some distributions show all bluetooth interfaces as net.80203, which can cause strange behaviour in network manager, for example NM trying to get dhcp address for an incoming connection.

Note: This bug only afflicts versions below 1.02.

Put this in /etc/hal/fdi/information/bnep.fdi:

<?xml version="1.0" encoding="UTF-8"?>

<deviceinfo version="0.2">
 <device>
   <match key="info.category" string="net.80203">
     <match key="net.interface" contains="bnep">
         <merge key="info.category" type="string">net.bluetooth</merge>
         <merge key="info.product" type="string">Bluetooth Interface</merge>
         <merge key="info.capabilities" type="strlist">net, net.bluetooth</merge>
         <merge key="net.bluetooth.mac_address" type="copy_property">net.80203.mac_address</merge>
         <remove key="net.80203.mac_address"/>
     </match>
   </match>
 </device>
</deviceinfo>

Can't receive files

You have to edit /etc/conf.d/bluetooth file and uncomment this line:

#SDPD_ENABLE="true"

See also

https://bbs.archlinux.org/viewtopic.php?id=65889 - Discussion threads on problems