Artix Linux Forum

Artix Linux => Applications & Software => Topic started by: gonzalo2099 on 22 November 2019, 00:53:12

Title: Bluetooth transfer bug
Post by: gonzalo2099 on 22 November 2019, 00:53:12
Hello, I had installed Bluetooth packages and I can't send files through Bluetooth. I always have the following output "name org.bluez.obex is not provided by any .service file". I tried to fix it with no result. Any idea about???
Title: Re: Bluetooth transfer bug
Post by: phoenix_king_rus on 22 November 2019, 09:01:28
Did you install and start bluetooth init script (like bluez-openrc for openrc)?
Title: Re: Bluetooth transfer bug
Post by: gonzalo2099 on 22 November 2019, 16:55:34
yes i did, i install all pakages for bluetooth including bluez-openrc. With audio devices works perfectly just i have this bug sending files
Title: Re: Bluetooth transfer bug
Post by: jasonbourne on 27 November 2019, 15:38:23
You are using OpenRC
You can refer to this post of mine, I use Runit (XFCE)

https://forum.artixlinux.org/index.php/topic,1162.0.html
Title: Re: Bluetooth transfer bug
Post by: infirit on 29 August 2020, 14:04:40
The core of this is that obexd is not strarted and can not be autostarted through dbus. On systemd there is a systemd user unit file that takes care of this. But as Artix does not use systemd another way to start is needed.

The easiest is to add obexd to Xfce's application autostart. But the proper way is to actually install a dbus service file that can be auto started. However as Arch and derivatives are a bit silly how they dogmatically don't patch upstream sources this is very likely not going to happen.

Stick the below file in /usr/share/dbus-1/services/org.bluez.obex.service and from now on obexd will autostart.

Code: [Select]
[D-BUS Service]
Name=org.bluez.obex
Exec=/usr/lib/bluetooth/obexd
SystemdService=dbus-org.bluez.obex.service