Viewing attachments in Evo?

View: New views
13 Messages — Rating Filter:   Alert me  

Viewing attachments in Evo?

by Svante R Signell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

How to enable the external viewers for pdf attachments in Evo?
If people attach the files as a "PDF document attachment" it can be
viewed with an external viewer, like evince or xpdf. As learnt recently
this can be controlled by opening a .pdf document using the file viewer
in Nautilus. BTW: How to open the Nautilus file viewer from a terminal?
I have forgotten the command.

When the file is attached as "application/acrobat attachment"
or "application/stream attachment" I only get the option to save the
file and the use an external viewer to actually look at the file. Where
to enable the inside Evo viewing? Is related to mime.types and/or
mailcap files??

Thanks!


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by Matthew Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-10 at 17:31 +0200, Svante R Signell wrote:
> BTW: How to open the Nautilus file viewer from a terminal?
> I have forgotten the command.

"nautilus --browser"


> When the file is attached as "application/acrobat attachment"
> or "application/stream attachment" I only get the option to save the
> file and the use an external viewer to actually look at the file. Where
> to enable the inside Evo viewing? Is related to mime.types and/or
> mailcap files??

MIME type handling is desktop-wide, not Evolution-specific.

For "application/acrobat" attachments (which is not a valid MIME type,
see [1]), save the file to disk and teach Nautilus how to handle it.
Your choice of application will then be listed in Evolution.

"application/stream", on the other hand, is a generic description for
unknown MIME types.  You probably don't want to associate an application
for that type since it could be anything.  Evolution -should- attempt to
guess the type from the attachment's filename extension (e.g. .pdf), but
if it lacks even that then your only choice it to save it to disk.

[1] http://www.iana.org/assignments/media-types/application/

Matthew Barnes


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

signature.asc (204 bytes) Download Attachment

Re: Viewing attachments in Evo?

by Svante R Signell :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


On Wed, 2009-06-10 at 18:05 +0200, Matthew Barnes wrote:
> On Wed, 2009-06-10 at 17:31 +0200, Svante R Signell wrote:
> > BTW: How to open the Nautilus file viewer from a terminal?
> > I have forgotten the command.
>
> "nautilus --browser"

Thanks, I was thinking of opening nautilus at the current directory as
visited in the terminal window, not opening it at the $HOME directory.

>
> > When the file is attached as "application/acrobat attachment"
> > or "application/stream attachment" I only get the option to save the
> > file and the use an external viewer to actually look at the file. Where
> > to enable the inside Evo viewing? Is related to mime.types and/or
> > mailcap files??
>
> MIME type handling is desktop-wide, not Evolution-specific.
>
> For "application/acrobat" attachments (which is not a valid MIME type,
> see [1]), save the file to disk and teach Nautilus how to handle it.
> Your choice of application will then be listed in Evolution.

How to teach Nautilus about that? Saving the file it becomes a pdf-file
as all other .pdfs? An example is application/acrobat (file.pdf)
I have not found of anything about attachments in Nautilus.

> "application/stream", on the other hand, is a generic description for
> unknown MIME types.  You probably don't want to associate an application
> for that type since it could be anything.  Evolution -should- attempt to
> guess the type from the attachment's file name extension (e.g. .pdf), but
> if it lacks even that then your only choice it to save it to disk.

I don't see any guesses made by Evo, The only option given is to save to
file. An example is:
application/stream attachment (file.pdf)

> [1] http://www.iana.org/assignments/media-types/application/
>
> Matthew Barnes

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by Matthew Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-10 at 18:17 +0200, Svante R Signell wrote:
> Thanks, I was thinking of opening nautilus at the current directory as
> visited in the terminal window, not opening it at the $HOME directory.

Got'cha.  Nautilus takes a path/URI argument, so do "nautilus ."

> How to teach Nautilus about that? Saving the file it becomes a pdf-file
> as all other .pdfs? An example is application/acrobat (file.pdf)
> I have not found of anything about attachments in Nautilus.

See http://mail.gnome.org/archives/evolution-list/2009-May/msg00058.html

Matthew Barnes


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

signature.asc (204 bytes) Download Attachment

Re: Viewing attachments in Evo?

by Paul Smith-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-10 at 13:11 -0400, Matthew Barnes wrote:
> > How to teach Nautilus about that? Saving the file it becomes a pdf-file
> > as all other .pdfs? An example is application/acrobat (file.pdf)
> > I have not found of anything about attachments in Nautilus.
>
> See http://mail.gnome.org/archives/evolution-list/2009-May/msg00058.html

I think what Svante is saying is that the "bogus" MIME type is known
only to Evolution: it's the content encoding on the email message.  Once
Evolution saves the file to disk, it's just a normal PDF file.  When
Nautilus properties are opened, they use file(1) or whatever to discover
the type of the file and call it application/pdf, NOT the bogus MIME
type it was sent with in the email message.

So, how do you manage this bogus MIME type?

Isn't there any MIME type editor available?  It would be SOOOO much
simpler, in many cases.

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by jreidthompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-10 at 14:21 -0400, Paul Smith wrote:

> On Wed, 2009-06-10 at 13:11 -0400, Matthew Barnes wrote:
> > > How to teach Nautilus about that? Saving the file it becomes a pdf-file
> > > as all other .pdfs? An example is application/acrobat (file.pdf)
> > > I have not found of anything about attachments in Nautilus.
> >
> > See http://mail.gnome.org/archives/evolution-list/2009-May/msg00058.html
>
> I think what Svante is saying is that the "bogus" MIME type is known
> only to Evolution: it's the content encoding on the email message.  Once
> Evolution saves the file to disk, it's just a normal PDF file.  When
> Nautilus properties are opened, they use file(1) or whatever to discover
> the type of the file and call it application/pdf, NOT the bogus MIME
> type it was sent with in the email message.
>
> So, how do you manage this bogus MIME type?
>
> Isn't there any MIME type editor available?  It would be SOOOO much
> simpler, in many cases.

vi   ;)

not sure if making changes as noted here would make any difference or
not, but might be worth a shot.

http://www.mail-archive.com/evolution-list@.../msg11616.html
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by Paul Smith-5 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-10 at 14:27 -0400, Reid Thompson wrote:

> On Wed, 2009-06-10 at 14:21 -0400, Paul Smith wrote:
> > On Wed, 2009-06-10 at 13:11 -0400, Matthew Barnes wrote:
> > > > How to teach Nautilus about that? Saving the file it becomes a pdf-file
> > > > as all other .pdfs? An example is application/acrobat (file.pdf)
> > > > I have not found of anything about attachments in Nautilus.
> > >
> > > See http://mail.gnome.org/archives/evolution-list/2009-May/msg00058.html
> >
> > I think what Svante is saying is that the "bogus" MIME type is known
> > only to Evolution: it's the content encoding on the email message.  Once
> > Evolution saves the file to disk, it's just a normal PDF file.  When
> > Nautilus properties are opened, they use file(1) or whatever to discover
> > the type of the file and call it application/pdf, NOT the bogus MIME
> > type it was sent with in the email message.
> >
> > So, how do you manage this bogus MIME type?
> >
> > Isn't there any MIME type editor available?  It would be SOOOO much
> > simpler, in many cases.
>
> vi   ;)
>
> not sure if making changes as noted here would make any difference or
> not, but might be worth a shot.
>
> http://www.mail-archive.com/evolution-list@.../msg11616.html

Yes, this is EXACTLY why there should be some tool for managing this: it
would understand both the local defaults.list and the system-wide one,
and be able to update the local one (and, if run as root, perhaps the
system wide one--or maybe it could be integrated with .

I can hardly believe that no one has created such a useful thing already
as part of the standard Gnome desktop.

I looked around through my Ubuntu repositories and found assoGiate which
looks like pretty much what I was looking for.  If you have that in your
repository you should give it a try... nice!

You can edit the application/pdf mime type and create new aliases for it
such as application/acrobat; that should solve your problem.

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by jreidthompson :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-10 at 14:50 -0400, Paul Smith wrote:
> assoGiate
that's a cool app ---- thanks
_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by Jim McKean :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I don't think I have received a pdf in the last 6 months that I can open
inside Evolution.  It's rather annoying, because I get many a day and I
usually only need to open and review the content in them, not save them.
It is part of an approval workflow process.

I have also noticed that I cannot open new Microsoft formats either --
the xlsx types.

I looked back at a few and they are all showing up as
application/octet-stream, and they have appropriate file extensions.

Nautilus fires up openoffice or evince to open either with no problem,
so getting the association right in Nautilus does not fix the problem in
Evolution.

The files come from a very diverse sources, most of whom are likely
using Outlook.

Does anyone know why these are attachments are causing this problem?  I
feel certain that PDFs have worked in the past.

Jim

On Wed, 2009-06-10 at 12:05 -0400, Matthew Barnes wrote:

> On Wed, 2009-06-10 at 17:31 +0200, Svante R Signell wrote:
> > BTW: How to open the Nautilus file viewer from a terminal?
> > I have forgotten the command.
>
> "nautilus --browser"
>
>
> > When the file is attached as "application/acrobat attachment"
> > or "application/stream attachment" I only get the option to save the
> > file and the use an external viewer to actually look at the file. Where
> > to enable the inside Evo viewing? Is related to mime.types and/or
> > mailcap files??
>
> MIME type handling is desktop-wide, not Evolution-specific.
>
> For "application/acrobat" attachments (which is not a valid MIME type,
> see [1]), save the file to disk and teach Nautilus how to handle it.
> Your choice of application will then be listed in Evolution.
>
> "application/stream", on the other hand, is a generic description for
> unknown MIME types.  You probably don't want to associate an application
> for that type since it could be anything.  Evolution -should- attempt to
> guess the type from the attachment's filename extension (e.g. .pdf), but
> if it lacks even that then your only choice it to save it to disk.
>
> [1] http://www.iana.org/assignments/media-types/application/
>
> Matthew Barnes
> _______________________________________________
> Evolution-list mailing list
> Evolution-list@...
> http://mail.gnome.org/mailman/listinfo/evolution-list
--
James D. McKean

Pratt Corporation
Director Information Technology
317-524-3334
jmckean@...
http://www.prattcorp.com


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by Matthew Barnes :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-06-23 at 07:43 -0400, Jim McKean wrote:
> I don't think I have received a pdf in the last 6 months that I can open
> inside Evolution.  It's rather annoying, because I get many a day and I
> usually only need to open and review the content in them, not save them.
> It is part of an approval workflow process.

It would help if you specified the Evolution version you're running, as
attachment handling underwent a major rewrite between 2.26 and 2.27.

Matthew Barnes


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

signature.asc (204 bytes) Download Attachment

Re: Viewing attachments in Evo?

by Jim McKean :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Whoops, sorry. 2.24.3 on on an Ubuntu netbook mix -- 2.6.27-11-eeepc.

j
     On Tue, 2009-06-23 at 11:06 -0400, Matthew Barnes wrote:

> On Tue, 2009-06-23 at 07:43 -0400, Jim McKean wrote:
> > I don't think I have received a pdf in the last 6 months that I can open
> > inside Evolution.  It's rather annoying, because I get many a day and I
> > usually only need to open and review the content in them, not save them.
> > It is part of an approval workflow process.
>
> It would help if you specified the Evolution version you're running, as
> attachment handling underwent a major rewrite between 2.26 and 2.27.
>
> Matthew Barnes
> _______________________________________________
> Evolution-list mailing list
> Evolution-list@...
> http://mail.gnome.org/mailman/listinfo/evolution-list
--
James D. McKean

Pratt Corporation
Director Information Technology
317-524-3334
jmckean@...
http://www.prattcorp.com


_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by Han Pilmeyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 2009-06-23 at 11:06 -0400, Matthew Barnes wrote:
On Tue, 2009-06-23 at 07:43 -0400, Jim McKean wrote:
> I don't think I have received a pdf in the last 6 months that I can open
> inside Evolution.  It's rather annoying, because I get many a day and I
> usually only need to open and review the content in them, not save them.
> It is part of an approval workflow process.

It would help if you specified the Evolution version you're running, as
attachment handling underwent a major rewrite between 2.26 and 2.27.

I had exactly the same issue on Ubuntu Intrepid 8.04 with Evolution 2.24. I don't think it happened immediately after I upgraded to Intrepid. But in any case my upgrade to Ubuntu Jaunty 9.04 with Evolution 2.26 fixed the issue.

Double clicking the saved files from Nautilus would start the correct application, so it appears to be something that was specific to Evolution.

--
Han Pilmeyer
pilux_at_pilmeyer_dot_nl

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list

Re: Viewing attachments in Evo?

by Jim McKean :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, 2009-06-24 at 06:57 +0000, Han Pilmeyer wrote:

> On Tue, 2009-06-23 at 11:06 -0400, Matthew Barnes wrote:
> > On Tue, 2009-06-23 at 07:43 -0400, Jim McKean wrote:
> > > I don't think I have received a pdf in the last 6 months that I can open
> > > inside Evolution.  It's rather annoying, because I get many a day and I
> > > usually only need to open and review the content in them, not save them.
> > > It is part of an approval workflow procesive s.
> >
> > It would help if you specified the Evolution version you're running, as
> > attachment handling underwent a major rewrite between 2.26 and 2.27.
> >
> I had exactly the same issue on Ubuntu Intrepid 8.04 with Evolution
> 2.24. I don't think it happened immediately after I upgraded to
> Intrepid. But in any case my upgrade to Ubuntu Jaunty 9.04 with
> Evolution 2.26 fixed the issue.
>
> Double clicking the saved files from Nautilus would start the correct
> application, so it appears to be something that was specific to
> Evolution.
>
> --
> Han Pilmeyer
> pilux_at_pilmeyer_dot_nl

Thanks, that's the first confirmation I have had that others have have
exactly the same problem.  

I don't want to use regular Ubuntu on my netbook -- I like it a lot on
full sized machines, but on my eeepc I am using a netbook distribution
based on Ubuntu called Easy Peasy.  I guess I will wait for their next
release which is due sometime soon.

_______________________________________________
Evolution-list mailing list
Evolution-list@...
http://mail.gnome.org/mailman/listinfo/evolution-list