[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: D-Bus and notifications

From: Michael Albinus
Subject: Re: D-Bus and notifications
Date: Fri, 12 Oct 2018 13:55:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

"Garreau, Alexandre" <address@hidden> writes:

> Hi all,

Hi Alexandre,

> I wanted to get Gnus warn me of some personal mails by sound and others
> with delay, but I noticed the “urgency” flag in freedesktop
> notifications spec is not urgency but importance, the “timeout” only is
> about displaying, and the “sound-name” is not a conditional hint but an
> imperative depending on capabilites, I guess, and the API stays quite
> imperative and not that much semantic, so there isn’t much freedom for
> notification server…
> I wanted to experiment more flexibility, so I’d like to know if dbus.el
> can be used not only to have a notif client but also a server, so that
> the notifications would go to emacs instead of, say, dunst, that I
> wouldn’t use anymore.
> In that case, could I experiment some new hints or are the specs
> hardcoded in C somewhere, like in dbus?

Read the D-Bus manual of Emacs: (info "(dbus)")

It gives you the full flexibility to design your interface. Chapter
"Offering own methods" is about the server part.

Best regards, Michael.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]