Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Ubuntu This forum is for the discussion of Ubuntu Linux.


  Search this Thread
Old 05-16-2008, 08:38 AM   #1
Registered: Sep 2004
Location: Olympia, WA, USA
Distribution: Debian 8.3.0 Cinnamon
Posts: 128

Rep: Reputation: 15
Firefox 3 Beta 5 file association problem

I'm having a problem with Firefox 3 and its ability to remember what to do with certain files. Specifically, torrents.

I have it saved in my Firefox settings to open torrent files with Transmission. I click the link, and Transmission opens up automatically. It always works the first time, but any torrents that I try to download after that gives me this error:

"[filename] could not be opened, because the associated helper application does not exist. Change the association in your preferences."

Nothing happens to Transmission. It is exactly as it was. It has something to do with the settings in Firefox.

So I go to Preferences and click the Applications tab. However, there's nothing there and I see no way to add a new rule. Does anyone know what's going on? Am I looking in the wrong spot? I never had this problem with Firefox 2.
Old 05-16-2008, 11:33 AM   #2
LQ Newbie
Registered: May 2008
Posts: 1

Rep: Reputation: 0
hi all

I have exactly the same problem with Firefox 3.0b; I open edit->preferences->Applications and can't do anything there, there is nothing listed and no buttons to add anything. The Firefox help page simply say " select file types" from the list, but the list is totally empty.
I simply can't associate any handler to my files, so I have to save them and then open from the desktop, which is very annoying. I looked around for info on this without results. Has anybody any idea on what to do? I did not have this problem with firefox 2 !

Old 05-17-2008, 11:21 AM   #3
Registered: Sep 2004
Location: Olympia, WA, USA
Distribution: Debian 8.3.0 Cinnamon
Posts: 128

Original Poster
Rep: Reputation: 15
Perhaps the application section is only for Firefox plug-ins? Should I be looking somewhere else?
Old 05-17-2008, 07:30 PM   #4
Registered User
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

Rep: Reputation: 74
From the Firefox 3 Beta 5 Release Notes:

Firefox 3 Beta 5 is a developer preview release of Mozilla's next generation Firefox browser and is being made available for testing purposes only.

These beta releases are targeted to Web developers and our testing community to gain feedback before advancing to the next stage in the release process. The final version of Firefox 3 will be released when we qualify the product as fully ready for our users. Users of the latest released version of Firefox should not expect their add-ons to work properly with this beta.

Please see below for an extensive list of features and enhancements found in Firefox 3 Beta 5, as well as known issues and frequently asked questions. As always, we appreciate your feedback either through this feedback form or by filing a bug in Bugzilla.


Last edited by DragonSlayer48DX; 05-17-2008 at 07:32 PM.
Old 05-29-2008, 02:28 AM   #5
LQ Newbie
Registered: May 2008
Posts: 2

Rep: Reputation: 0
Hi everybody

In my case I fixed it by editing $HOME/.mozilla/firefox/mimeTypes.rdf, changing manually the path of the application.

Best regards!
Old 05-31-2008, 03:59 PM   #6
Registered: Sep 2004
Location: Olympia, WA, USA
Distribution: Debian 8.3.0 Cinnamon
Posts: 128

Original Poster
Rep: Reputation: 15
I found the file you speak of, but I think this may be a bit beyond my skill level. It seems that it's pointing to the correct location (/usr/bin/transmission). Is there something else that needs to be changed in order to have torrents opened by Transmission?

  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-bittorrent"
                   NC:prettyName="transmission" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-debian-package"
                   NC:path="" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-tar"
                   NC:path="" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf"
                   NC:path="" />
  <RDF:Description RDF:about="urn:handler:web:"
                   NC:prettyName="Yahoo! Mail"
                   NC:uriTemplate="" />
  <RDF:Description RDF:about="urn:root"
                   NC:en-US_defaultHandlersVersion="1" />
  <RDF:Description RDF:about="urn:mimetype:handler:application/x-bittorrent"
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-bittorrent"/>
  <RDF:Seq RDF:about="urn:mimetypes:root">
    <RDF:li RDF:resource="urn:mimetype:application/x-bittorrent"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-debian-package"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-gzip"/>
    <RDF:li RDF:resource="urn:mimetype:application/x-tar"/>
    <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
    <RDF:li RDF:resource="urn:mimetype:application/zip"/>
  <RDF:Description RDF:about="urn:schemes">
    <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
  <RDF:Description RDF:about="urn:scheme:externalApplication:file"
                   NC:path="/usr/bin/transmission" />
  <RDF:Description RDF:about="urn:mimetype:application/x-tar"
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-tar"/>
Old 06-03-2008, 05:31 AM   #7
Registered: Dec 2006
Posts: 37

Rep: Reputation: 17
FIXED - involves file editing and restart firefox

This is what I did (it's a bit convoluted, but):

$ cd $HOME/.mozilla/firefox
$ cat profiles.ini
in here you will see the profiles.

Check the "Path=" points to a valid folder.

Most people will have a [Profile0] with Name=default with a Path=<??>.default

Go to that sub-folder (probably the only one)
e.g. if Path=k38lek41.default then:

$ cd k38lek41.default
in there you have a mimeTypes.rdf which you can edit.

Open it and search for the mime type x-bittorrent (You can google your the mime type) or just try torrent

(I was fixing shoutcast playlists which are x-scpls, less obvious!)

Change the NC:useSystemDefault="false" to NC:useSystemDefault="true".

Now it will open in whatever KDE or Gnome has set the default app and forget Firefox.

Tested in Kubuntu (KDE).

You can also change whatever you find in NC:path="..." to point to your favourite client app.

Exit Firefox with File->Quit and start again.

Like I said, It was convoluted, but it did work.

!! Be warned that there may be several entries for the same mime type. !!
I think Firefox uses the first match, but change them all to be safe.

Mail me if you need more help.

Last edited by grahamatlq; 06-03-2008 at 05:41 AM. Reason: Added email invite


file association, firefox, hardy, ubuntu, xubuntu

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get a new file association in firefox? taxpayer Linux - Desktop 4 01-30-2007 09:58 PM
File association problem Mordac85 Linux - Newbie 0 05-24-2004 03:05 PM
File association problem whplanet Linux - Newbie 0 02-05-2004 06:17 AM
File association problem BajaNick Red Hat 5 11-24-2003 10:48 PM
file association problem... spyghost Linux - Software 3 09-30-2003 04:28 AM > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 01:07 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration