Ludovic Courtès (2015-07-10 11:41 +0300) wrote:

> Alex Kost <alez...@gmail.com> skribis:
>
>> From 8d8928b84b565eb47c36c1e6b2ff2b3c963076d2 Mon Sep 17 00:00:00 2001
>> From: Alex Kost <alez...@gmail.com>
>> Date: Wed, 8 Jul 2015 21:03:49 +0300
>> Subject: [PATCH 2/2] gnu: Add dunst.
>>
>> * gnu/packages/dunst.scm: New file.
>> * gnu-system.am (GNU_SYSTEM_MODULES): Add it.
>
> LGTM.
>
> From the description, I gather it is started automatically and thus
> doesn’t need a GuixSD service definition, right?

Yes, it is not supposed to be started by root.  It has a dbus service
which is installed into "~/.guix-profile/share/dbus-1/services/" so when
something tries to use "org.freedesktop.Notifications" protocol, D-Bus
will start a notification daemon (dunst in this case) automatically.

For example, if you evaluate the following in Emacs:

(require 'notifications)
(notifications-notify :title "Hello" :body "Guix is great!")

you will get a popup message (if you have "dbus-daemon" running for a
user session).

-- 
Alex

Reply via email to