[Evolution] Re: Problem opening attachments



   2.  Problem opening attachments. (Erik P. Olsen)
I receive quite a lot of Microsoft Office documents (".doc" files)
mainly because most of my friends use Windows. These documents arrive as
attached files and I would prefer if Evolution would allow me to open
them with OpenOffice but I only get the option of "save as" when I press
RMB. The contents help states in section 2.2.3.1: "... attached word
processor files can be opened in OpenOffice.org or another word
processor ...". These word processor files are probably not Microsoft
word but with proper configuration Evolution ought to be able to let
OpenOffice process them. 

The mentioned Microsoft word files come in as "application/msword". How
do I tell Evolution to let OpenOffice process them?



Erik
I had to solve a similar problem, except in my case (since I use
crossover office) I had to get Evolution to open .doc files with
Microsoft Word. 
Here is how I solved the problem. I created a file
~/.local/share/applications/winword2.desktop
with the contents:

[Desktop Entry]
Encoding=UTF-8
Name=winword
MimeType=application/msword
Exec='/home/spa/cxoffice/bin/winword'
Type=Application
Terminal=false
NoDisplay=true

If you replace the Exec line with the appropriate executable for Open
Office, this should work to allow Evolution to open .doc files with Open
Office. On my distro, the executable is /usr/bin/oowrite.

I believe the mechanism is pretty general, that is, once you figure out
what the Mime Type is for a file type of interest, you just create
a .desktop file of the above form, and then Evolution knows to associate
that Mime type with the appropriate application. A URL which has a list
of Mime types is http://www.webmaster-toolkit.com/mime-types.shtml

Steve



-- 
Steve Auerbach <steven p auerbach saic com>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]