You are not logged in.

#1 2007-03-19 15:22:46

espo
Member
From: Stuttgart - Germany
Registered: 2006-08-11
Posts: 74

maildirs on desktop

Hi there,
i want to see all my maildirs from mutt on my desktop to see if i get new mails without opening mutt
everytime! I tried it with conky but i can define only one maildir there. So maybe one of you got
a hint for me.

Greetings
eSpo

Offline

#2 2007-03-19 17:16:58

smoon
Member
Registered: 2005-08-22
Posts: 468
Website

Re: maildirs on desktop

Embrace might work for you. I have not tried it though.

Offline

#3 2007-03-19 21:26:20

Stalwart
Member
From: Latvia, Riga
Registered: 2005-10-18
Posts: 445
Website

Re: maildirs on desktop

For KDE there's superkaramba


IRC: Stalwart @ FreeNode
Skype ID: thestalwart
WeeChat-devel nightly packages for i686

Offline

#4 2007-03-20 07:36:56

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: maildirs on desktop

conky is actually a way to go if you do it right but it depends on the Format. From your post, I deduct that you are using the MailDir-Format. Therein lies the solution of the problem: every MailDir-Directory has another subdir called "new". Now, conky can execute sh-commands with a timed delay which is handed over in seconds and then display the output. Some ls/cut/grep/wc-magic could reveal the number of new items in your MailDirs, either isolated or combined into one output.

$ ls /path/to/mails/*/new/ | wc -w | cut -c 7-8

That would display the number of new eMails in total up to 99. Adjust the cut parameters for more.

$ ls /path/to/mails/specific_dir/new/ | wc -w | cut -c 7-8

That would display the number of eMails in only one MailDir.

Together with execi in your conkyrc, you got a winner.


Todays mistakes are tomorrows catastrophes.

Offline

#5 2007-03-20 14:02:27

z3ppelin
Member
Registered: 2006-07-10
Posts: 171

Re: maildirs on desktop

you can do it in conky by setting

mail_spool $HOME/.mail/

and then

$new_mails

smile

Offline

#6 2007-03-20 14:24:24

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: maildirs on desktop

z3ppelin:
IIRC, that does not really work with the MailDir-Format. At least it did not for me.


Todays mistakes are tomorrows catastrophes.

Offline

#7 2007-03-20 14:54:51

z3ppelin
Member
Registered: 2006-07-10
Posts: 171

Re: maildirs on desktop

i have maildir and it works like a charm...

Offline

#8 2007-03-20 19:03:10

mucknert
Member
From: Berlin // Germany
Registered: 2006-06-27
Posts: 510

Re: maildirs on desktop

Damn you then! smile


Todays mistakes are tomorrows catastrophes.

Offline

Board footer

Powered by FluxBB