blueman fails to find a dbus service file

  • Done
  • quality assurance status badge
Details
4 participants
  • Simon Streit
  • Milan Svoboda
  • Grigory Shepelev
  • Simon Streit
Owner
unassigned
Submitted by
Simon Streit
Severity
normal

Debbugs page

Simon Streit wrote 4 years ago
(address . bug-guix@gnu.org)
yguv9a0j9ka.fsf@netpanic.org
Hello,

I'm not quite sure yet if this is a is an actual bug or a error on my
side.

Whenever I load blueman-applet, it will pop up an error saying:

Failed to apply newtork settings

and

g-dbus-error-quark:
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name
org.blueman.Mechanism was not provided by any .service files (2)

Calling blueman-applet from the console gives:

Toggle snippet (11 lines)
blueman-applet version 2.1.4 starting
Stale PID, overwriting
blueman-applet 22.15.06 WARNING PluginManager:148 __load_plugin: Not loading PPPSupport because its conflict has higher priority
blueman-tray version 2.1.4 starting
Stale PID, overwriting
blueman-tray version 2.1.4 starting
There is an instance already running

(.blueman-tray-real:2356): Gdk-CRITICAL **: 22:15:07.504: gdk_window_thaw_toplevel_updates: assertion 'window->update_and_descendants_freeze_count > 0' failed

I just tried to get rid of this message by modifying my
%desktop-services with:

Toggle snippet (4 lines)
(modify-services %desktop-services
(dbus config => (dbus-service #:services (list blueman))))

That worked, but it didn't help much. After looking around online I
found that there has been an issue [1] reported on this before. Looking
further from there [2] seems to be a viable solution, which is already
packed in the blueman package, but this file I can't find in the
system's profile.

Any help would be greatly appreciated.


Cheers,
Simon

Milan Svoboda wrote 3 years ago
(address . 47030@debbugs.gnu.org)(address . bug-guix@gnu.org)
d17573a9-82f7-21f0-7257-fa0bb9bf683f@centrum.cz
Hello,


I had the exactly same problem, and this fixes it:

Those packages in system config:

                    "bluez-alsa"
                    "bluez"
                    "blueman"
                    "pulseaudio"


This service added

      (service bluetooth-service-type
          (bluetooth-configuration
              (auto-enable? #t)))


And this to modify-services

            (dbus-root-service-type config =>
                       (dbus-configuration (inherit config)
                                (services (list blueman))))

Milan
Milan Svoboda wrote 3 years ago
(address . 47030@debbugs.gnu.org)(address . bug-guix@gnu.org)
03731b0d-e49e-1bfd-5a32-f5a19257181f@centrum.cz
Better solution was suggested on IRC instead of modify-services:

(simple-service 'blueman dbus-root-service-type (list blueman))

Milan

On 12/10/21 22:48, Milan Svoboda wrote:
Toggle quote (28 lines)
> Hello,
>
>
> I had the exactly same problem, and this fixes it:
>
> Those packages in system config:
>
>                     "bluez-alsa"
>                     "bluez"
>                     "blueman"
>                     "pulseaudio"
>
>
> This service added
>
>       (service bluetooth-service-type
>           (bluetooth-configuration
>               (auto-enable? #t)))
>
>
> And this to modify-services
>
>             (dbus-root-service-type config =>
>                        (dbus-configuration (inherit config)
>                                 (services (list blueman))))
>
> Milan
>
Milan Svoboda wrote 3 years ago
234688a4-2000-d700-91f9-b768a50d58f2@centrum.cz
It works for me. I had to run "PulseAudio volume control" or pulsemixer
and select BT headpone as output.

I am not using Gnome. My config is basically i3 + xfce4.

On 12/12/21 08:23, Grigory Shepelev wrote:
Toggle quote (19 lines)
> Bluetoothctl also works. So the problem is not bluetooth itself but
> it's "connection" with audio in gnome's default way.
>
> вс, 12 дек. 2021 г. в 10:18, Grigory Shepelev <shegeley@gmail.com>:
>
> Installed guix a few weeks ago on my desktop PC and just yesterday
> on my laptop (thinkpad L13). Having the same problem on both of them.
>
> Gnome's default bluetooth "app" doesn't work.
>
> After having the same config as in your example I can launch
> blueman-manager and connect to my bluetooth sound system. It makes
> a sound as if it's connected and displays itself as connected but
> I can't pick it as an output device in gnome's setting "sound" tab.
>
> How have you dealt with this?
>
> (nonnative in english, sorry for possible mistakes)
>
Attachment: file
Grigory Shepelev wrote 3 years ago
blueman fails to find a dbus service file
(address . 47030@debbugs.gnu.org)
CAGJuR-5SSiEO+ZzgUoJQH8n_zgfs30Ck6zomGCAGzMWku+e=Kg@mail.gmail.com
Installed guix a few weeks ago on my desktop PC and just yesterday on my
laptop (thinkpad L13). Having the same problem on both of them.

Gnome's default bluetooth "app" doesn't work.

After having the same config as in your example I can launch
blueman-manager and connect to my bluetooth sound system. It makes a sound
as if it's connected and displays itself as connected but I can't pick it
as an output device in gnome's setting "sound" tab.

How have you dealt with this?

(nonnative in english, sorry for possible mistakes)
Attachment: file
Grigory Shepelev wrote 3 years ago
CAGJuR-6F7T7TuzKjcFDQJSyAF0xoEd-Z193xfxUhCwWVuNhB3Q@mail.gmail.com
Bluetoothctl also works. So the problem is not bluetooth itself but it's
"connection" with audio in gnome's default way.

вс, 12 дек. 2021 г. в 10:18, Grigory Shepelev <shegeley@gmail.com>:

Toggle quote (14 lines)
> Installed guix a few weeks ago on my desktop PC and just yesterday on my
> laptop (thinkpad L13). Having the same problem on both of them.
>
> Gnome's default bluetooth "app" doesn't work.
>
> After having the same config as in your example I can launch
> blueman-manager and connect to my bluetooth sound system. It makes a sound
> as if it's connected and displays itself as connected but I can't pick it
> as an output device in gnome's setting "sound" tab.
>
> How have you dealt with this?
>
> (nonnative in english, sorry for possible mistakes)
>
Attachment: file
Simon Streit wrote 3 years ago
Re: bug#47030: blueman fails to find a dbus service file
(name . Grigory Shepelev)(address . shegeley@gmail.com)(address . 47030@debbugs.gnu.org)
ygu8rvvbh4l.fsf@netpanic.org
Grigory Shepelev <shegeley@gmail.com> writes:

Toggle quote (12 lines)
> Installed guix a few weeks ago on my desktop PC and just yesterday on
> my laptop (thinkpad L13). Having the same problem on both of them.
>
> Gnome's default bluetooth "app" doesn't work.
>
> After having the same config as in your example I can launch
> blueman-manager and connect to my bluetooth sound system. It makes a
> sound as if it's connected and displays itself as connected but I
> can't pick it as an output device in gnome's setting "sound" tab.
>
> How have you dealt with this?

I eventually solved my problem by adding
Toggle snippet (4 lines)
(simple-service 'dbus-extras
dbus-root-service-type
(list blueman))
to service list, and loading
Toggle snippet (2 lines)
(gnu packages networking)
to load blueman in the declaration.

Will close this bug report since it is not deemed to be one.


Kind regards
Simon
Simon Streit wrote 3 years ago
control message for bug #47030
(address . control@debbugs.gnu.org)
ygu7dbfbh3w.fsf@netpanic.org
close 47030
quit
?
Your comment

This issue is archived.

To comment on this conversation send an email to 47030@debbugs.gnu.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 47030
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch
You may also tag this issue. See list of standard tags. For example, to set the confirmed and easy tags
mumi command -t +confirmed -t +easy
Or, remove the moreinfo tag and set the help tag
mumi command -t -moreinfo -t +help