Re: Notmuch mail notifier applet for Gnome?
[notmuch-archives.git] / 2e / 2b28fe634a35267b338877035f46b5735fc559
1 Return-Path: <jason@jasonwoof.com>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 0C871431FD0\r
6         for <notmuch@notmuchmail.org>; Fri, 15 Jul 2011 11:11:31 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id 5ticXWGnYhNW for <notmuch@notmuchmail.org>;\r
16         Fri, 15 Jul 2011 11:11:29 -0700 (PDT)\r
17 Received: from mail-qy0-f174.google.com (mail-qy0-f174.google.com\r
18         [209.85.216.174]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 8101D431FB6\r
21         for <notmuch@notmuchmail.org>; Fri, 15 Jul 2011 11:11:29 -0700 (PDT)\r
22 Received: by qyk29 with SMTP id 29so606019qyk.5\r
23         for <notmuch@notmuchmail.org>; Fri, 15 Jul 2011 11:11:28 -0700 (PDT)\r
24 Received: by 10.224.207.202 with SMTP id fz10mr3174034qab.168.1310753488739;\r
25         Fri, 15 Jul 2011 11:11:28 -0700 (PDT)\r
26 Received: from compy.jasonwoof.org (c-98-216-100-90.hsd1.ma.comcast.net\r
27         [98.216.100.90])\r
28         by mx.google.com with ESMTPS id o4sm1032348qct.1.2011.07.15.11.11.26\r
29         (version=TLSv1/SSLv3 cipher=OTHER);\r
30         Fri, 15 Jul 2011 11:11:26 -0700 (PDT)\r
31 Date: Fri, 15 Jul 2011 14:11:23 -0400\r
32 From: Jason Woofenden <jason@jasonwoof.com>\r
33 To: notmuch@notmuchmail.org\r
34 Subject: Re: Notmuch mail notifier applet for Gnome?\r
35 Message-ID: <20110715181123.GB27859@compy.jasonwoof.org>\r
36 Mail-Followup-To: notmuch@notmuchmail.org\r
37 References: <87fwmbcg4h.fsf@hecate.student.uu.se>\r
38 MIME-Version: 1.0\r
39 Content-Type: text/plain; charset=us-ascii\r
40 Content-Disposition: inline\r
41 In-Reply-To: <87fwmbcg4h.fsf@hecate.student.uu.se>\r
42 User-Agent: Mutt/1.5.21 (2010-09-15)\r
43 X-BeenThere: notmuch@notmuchmail.org\r
44 X-Mailman-Version: 2.1.13\r
45 Precedence: list\r
46 List-Id: "Use and development of the notmuch mail system."\r
47         <notmuch.notmuchmail.org>\r
48 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
49         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
50 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
51 List-Post: <mailto:notmuch@notmuchmail.org>\r
52 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
53 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
54         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
55 X-List-Received-Date: Fri, 15 Jul 2011 18:11:31 -0000\r
56 \r
57 Albin,\r
58 \r
59 I couldn't find any existing program to get put text into the gnome\r
60 panel, so I eventually built something:\r
61 \r
62 https://gitorious.org/jasonwoof/now-playing-d\r
63 \r
64 It just reads stdin, and displays the most recent full line in your\r
65 notification area.\r
66 \r
67 I do something like this:\r
68 \r
69         mkfifo ~/tmp/systray-text\r
70         while true; do cat ~/tmp/systray-text; done | ~/bin/now-playing-d\r
71 \r
72 then I can:\r
73 \r
74         echo "$(notmuch count tag:unread) unread" > ~/tmp/systray-text\r
75 \r
76 \r
77 I'm still using gnomeConfig and set xmonad as the gnome window\r
78 manager. Recently I got gnome not to start gname-panel (because\r
79 gnome-panel broke) and I've been running xmobar instead. Just\r
80 wanted to say that you don't have to run gnome-panel.\r
81 \r
82 You can disable gnome-panel with gconf-editor, and say that your\r
83 panel command is /bin/true or something.\r
84 \r
85     -- Jason\r