From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Albinus Newsgroups: gmane.emacs.devel Subject: Re: Emacs and the Status Notification Specification Date: Sun, 26 Jun 2011 11:25:22 +0200 Message-ID: <87iprt7xml.fsf@gmx.de> References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1309080353 14336 80.91.229.12 (26 Jun 2011 09:25:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sun, 26 Jun 2011 09:25:53 +0000 (UTC) Cc: Emacs discussions To: Tom Tromey Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Jun 26 11:25:48 2011 Return-path: Envelope-to: ged-emacs-devel@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 1Qalb9-0004JO-N3 for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2011 11:25:47 +0200 Original-Received: from localhost ([::1]:56617 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qalb8-0006x2-P7 for ged-emacs-devel@m.gmane.org; Sun, 26 Jun 2011 05:25:46 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:38310) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Qalaq-0006wX-Ni for emacs-devel@gnu.org; Sun, 26 Jun 2011 05:25:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Qalap-0006An-Bh for emacs-devel@gnu.org; Sun, 26 Jun 2011 05:25:28 -0400 Original-Received: from mailout-de.gmx.net ([213.165.64.22]:59353) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1Qalao-0006AT-Om for emacs-devel@gnu.org; Sun, 26 Jun 2011 05:25:27 -0400 Original-Received: (qmail invoked by alias); 26 Jun 2011 09:25:24 -0000 Original-Received: from p57BB958A.dip0.t-ipconnect.de (EHLO detlef.gmx.de) [87.187.149.138] by mail.gmx.net (mp070) with SMTP; 26 Jun 2011 11:25:24 +0200 X-Authenticated: #3708877 X-Provags-ID: V01U2FsdGVkX18+B8Eos5E+g1dxy/VXsO8/HxPNOkBChNih3DlwCQ q8N5uTE6X+C323 In-Reply-To: (Tom Tromey's message of "Thu, 23 Jun 2011 11:31:59 -0600") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux) X-Y-GMX-Trusted: 0 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 213.165.64.22 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:140977 Archived-At: Tom Tromey writes: > The Status Notification Specification is a D-Bus spec for what are > sometimes called "systray icons". It lets applications create systray > icons using just D-Bus, rather than the mix of different things required > by the older spec. > > The spec itself is here: > > http://www.notmart.org/misc/statusnotifieritem/index.html > > As far as I know, only KDE currently implements this spec. However, > nothing prevents it from being implemented in other desktops. The spec defines the interfaces org.freedesktop. {StatusNotifierItem,StatusNotifierWatcher,StatusNotifierHost}. You implement org.kde.{StatusNotifierItem,StatusNotifierWatcher}. I guess, this is because the freedesktop version is not available yet. They seem to be identical wrt methods, signals and properties. Therefore, I propose you register your objects for org.freedesktop.StatusNotifier* and org.kde.StatusNotifier* interfaces in parallel. Besides the properties, it might also be a good idea to offer standard interfaces like org.freedesktop.DBus.Introspectable and org.freedesktop.DBus.ObjectManager. (Hmm, dbus.el shall be extended for ofD.ObjectManager). > Tom Best regards, Michael.