GNU bug report logs - #47030
blueman fails to find a dbus service file

Previous Next

Package: guix;

Reported by: Simon Streit <lists <at> netpanic.org>

Date: Tue, 9 Mar 2021 22:07:01 UTC

Severity: normal

Done: Simon Streit <simon <at> netpanic.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 47030 in the body.
You can then email your comments to 47030 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#47030; Package guix. (Tue, 09 Mar 2021 22:07:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Simon Streit <lists <at> netpanic.org>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Tue, 09 Mar 2021 22:07:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Simon Streit <lists <at> netpanic.org>
To: bug-guix <at> gnu.org
Subject: blueman fails to find a dbus service file
Date: Tue, 09 Mar 2021 22:34:13 +0100
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:

--8<---------------cut here---------------start------------->8---
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
--8<---------------cut here---------------end--------------->8---

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

--8<---------------cut here---------------start------------->8---
(modify-services %desktop-services
                 (dbus config => (dbus-service #:services (list blueman))))
--8<---------------cut here---------------end--------------->8---

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

[1] https://github.com/blueman-project/blueman/issues/948
[2] https://github.com/blueman-project/blueman/wiki/PolicyKit




Information forwarded to bug-guix <at> gnu.org:
bug#47030; Package guix. (Fri, 10 Dec 2021 22:23:02 GMT) Full text and rfc822 format available.

Message #8 received at 47030 <at> debbugs.gnu.org (full text, mbox):

From: Milan Svoboda <milan.svoboda <at> centrum.cz>
To: 47030 <at> debbugs.gnu.org
Cc: bug-guix <at> gnu.org
Subject: blueman fails to find a dbus service file
Date: Fri, 10 Dec 2021 22:48:12 +0100
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





Information forwarded to bug-guix <at> gnu.org:
bug#47030; Package guix. (Fri, 10 Dec 2021 22:23:02 GMT) Full text and rfc822 format available.

Message #11 received at 47030 <at> debbugs.gnu.org (full text, mbox):

From: Milan Svoboda <milan.svoboda <at> centrum.cz>
To: 47030 <at> debbugs.gnu.org
Cc: bug-guix <at> gnu.org
Subject: Re: blueman fails to find a dbus service file
Date: Fri, 10 Dec 2021 23:04:27 +0100
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:
> 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
>




Information forwarded to bug-guix <at> gnu.org:
bug#47030; Package guix. (Sun, 12 Dec 2021 11:13:01 GMT) Full text and rfc822 format available.

Message #14 received at 47030 <at> debbugs.gnu.org (full text, mbox):

From: Milan Svoboda <milan.svoboda <at> centrum.cz>
To: Grigory Shepelev <shegeley <at> gmail.com>, 47030 <at> debbugs.gnu.org
Subject: Re: blueman fails to find a dbus service file
Date: Sun, 12 Dec 2021 12:12:06 +0100
[Message part 1 (text/plain, inline)]
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:
> 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 <at> 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)
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47030; Package guix. (Sun, 12 Dec 2021 13:43:02 GMT) Full text and rfc822 format available.

Message #17 received at 47030 <at> debbugs.gnu.org (full text, mbox):

From: Grigory Shepelev <shegeley <at> gmail.com>
To: 47030 <at> debbugs.gnu.org
Subject: blueman fails to find a dbus service file
Date: Sun, 12 Dec 2021 10:18:35 +0300
[Message part 1 (text/plain, inline)]
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)
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47030; Package guix. (Sun, 12 Dec 2021 13:43:02 GMT) Full text and rfc822 format available.

Message #20 received at 47030 <at> debbugs.gnu.org (full text, mbox):

From: Grigory Shepelev <shegeley <at> gmail.com>
To: 47030 <at> debbugs.gnu.org, milan.svoboda <at> centrum.cz
Subject: Re: blueman fails to find a dbus service file
Date: Sun, 12 Dec 2021 10:23:08 +0300
[Message part 1 (text/plain, inline)]
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 <at> 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)
>
[Message part 2 (text/html, inline)]

Information forwarded to bug-guix <at> gnu.org:
bug#47030; Package guix. (Tue, 04 Jan 2022 16:29:01 GMT) Full text and rfc822 format available.

Message #23 received at 47030 <at> debbugs.gnu.org (full text, mbox):

From: Simon Streit <simon <at> netpanic.org>
To: Grigory Shepelev <shegeley <at> gmail.com>
Cc: 47030 <at> debbugs.gnu.org
Subject: Re: bug#47030: blueman fails to find a dbus service file
Date: Tue, 04 Jan 2022 17:27:54 +0100
Grigory Shepelev <shegeley <at> gmail.com> writes:

> 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
--8<---------------cut here---------------start------------->8---
(simple-service 'dbus-extras
                dbus-root-service-type
                (list blueman))
--8<---------------cut here---------------end--------------->8---
to service list, and loading
--8<---------------cut here---------------start------------->8---
(gnu packages networking)
--8<---------------cut here---------------end--------------->8---
to load blueman in the declaration.

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


Kind regards
Simon 




bug closed, send any further explanations to 47030 <at> debbugs.gnu.org and Simon Streit <lists <at> netpanic.org> Request was from Simon Streit <simon <at> netpanic.org> to control <at> debbugs.gnu.org. (Tue, 04 Jan 2022 16:29:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Wed, 02 Feb 2022 12:24:05 GMT) Full text and rfc822 format available.

This bug report was last modified 2 years and 82 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.