[Solved] Openoffice files no more associated in Thunderbird

Issues with installing under all Linux Distributions

[Solved] Openoffice files no more associated in Thunderbird

Postby mlk » Fri Jul 25, 2008 5:55 pm

Hi,

I installed on a Mandriva 2007 the latest openoffice rpm (from openoffice website). Openoffice works good but the attached files in thunderbird are no more open by openoffice (I'm using icewm but I believe the associations thunderbird uses are defined by gnome, not sure though).

How can these asociation be restored ?

Thanks for any information
Last edited by mlk on Fri Oct 22, 2010 12:51 pm, edited 2 times in total.
OOo 2.4.X on Mandriva
mlk
 
Posts: 14
Joined: Fri Jul 25, 2008 5:52 pm

Re: Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 6:00 pm

In the Thunderbird options, there should be an option to reset the file association IIRC. I think that the links have been broken by the update.

Thanks to add '[Solved]' at beginning of your first post title (edit button) if your issue has been fixed.
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Openoffice files no more associated in Thunderbird

Postby mlk » Fri Jul 25, 2008 6:05 pm

The name and path to the openoffice programs has changed with the upgrade.
The association does not work also in gnome (in the file manager for instance)..
I think that setting these associations in gnome would solve the problem also in thunderbird but don't know how to do that..
OOo 2.4.X on Mandriva
mlk
 
Posts: 14
Joined: Fri Jul 25, 2008 5:52 pm

Re: Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 6:07 pm

Have you installed the desktop-integration package?
Else, you can set the default application by right clicking the file, Open with another application and set it to OOo by default.
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Openoffice files no more associated in Thunderbird

Postby mlk » Fri Jul 25, 2008 6:21 pm

Yes, this package is installed. It contains a program gnome-set-default-application that is probably usefull for this purpose but I don't know how to use it .. my version of gnome is 2.16 (the openoffice readme says a gnome 2.0 or latter is needed so it should be ok there)

About doing a right click to open a file, I'd like to have the association for all the files that openoffice can handle (that include many files formats, different word, excel, staroffice etc .... files)
OOo 2.4.X on Mandriva
mlk
 
Posts: 14
Joined: Fri Jul 25, 2008 5:52 pm

Re: Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 8:51 pm

In Thunderbird, in the options, I've an Attachments tab with an option to set the default applications to be used depending on the extension.
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Openoffice files no more associated in Thunderbird

Postby mlk » Fri Jul 25, 2008 8:55 pm

I have it to, but before upgrading openoffice (I can go back to the situation before the upgrade), there was in thunderbird no default application for .doc files for instance, but double clicking on such an attachment worked (launched openwriter). I think this association was set in gnome and thunderbird used it ...
OOo 2.4.X on Mandriva
mlk
 
Posts: 14
Joined: Fri Jul 25, 2008 5:52 pm

Re: Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 9:05 pm

Yes, that's a possibility indeed. But if the Gnome file association is broken, I don't know how to fix it. Are you sure all the packages of the OOo version provided by your distro have been removed before OOo upgrade?
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Openoffice files no more associated in Thunderbird

Postby Villeroy » Fri Jul 25, 2008 9:13 pm

As far as I know Thunderbird makes use of configuration file ~/.mailcap
/usr/bin/soffice is a symlink to my currently used soffice
Code: Select all   Expand viewCollapse view
application/vnd.sun.xml.writer;/usr/bin/soffice -n %s
application/vnd.sun.xml.writer.global;/usr/bin/soffice -n %s
application/vnd.stardivision.writer;/usr/bin/soffice -n %s
application/vnd.stardivision.writer-global;/usr/bin/soffice -n %s
application/x-starwriter;/usr/bin/soffice -n %s
application/vnd.sun.xml.writer.template;/usr/bin/soffice -n %s
application/msword;/usr/bin/soffice -n %s
application/vnd.sun.xml.calc;/usr/bin/soffice -n %s
application/vnd.stardivision.calc;/usr/bin/soffice -n %s
application/x-starcalc;/usr/bin/soffice -n %s
application/vnd.sun.xml.calc.template;/usr/bin/soffice -n %s
application/excel;/usr/bin/soffice -n %s
application/msexcel;/usr/bin/soffice -n %s
application/vnd.ms-excel;/usr/bin/soffice -n %s
application/x-msexcel;/usr/bin/soffice -n %s
application/vnd.sun.xml.impress;/usr/bin/soffice -n %s
application/vnd.stardivision.impress;/usr/bin/soffice -n %s
application/vnd.stardivision.impress-packed;/usr/bin/soffice -n %s
application/x-starimpress;/usr/bin/soffice -n %s
application/vnd.sun.xml.impress.template;/usr/bin/soffice -n %s
application/powerpoint;/usr/bin/soffice -n %s
application/mspowerpoint;/usr/bin/soffice -n %s
application/vnd.ms-powerpoint;/usr/bin/soffice -n %s
application/x-mspowerpoint;/usr/bin/soffice -n %s
application/vnd.sun.xml.draw;/usr/bin/soffice -n %s
application/vnd.stardivision.draw;/usr/bin/soffice -n %s
application/x-stardraw;/usr/bin/soffice -n %s
application/vnd.sun.xml.draw.template;/usr/bin/soffice -n %s
application/vnd.sun.xml.math;/usr/bin/soffice -n %s
application/vnd.stardivision.math;/usr/bin/soffice -n %s
application/x-starmath;/usr/bin/soffice -n %s
application/vnd.sun.xml.writer;/usr/bin/soffice -n %s
application/vnd.sun.xml.writer.global;/usr/bin/soffice -n %s
application/vnd.stardivision.writer;/usr/bin/soffice -n %s
application/vnd.stardivision.writer-global;/usr/bin/soffice -n %s
application/x-starwriter;/usr/bin/soffice -n %s
application/vnd.sun.xml.writer.template;/usr/bin/soffice -n %s
application/msword;/usr/bin/soffice -n %s
application/vnd.sun.xml.calc;/usr/bin/soffice -n %s
application/vnd.stardivision.calc;/usr/bin/soffice -n %s
application/x-starcalc;/usr/bin/soffice -n %s
application/vnd.sun.xml.calc.template;/usr/bin/soffice -n %s
application/excel;/usr/bin/soffice -n %s
application/msexcel;/usr/bin/soffice -n %s
application/vnd.ms-excel;/usr/bin/soffice -n %s
application/x-msexcel;/usr/bin/soffice -n %s
application/vnd.sun.xml.impress;/usr/bin/soffice -n %s
application/vnd.stardivision.impress;/usr/bin/soffice -n %s
application/vnd.stardivision.impress-packed;/usr/bin/soffice -n %s
application/x-starimpress;/usr/bin/soffice -n %s
application/vnd.sun.xml.impress.template;/usr/bin/soffice -n %s
application/powerpoint;/usr/bin/soffice -n %s
application/mspowerpoint;/usr/bin/soffice -n %s
application/vnd.ms-powerpoint;/usr/bin/soffice -n %s
application/x-mspowerpoint;/usr/bin/soffice -n %s
application/vnd.sun.xml.draw;/usr/bin/soffice -n %s
application/vnd.stardivision.draw;/usr/bin/soffice -n %s
application/x-stardraw;/usr/bin/soffice -n %s
application/vnd.sun.xml.draw.template;/usr/bin/soffice -n %s
application/vnd.sun.xml.math;/usr/bin/soffice -n %s
application/vnd.stardivision.math;/usr/bin/soffice -n %s
application/x-starmath;/usr/bin/soffice -n %s
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 12.04, Apache OpenOffice 4.x
User avatar
Villeroy
Volunteer
 
Posts: 17314
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 9:19 pm

Villeroy wrote:As far as I know Thunderbird makes use of configuration file ~/.mailcap

No such file on my xubuntu (8.04) box!
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Openoffice files no more associated in Thunderbird

Postby mlk » Fri Jul 25, 2008 9:31 pm

Villeroy, there is no such file on my system ...

Hagar de l'Est , yes, everything was removed of course (the gnome associations also..)
So, yes, what I'm looking for is doing these associations with the new openoffice (the previous associations would not have worked as the path and executable names of openoffice has changed)
OOo 2.4.X on Mandriva
mlk
 
Posts: 14
Joined: Fri Jul 25, 2008 5:52 pm

Re: Openoffice files no more associated in Thunderbird

Postby Villeroy » Fri Jul 25, 2008 9:42 pm

I should have mentioned that file names with a leading dot make a file hidden. I'm pretty shure that every user directory on any Linux system has a configuration file named .mailcap
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 12.04, Apache OpenOffice 4.x
User avatar
Villeroy
Volunteer
 
Posts: 17314
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 10:03 pm

I'm not that newbie, or I've missed something:
Screenshot.png
Screenshot.png (3.52 KiB) Viewed 3568 times
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Openoffice files no more associated in Thunderbird

Postby Villeroy » Fri Jul 25, 2008 10:11 pm

Hagar de l'Est wrote:I'm not that newbie, or I've missed something

OK, I thought that configuration file was mandatory for a large group of applications.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 12.04, Apache OpenOffice 4.x
User avatar
Villeroy
Volunteer
 
Posts: 17314
Joined: Mon Oct 08, 2007 1:35 am
Location: Germany

Re: Openoffice files no more associated in Thunderbird

Postby mlk » Fri Jul 25, 2008 10:14 pm

I don't have that file also, but on another forum I'm posting about the same issue, someone suggested the same thing, will try it (will create this file)
OOo 2.4.X on Mandriva
mlk
 
Posts: 14
Joined: Fri Jul 25, 2008 5:52 pm

Re: Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 10:31 pm

There is a mailcap file in the /etc folder however. But it seems that there are other files that precede that one because .doc is associated to Abiword and they open with OOo. Maybe in the ~/.local/share/applications files?

The file association is really a mess under GNU/Linux :roll:
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Openoffice files no more associated in Thunderbird

Postby mlk » Fri Jul 25, 2008 11:29 pm

I tried the .mailcap file, it works, .doc attachment for instance launch openoffice ..
BUT, I realized then that on the tarfile that contains the latest openoffice, there is a subdirectory (desktop-integration) that contains some other packages, one is called something like openoffice-freedesktop .... and when it is installed, it makes the associations, the associations are active now in thunderbird, gnome filemanager ...
OOo 2.4.X on Mandriva
mlk
 
Posts: 14
Joined: Fri Jul 25, 2008 5:52 pm

Re: Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 11:38 pm

In the 4th post, Hagar de l'Est wrote:Have you installed the desktop-integration package?

:roll:
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: [Solved] Openoffice files no more associated in Thunderbird

Postby mlk » Fri Jul 25, 2008 11:42 pm

Well, sorry, but I didn't see the desktop-integration subdirectory, and I saw 2 packages, gnome-integration and kde-integration, so I thought you were talking about these packages.
OOo 2.4.X on Mandriva
mlk
 
Posts: 14
Joined: Fri Jul 25, 2008 5:52 pm

Re: [Solved] Openoffice files no more associated in Thunderbird

Postby Hagar Delest » Fri Jul 25, 2008 11:44 pm

Ah, yes, forgot about them. I should be more clear next time.
AOO 4.0.1 on Windows 7 and Xubuntu 14.04 (Trusty Tahr)
User avatar
Hagar Delest
Moderator
 
Posts: 25106
Joined: Sun Oct 07, 2007 9:07 pm
Location: France


Return to Linux

Who is online

Users browsing this forum: No registered users and 2 guests