unofficial mirror of bug-guix@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47030: blueman fails to find a dbus service file
@ 2021-03-09 21:34 Simon Streit
  2021-12-10 21:48 ` Milan Svoboda
  2021-12-12  7:18 ` Grigory Shepelev
  0 siblings, 2 replies; 7+ messages in thread
From: Simon Streit @ 2021-03-09 21:34 UTC (permalink / raw)
  To: 47030

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




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47030: blueman fails to find a dbus service file
  2021-03-09 21:34 bug#47030: blueman fails to find a dbus service file Simon Streit
@ 2021-12-10 21:48 ` Milan Svoboda
  2021-12-10 22:04   ` Milan Svoboda
  2021-12-12  7:18 ` Grigory Shepelev
  1 sibling, 1 reply; 7+ messages in thread
From: Milan Svoboda @ 2021-12-10 21:48 UTC (permalink / raw)
  To: 47030

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





^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47030: blueman fails to find a dbus service file
  2021-12-10 21:48 ` Milan Svoboda
@ 2021-12-10 22:04   ` Milan Svoboda
  0 siblings, 0 replies; 7+ messages in thread
From: Milan Svoboda @ 2021-12-10 22:04 UTC (permalink / raw)
  To: 47030

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
>




^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47030: blueman fails to find a dbus service file
  2021-03-09 21:34 bug#47030: blueman fails to find a dbus service file Simon Streit
  2021-12-10 21:48 ` Milan Svoboda
@ 2021-12-12  7:18 ` Grigory Shepelev
  2021-12-12  7:23   ` Grigory Shepelev
  2022-01-04 16:27   ` Simon Streit
  1 sibling, 2 replies; 7+ messages in thread
From: Grigory Shepelev @ 2021-12-12  7:18 UTC (permalink / raw)
  To: 47030

[-- Attachment #1: Type: text/plain, Size: 531 bytes --]

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 #2: Type: text/html, Size: 711 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47030: blueman fails to find a dbus service file
  2021-12-12  7:18 ` Grigory Shepelev
@ 2021-12-12  7:23   ` Grigory Shepelev
  2021-12-12 11:12     ` Milan Svoboda
  2022-01-04 16:27   ` Simon Streit
  1 sibling, 1 reply; 7+ messages in thread
From: Grigory Shepelev @ 2021-12-12  7:23 UTC (permalink / raw)
  To: 47030, milan.svoboda

[-- Attachment #1: Type: text/plain, Size: 772 bytes --]

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 #2: Type: text/html, Size: 1210 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47030: blueman fails to find a dbus service file
  2021-12-12  7:23   ` Grigory Shepelev
@ 2021-12-12 11:12     ` Milan Svoboda
  0 siblings, 0 replies; 7+ messages in thread
From: Milan Svoboda @ 2021-12-12 11:12 UTC (permalink / raw)
  To: Grigory Shepelev, 47030

[-- Attachment #1: Type: text/plain, Size: 1006 bytes --]

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@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 #2: Type: text/html, Size: 2241 bytes --]

^ permalink raw reply	[flat|nested] 7+ messages in thread

* bug#47030: blueman fails to find a dbus service file
  2021-12-12  7:18 ` Grigory Shepelev
  2021-12-12  7:23   ` Grigory Shepelev
@ 2022-01-04 16:27   ` Simon Streit
  1 sibling, 0 replies; 7+ messages in thread
From: Simon Streit @ 2022-01-04 16:27 UTC (permalink / raw)
  To: Grigory Shepelev; +Cc: 47030

Grigory Shepelev <shegeley@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 




^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2022-01-04 16:31 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-09 21:34 bug#47030: blueman fails to find a dbus service file Simon Streit
2021-12-10 21:48 ` Milan Svoboda
2021-12-10 22:04   ` Milan Svoboda
2021-12-12  7:18 ` Grigory Shepelev
2021-12-12  7:23   ` Grigory Shepelev
2021-12-12 11:12     ` Milan Svoboda
2022-01-04 16:27   ` Simon Streit

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).