all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alex Kost <alezost@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: [PATCH 2/2] gnu: Add dunst.
Date: Sat, 11 Jul 2015 17:11:18 +0300	[thread overview]
Message-ID: <87zj32wzqx.fsf@gmail.com> (raw)
In-Reply-To: <87bnfke76p.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 10 Jul 2015 10:41:02 +0200")

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

> Alex Kost <alezost@gmail.com> skribis:
>
>> From 8d8928b84b565eb47c36c1e6b2ff2b3c963076d2 Mon Sep 17 00:00:00 2001
>> From: Alex Kost <alezost@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	other threads:[~2015-07-11 14:11 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-08 18:50 [PATCH 2/2] gnu: Add dunst Alex Kost
2015-07-10  8:41 ` Ludovic Courtès
2015-07-11 14:11   ` Alex Kost [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87zj32wzqx.fsf@gmail.com \
    --to=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.