PDA

View Full Version : Evolution popup notification



code_astronomer
2nd April 2006, 02:16 PM
Hello,
Is it possible to have Evolution pop up a message when new mail is received? (Like in Outlook 2003)
Thanks

bob
2nd April 2006, 03:06 PM
Under Preferences > Mail Preferences, there's the option to 'beep' or play a sound when new mail arrives. Neither Evolution nor Thunderbird seem to have the 'pop-up' notification.

code_astronomer
2nd April 2006, 03:15 PM
oh. I have it already set up to play a sound, but was hoping I could get a pop up notification too.
Thanks anyway :)

fDESIGN
2nd April 2006, 04:09 PM
On FC5 you can install mail-notification:

yum install mail-notification

Launch it from the "internet" section of the application menu. You may also want to set it to start up on login ......it works well for me.

code_astronomer
2nd April 2006, 04:16 PM
cool thank you.
I'll have a look into that in a min.

I found a setting that lets you run a program when you get mail (for your filters) so I set it up to run a script that just uses zenity to popup a message lol...not as glamourous as the Outlook fade in, fade out style...and to be honest it's annoying having a popup that you have to click!

I might have to write my own app that will display something if I want it like outlook I suppose. I'll checkout this notification thing though...I will probably be quite happy with it.

fDESIGN
2nd April 2006, 04:26 PM
I used to used "evonotify" on FC4 that was run by an filter in evolution when I received new mail.

http://www.grawert.net/software/evonotify/index.html

I had to compile a few things for dependencies but it worked great also.

code_astronomer
2nd April 2006, 04:31 PM
cool thanks :)
I installed mail-notification and it seems to do the trick.
I'll give this evonotify a go in a min and see which I prefer.
Thanks a lot :)

jim
2nd April 2006, 05:15 PM
I used to used "evonotify" on FC4 that was run by an filter in evolution when I received new mail.

http://www.grawert.net/software/evonotify/index.html

I had to compile a few things for dependencies but it worked great also.
what dependencies did you need to install ?

code_astronomer
2nd April 2006, 05:24 PM
To solve dependency issues, I issued the following command:

yum installed libgnome2-wnck-perl libgtk2-trayicon-perl libgnome2-perl libgtk2-perl
I actually install some more perl modules before finding a post by the creator on a mailling list :)

EDIT:
DOH!
I wrote too soon...I just saw yum tell me it can't find them.
hmmm..what now?

jim
2nd April 2006, 05:47 PM
right now i'm building a few perl rpms to see if they are the ones....

code_astronomer
2nd April 2006, 06:00 PM
I've downloaded so many different perl modules by searching with yum!
e.g.


yum list *perl*
yum list *gnome*
yum list *Gnome*
yum list *gtk*


I still can't get it to compile.
I keep getting the error:


Can't locate Gnome2.pm in @INC (@INC contains: /usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/site_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl/5.8.7
/usr/lib/perl5/site_perl/5.8.6 /usr/lib/perl5/site_perl/5.8.5 /usr/lib/perl5/site_perl/5.8.4
/usr/lib/perl5/site_perl/5.8.3 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.8/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.7/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.6/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.5/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.4/i386-linux-thread-multi
/usr/lib/perl5/vendor_perl/5.8.3/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8
/usr/lib/perl5/vendor_perl/5.8.7 /usr/lib/perl5/vendor_perl/5.8.6 /usr/lib/perl5/vendor_perl/5.8.5
/usr/lib/perl5/vendor_perl/5.8.4 /usr/lib/perl5/vendor_perl/5.8.3 /usr/lib/perl5/vendor_perl
/usr/lib/perl5/5.8.8/i386-linux-thread-multi /usr/lib/perl5/5.8.8 .) at ./setup line 4.
BEGIN failed--compilation aborted at ./setup line 4.


very frustrating

fDESIGN
2nd April 2006, 06:01 PM
perl-Gnome2
perl-Gnome2-Canvas
perl-Gnome2-VFS
Gnome2-Wnck
Gtk2-TrayIcon

I think gtk2
gtk2-devel .....and maybe some other devel packages also

I know it seems like a pain.....that's why I decided to just stick with 'mail-notification' when I installed FC5

jim
2nd April 2006, 06:06 PM
ok I installed the following
perl-GTK2

and built the following
----------------------------------
perl-Gnome2-1.023-1.fc5.i686.rpm
perl-Gnome2-Wnck-0.12-1.fc5.i686.rpm
perl-Gnome2-VFS-1.041-1.fc5.i686.rpm
perl-Gtk2-TrayIcon-0.03-1.fc5.i686.rpm

But need to test to make sure this works

EDIT ::

Seems to work when evolution is running

jim
2nd April 2006, 06:22 PM
update Evolution needs to be running

but hey it works !

EDIT::

unpack the archive open terminal window and cd to the archive

then run yum localinstall *.rpm

This should install these and pull in any dependencies I had to install all the dependencies so I could rebuild these.

then as the directions state doulble click the setup perl script this will install the files to ~/.evonotify

when you get a e-mail and evolution is running you'll get the notification

code_astronomer
2nd April 2006, 06:27 PM
I must have perl-GTK2 installed by now...but I still can't get it working :S

I think you have to have evolution open...the guy that wrote it said it was for when he didn't have his sound on.
It's a nice idea actually because if I leave my computer and come back, I should be able to see a notification on the panel.


EDIT:

thanks ... I'm going try this now.

jim
2nd April 2006, 06:29 PM
give my previous post a shot and let me know

code_astronomer
2nd April 2006, 06:33 PM
aaa, it says:

Package perl-Gnome2-1.023-1.fc5.i686.rpm is not signed
Not quite sure what I need to fix that.


EDIT:

I managed to get it installed by selecting all the packages and selecting to open with installer.
Thanks :) It works now :)

By the way, could you tell me how you built your packages for the dependencies?

jim
2nd April 2006, 07:19 PM
it means that I didn't sign the packages you can install them anyway the source files are from dags repo

i'll sign the rpms and post them on my site along with my gpg key

jim
2nd April 2006, 07:28 PM
ok here we go
import my gpg key
su

rpm --import http://www.fedorajim.homelinux.com/files/gpg/RPM-GPG-KEY-fedorajim

location of signed rpms
http://www.fedorajim.homelinux.com/files/evolnotify/

download all to a folder

change the the folder and install with
yum localinstall *.rpm

jim
2nd April 2006, 07:37 PM
EDIT:

I managed to get it installed by selecting all the packages and selecting to open with installer.
Thanks :) It works now :)

By the way, could you tell me how you built your packages for the dependencies?

reading thee spec file for the rpms also if yuo attempt to build the rpm and it fails due to a depenecy, it will tell you what pachage you need in order to build it. so in order to run evolnotify on fc5 we need the following packages

*perl-Gtk2
*libwnck-devel
*libgnomeui-devel
*perl-Glib
*perl-ExtUtils-Depends
*perl-ExtUtils-PkgConfig
*perl-Gnome2
*perl-Gnome2-Wnck
*perl-Gnome2-VFS
*pkgconfig
*perl-Gtk2-TrayIcon

code_astronomer
2nd April 2006, 07:55 PM
Thank you and Thank you very much for your time with this :)