Page 1 of 1

Want mail icon in IceWM to be T-bird not Sylpheed

Posted: Thu 09 Jun 2005, 02:42
by dvw86
I am using Puppy 1.0.1 and IceWM with Mozilla Thunderbird. How do I set the little mail icon next to the clock to reflect the mail items in thunderbird instead of Sylpheed?

Icon I can

Posted: Thu 09 Jun 2005, 03:18
by Lobster
right click on the icon
and edit item 8)

Posted: Thu 09 Jun 2005, 03:50
by dvw86
Tried that. That little icon next to the clock does not do anything when I right click on it.

Posted: Thu 09 Jun 2005, 04:35
by Flash
dvw86 wrote:Tried that. That little icon next to the clock does not do anything when I right click on it.
I find that I have to double-left-click it to get it to do anything.

Posted: Thu 09 Jun 2005, 04:49
by dvw86
Flash wrote:I find that I have to double-left-click it to get it to do anything.
That just seems to open up Sylpheed. I can not find an option to change it to show Thunderbirds new mail status.

Posted: Thu 09 Jun 2005, 05:31
by GuestToo
look in /root/.icewm/preferences

this line sets what program runs when the mail icon is clicked:
MailCommand="puppy-email"

puppy-email is a script i wote and put in my-applications/bin
change the script to run whatever program you like

it took me a while to figure out how the get the mail icon to appear on the task bar

i'm no expert on how icewm interfaces with email
i pointed it to the dir Sylpheed uses for mail ... /root/Mail/inbox/ ... Sylpheed puts a file for each email in the inbox there, named 1, 2, 3, and so on ... i wrote a script that periodically checks if there are any files with number names in that dir, and creates or deletes a file in /tmp accordingly, and setup icewm to check for the presence of the file in /tmp ... it worked pretty well, but i didn't include the script in my icewm package

i did some googling, but i never found out exactly how icewm and mail worked ... if anyone knows how it really is supposed to work, it would be great if you posted the infomation

i did figure out how to get icewm to check your email server directly ... so the mail icon should change when you get mail ... you do not need Thunderbird running ... basically, uncomment the line:
#MailBoxPath="pop3://myid:mypassword@pop.myserver.com:110"
in preferences, and configure it to your mail server
icewm may hang for a while when it first starts up if you setup the mail icon this way ... this probably would not work well if you have dialup

Posted: Thu 09 Jun 2005, 13:32
by dvw86
GuestToo,
Thanks for that great information. I will give it a try when I get home from work today. :D

Posted: Fri 10 Jun 2005, 13:34
by dvw86
Redirecting "MailCommand" to look at Thunderbird worked great. I just had to place a link to Thunderbird in my-applications/bin. I will try to get IceWM to check my mail automatically as well since I don't use dial up. Thanks again.

moztraybiff

Posted: Thu 08 Sep 2005, 05:04
by moritzes
Another way to get a new mail notify tray icon to work with Thunderbird is

http://moztraybiff.mozdev.org

Seems to work well for me, and doesn't require any extra fiddling with icewm prefs file. Just turn off mail notification in ~/.icewm/preferences and let moztraybiff do the notifying. Especially helpful if you are checking more than one account -- I couldn't figure out how to do that with the built-in notifier. Of course, you have to leave Tbird running all the time for this to work.