mbox series

[bug#58454,0/1] gnu: home: Add home-dbus-service-type.

Message ID 20221011194513.26008-1-paren@disroot.org
Headers show
Series gnu: home: Add home-dbus-service-type. | expand

Message

\( Oct. 11, 2022, 7:45 p.m. UTC
This patch adds a home service for running D-Bus in session mode. It's
a prerequisite for the ``home-mako-service-type'' I'm writing, as Mako
requires a session D-Bus daemon to be running so that it can receive
notifications.

( (1):
  gnu: home: Add home-dbus-service-type.

 doc/guix.texi                 | 17 ++++++++++++
 gnu/home/services/desktop.scm | 52 ++++++++++++++++++++++++++++++++++-
 2 files changed, 68 insertions(+), 1 deletion(-)

Comments

Ludovic Courtès Oct. 14, 2022, 3:15 p.m. UTC | #1
Hi!

"(" <paren@disroot.org> skribis:

> This patch adds a home service for running D-Bus in session mode. It's
> a prerequisite for the ``home-mako-service-type'' I'm writing, as Mako
> requires a session D-Bus daemon to be running so that it can receive
> notifications.

Isn’t the session bus automatically started on demand?  I don’t remember
having to run it explicitly, but maybe it’s because GDM does it for me?

In any case, it would be nice in the manual to document when
‘home-dbus-service-type’ is useful; it doesn’t seem useful for me with
GDM + EXWM at least.

Thoughts?

Ludo’.
\( Oct. 14, 2022, 7:19 p.m. UTC | #2
Hey,

On Fri Oct 14, 2022 at 4:15 PM BST, Ludovic Courtès wrote:
> Isn’t the session bus automatically started on demand?  I don’t remember
> having to run it explicitly, but maybe it’s because GDM does it for me?
>
> In any case, it would be nice in the manual to document when
> ‘home-dbus-service-type’ is useful; it doesn’t seem useful for me with
> GDM + EXWM at least.

Yeah, I think complex login managers like GDM do start it automatically, but simpler things like greetd don't.

    -- (