emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <ndokos@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Does org-nofity uses dbus?
Date: Wed, 22 Jun 2016 12:45:08 -0400	[thread overview]
Message-ID: <87h9clcgvf.fsf@alphaville.usersys.redhat.com> (raw)
In-Reply-To: CANO68EPVzqAjogEmWrN2t7sb0MM7h+mfMqsPGenxZfAcJiv3Uw@mail.gmail.com

Xi Shen <davidshen84@gmail.com> writes:

> Well~that's good news. But I think dbus requires X11 to work. But in Cygwin environment, people usually
> do not configure a full X11 environment.
>
I don't think that's true: dbus is "just" a message bus - an IPC
mechanism that different processes use to communicate. It has nothing to
do with X11 or any other windowing protocol.

The dbus-daemon manual page says:

       The systemwide daemon is largely used for broadcasting system events, such as changes
       to the printer queue, or adding/removing devices.

       The per-session daemon is used for various interprocess communication among desktop
       applications (however, it is not tied to X or the GUI in any way).


What makes you think that it requires X11?

> Besides, for org-notify, could dbus help it playing a notification sound on Windows? Or popup a
> notification message?
>

Sure it could: you send a message on the dbus saying "play a sound" and some other
process listening on the dbus gets the message and plays a sound.

> So what I am thinking is to get some Windows native behavior for org-notify on Windows/Cygwin
> environment.
>

Bad idea imo.

> On Tue, Jun 21, 2016 at 10:25 PM Fabrice Popineau <fabrice.popineau@centralesupelec.fr> wrote:
>
>     Le 21 juin 2016 16:14, "Xi Shen" <davidshen84@gmail.com> a écrit :
>     >
>     > Yeah...getting dbus to work on Windows will be hard.
>    
>     Actually, not so much. Dbus does work on windows. It doesn't work right now on emacs. I'm looking
>     into it.
>    
>     Fabrice
>    
> --
>
> Thanks,
> David S.
>

-- 
Nick

  reply	other threads:[~2016-06-22 16:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-21  6:31 Does org-nofity uses dbus? Xi Shen
2016-06-21  8:45 ` Fabrice Popineau
2016-06-21 14:14   ` Xi Shen
2016-06-21 14:25     ` Fabrice Popineau
2016-06-22 12:16       ` Xi Shen
2016-06-22 16:45         ` Nick Dokos [this message]
2016-06-22 17:02         ` Fabrice Popineau
2016-06-23 13:12           ` Xi Shen

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

  List information: https://www.orgmode.org/

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

  git send-email \
    --in-reply-to=87h9clcgvf.fsf@alphaville.usersys.redhat.com \
    --to=ndokos@gmail.com \
    --cc=emacs-orgmode@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 public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).