From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.emacs.gnus.general/82530 Path: news.gmane.org!not-for-mail From: Julien Cubizolles Newsgroups: gmane.emacs.gnus.general Subject: Re: gnus-notifications popup style Date: Wed, 21 Nov 2012 18:24:56 +0100 Message-ID: <87ehjm98d3.fsf@free.fr> References: <87fw43rs3t.fsf@free.fr> <87a9ubm1pp.fsf@dex.adm.naquadah.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1353534798 27545 80.91.229.3 (21 Nov 2012 21:53:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 21 Nov 2012 21:53:18 +0000 (UTC) To: ding@gnus.org Original-X-From: ding-owner+M30796@lists.math.uh.edu Wed Nov 21 22:53:30 2012 Return-path: Envelope-to: ding-account@gmane.org Original-Received: from util0.math.uh.edu ([129.7.128.18]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TbIEb-0004Y4-9D for ding-account@gmane.org; Wed, 21 Nov 2012 22:53:29 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.math.uh.edu) by util0.math.uh.edu with smtp (Exim 4.63) (envelope-from ) id 1TbIDt-0008Oa-CE; Wed, 21 Nov 2012 15:52:45 -0600 Original-Received: from mx2.math.uh.edu ([129.7.128.33]) by util0.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.63) (envelope-from ) id 1TbIDq-0008OI-JI for ding@lists.math.uh.edu; Wed, 21 Nov 2012 15:52:42 -0600 Original-Received: from quimby.gnus.org ([80.91.231.51]) by mx2.math.uh.edu with esmtps (TLSv1:AES256-SHA:256) (Exim 4.76) (envelope-from ) id 1TbIDo-0006aA-KN for ding@lists.math.uh.edu; Wed, 21 Nov 2012 15:52:41 -0600 Original-Received: from plane.gmane.org ([80.91.229.3]) by quimby.gnus.org with esmtp (Exim 4.72) (envelope-from ) id 1TbIDm-0001PC-IX for ding@gnus.org; Wed, 21 Nov 2012 22:52:38 +0100 Original-Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1TbIDu-00043F-LI for ding@gnus.org; Wed, 21 Nov 2012 22:52:46 +0100 Original-Received: from gas45-3-82-244-252-119.fbx.proxad.net ([82.244.252.119]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2012 22:52:46 +0100 Original-Received: from j.cubizolles by gas45-3-82-244-252-119.fbx.proxad.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 21 Nov 2012 22:52:46 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 40 Original-X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: gas45-3-82-244-252-119.fbx.proxad.net User-Agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux) Cancel-Lock: sha1:RSNQm83hwRTBmoZPndLLUce1yqw= X-Spam-Score: -0.6 (/) List-ID: Precedence: bulk Xref: news.gmane.org gmane.emacs.gnus.general:82530 Archived-At: Julien Danjou writes: > On Wed, Nov 21 2012, Julien Cubizolles wrote: > >> I recently discovered (and tried successfully) >> gnus-notifications. However the popups it uses are big (and ugly) >> standard gtk windows and not the nice OSD ones used by other >> notifications (volume/wifi/battery). I was under the impression that it >> would use the standard notification method, as gnus-desktop-notify >> (another gnus notification tool) does. > > gnus-notifications relies on Freedesktop notifications API: > > http://developer.gnome.org/notification-spec/ > > I don't know about gnus-desktop-notify. It seems it uses the > `notify-send' program, which should do the same. It turns out it's the :actions parameter that makes it choose the grey box method. If I comment the actions line in what follows, I get a nice OSD. It seems to be a unity/Ubuntu problem then. I'll give it a try with gnome-shell. ,---- | (notifications-notify | :title "from" | :body "subject" | :actions '("read" "Read") | :on-action 'gnus-notifications-action | :app-icon (gnus-funcall-no-warning | 'image-search-load-path "gnus/gnus.png") | :app-name "Gnus" | :category "email.arrived" | :timeout gnus-notifications-timeout | ;; :image-path photo-file | ) `---- Julien.