[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH 2/2] gnu: Add dunst.
From: |
Alex Kost |
Subject: |
Re: [PATCH 2/2] gnu: Add dunst. |
Date: |
Sat, 11 Jul 2015 17:11:18 +0300 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) |
Ludovic Courtès (2015-07-10 11:41 +0300) wrote:
> Alex Kost <address@hidden> skribis:
>
>> From 8d8928b84b565eb47c36c1e6b2ff2b3c963076d2 Mon Sep 17 00:00:00 2001
>> From: Alex Kost <address@hidden>
>> 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