[CentOS] Mail notification in panel/system tray on CentOS 6

Toralf Lund toralf.lund at pgs.com
Wed Jan 30 12:25:27 UTC 2013


On 29/01/13 16:22, Toralf Lund wrote:
> On 28/01/13 14:18, SilverTip257 wrote:
>> On Mon, Jan 28, 2013 at 2:48 AM, Toralf Lund<toralf.lund at pgs.com>   wrote:
>>
>>> On 27/01/13 07:13, SilverTip257 wrote:
>>>> On Fri, Jan 25, 2013 at 10:10 AM, Giles Coochey<giles at coochey.net>
>>>    wrote:
>>>>> On 25/01/2013 15:00, Toralf Lund wrote:
>>>>>
>>>>>> Hi.
>>>>>>
>>>>>> Does anyone know of a way to add a "new mail" notification icon to the
>>>>>> panel/system tray under CentOS 6?
>>>>>> On CentOS 5, I used the "mail-notification" software package provided
> [ ... ]
>>> You might consider having your MUA do the notifying rather than having an
>>> applet go check your inbox for you.
>>> I'm mostly using thunderbird for e-mail, and it actually also supports
>>> notification via pop-ups. But:
>>>
>>>    1. I think it's nice to be able to close the application completely
>>>       when not working on e-mail.
>>>
>> I hear you! ;)
>>
>>
>>>    2. "Global" popups are generally annoying/too obtrusive. A small icon
>>>       that changes state is much better.
>>>
>> Understandable.
>>
>> http://www.nongnu.org/mailnotify/
>> I'm guessing this is what you've used in the past.
> Actually, what I used on CentOS 5 was the below mentioned software.
Which is really the same as the one referenced above, I now notice ;-)

I've now managed to build my own rpm for this, by combining the last 
source code release from the above, the spec file from the EPEL 5 source 
rpm, a bit of trial, and let's not forget, a fair amount of error, too. 
I'll try to attach the spec file...

- Toralf




> Before that, i.e. on EL 4, I believe something else was included in the
> main distro, but I don't remember what.
>
>> https://admin.fedoraproject.org/pkgdb/acls/name/mail-notification
>> Even though the package is listed it appears nobody has packaged it in EPEL
>> (for example).
>> http://dl.fedoraproject.org/pub/epel/6/i386/repoview/letter_m.group.html
> Well, it is actually included in EPEL 5, but not 6.
>
>> Not as simple, but you might consider building it on your system.
> I tried both binary and source rpms from EPEL5, but it didn't work too
> well. Actually, the problem wasn't mail-notification itself, but rather
> eel2, which it requires. This used to be part of the main distribution,
> but isn't any more. Binaries from past versions have dependencies that
> are hard to resolve, and an attempt to rebuild from source rpm failed
> with the below error messages. Maybe I can find away around this, but I
> don't have time to try right now...
>
> test-eel-image-table.c: In function 'image_table_child_pressed_callback':
> test-eel-image-table.c:126: error: 'G_GNUC_FUNCTION' undeclared (first
> use in this function)
> test-eel-image-table.c:126: error: (Each undeclared identifier is
> reported only once
> test-eel-image-table.c:126: error: for each function it appears in.)
> test-eel-image-table.c: In function 'image_table_child_released_callback':
> test-eel-image-table.c:141: error: 'G_GNUC_FUNCTION' undeclared (first
> use in this function)
> test-eel-image-table.c: In function 'image_table_child_clicked_callback':
> test-eel-image-table.c:156: error: 'G_GNUC_FUNCTION' undeclared (first
> use in this function)
> test-eel-image-table.c: In function 'foo_timeout':
> test-eel-image-table.c:167: error: 'G_GNUC_FUNCTION' undeclared (first
> use in this function)
> test-eel-image-table.c: In function 'image_table_size_allocate':
> test-eel-image-table.c:195: error: 'G_GNUC_FUNCTION' undeclared (first
> use in this function)
>
> - Toralf
>
>
>>> - Toralf
>>>
>>>
>>>
>>>>> It isn't so common to receive email locally anymore, most people are
>>> using
>>>>> remote mail servers.
>>>>>
>>>>> --
>>>>> Regards,
>>>>>
>>>>> Giles Coochey, CCNA, CCNAS
>>>>> NetSecSpec Ltd
>>>>> +44 (0) 7983 877438
>>>>> http://www.coochey.net
>>>>> http://www.netsecspec.co.uk
>>>>> giles at coochey.net
>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> CentOS mailing list
>>>>> CentOS at centos.org
>>>>> http://lists.centos.org/mailman/listinfo/centos
>>>>>
>>>>>
>>> This e-mail, including any attachments and response string, may contain
>>> proprietary information which is confidential and may be legally
>>> privileged. It is for the intended recipient only. If you are not the
>>> intended recipient or transmission error has misdirected this e-mail,
>>> please notify the author by return e-mail and delete this message and any
>>> attachment immediately. If you are not the intended recipient you must not
>>> use, disclose, distribute, forward, copy, print or rely on this e-mail in
>>> any way except as permitted by the author.
>>> _______________________________________________
>>> CentOS mailing list
>>> CentOS at centos.org
>>> http://lists.centos.org/mailman/listinfo/centos
>>>
>>
>
> This e-mail, including any attachments and response string, may contain proprietary information which is confidential and may be legally privileged. It is for the intended recipient only. If you are not the intended recipient or transmission error has misdirected this e-mail, please notify the author by return e-mail and delete this message and any attachment immediately. If you are not the intended recipient you must not use, disclose, distribute, forward, copy, print or rely on this e-mail in any way except as permitted by the author.
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: mail-notification-new.spec
URL: <http://lists.centos.org/pipermail/centos/attachments/20130130/3fb20a9b/attachment.ksh>


More information about the CentOS mailing list