From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: pmlists@free.fr (Peter =?utf-8?Q?M=C3=BCnster?=) Newsgroups: gmane.emacs.help Subject: Re: notifications.el: D-Bus error: "No connection to bus", :session Date: Sun, 23 Oct 2011 19:15:55 +0200 Message-ID: <87sjmj39ys.fsf@micropit.couberia.bzh> References: <8762jf3eqy.fsf@micropit.couberia.bzh> <87zkgr4qv1.fsf@gmx.de> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1319390183 13820 80.91.229.12 (23 Oct 2011 17:16:23 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 23 Oct 2011 17:16:23 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Oct 23 19:16:19 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1RI1ek-0004A8-SF for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Oct 2011 19:16:19 +0200 Original-Received: from localhost ([::1]:39836 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RI1ek-0001Gl-2k for geh-help-gnu-emacs@m.gmane.org; Sun, 23 Oct 2011 13:16:18 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:36085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RI1ef-0001GV-MK for help-gnu-emacs@gnu.org; Sun, 23 Oct 2011 13:16:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RI1ed-00041n-Jm for help-gnu-emacs@gnu.org; Sun, 23 Oct 2011 13:16:13 -0400 Original-Received: from lo.gmane.org ([80.91.229.12]:33677) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RI1ed-00041i-CJ for help-gnu-emacs@gnu.org; Sun, 23 Oct 2011 13:16:11 -0400 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RI1eb-00045U-M8 for help-gnu-emacs@gnu.org; Sun, 23 Oct 2011 19:16:09 +0200 Original-Received: from arennes-359-1-251-199.w2-2.abo.wanadoo.fr ([2.2.202.199]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Oct 2011 19:16:09 +0200 Original-Received: from pmlists by arennes-359-1-251-199.w2-2.abo.wanadoo.fr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 23 Oct 2011 19:16:09 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 26 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: arennes-359-1-251-199.w2-2.abo.wanadoo.fr User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:qiuBkKxzJPrc9sH4/UR7bIYlRS4= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:82624 Archived-At: On Sun, Oct 23 2011, Michael Albinus wrote: > I suspect wrong system setup. Do you have a running D-Bus session bus? I don't know. Probably not. > You could check for the environment variable $DBUS_SESSION_BUS_ADDRESS. There is no such variable. After --8<---------------cut here---------------start------------->8--- eval `dbus-launch` export DBUS_SESSION_BUS_ADDRESS --8<---------------cut here---------------end--------------->8--- it works. Shouldn't notifications.el start the dbus itself, if needed? Or shouldn't it mention in the commentary, that dbus must be running? (The program "notify-send" works without such problems...) Thanks for your help! -- Peter