LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 05-16-2008, 08:38 AM   #1
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

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
bardill
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 !

bardill
 
Old 05-17-2008, 11:21 AM   #3
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

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
DragonSlayer48DX
Registered User
 
Registered: Dec 2006
Posts: 1,454
Blog Entries: 1

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

Quote:
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.
http://en-us.www.mozilla.com/en-US/f.../releasenotes/

Cheers

Last edited by DragonSlayer48DX; 05-17-2008 at 07:32 PM.
 
Old 05-29-2008, 02:28 AM   #5
flyash
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
Toonses82
Member
 
Registered: Sep 2004
Location: Calhoun, TN, USA
Distribution: openSUSE
Posts: 131

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?

Code:
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-bittorrent"
                   NC:path="/usr/bin/transmission"
                   NC:prettyName="transmission" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-debian-package"
                   NC:prettyName=""
                   NC:path="" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/x-tar"
                   NC:prettyName=""
                   NC:path="" />
  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf"
                   NC:prettyName=""
                   NC:path="" />
  <RDF:Description RDF:about="urn:handler:web:http://compose.mail.yahoo.com/?To=%s"
                   NC:prettyName="Yahoo! Mail"
                   NC:uriTemplate="http://compose.mail.yahoo.com/?To=%s" />
  <RDF:Description RDF:about="urn:root"
                   NC:en-US_defaultHandlersVersion="1" />
  <RDF:Description RDF:about="urn:mimetype:handler:application/x-bittorrent"
                   NC:saveToDisk="false"
                   NC:handleInternal="false"
                   NC:alwaysAsk="false"
                   NC:useSystemDefault="true">
    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/x-bittorrent"/>
  </RDF:Description>
  <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:Seq>
  <RDF:Description RDF:about="urn:schemes">
    <NC:Protocol-Schemes RDF:resource="urn:schemes:root"/>
  </RDF:Description>
  <RDF:Description RDF:about="urn:scheme:externalApplication:file"
                   NC:prettyName="transmission"
                   NC:path="/usr/bin/transmission" />
  <RDF:Description RDF:about="urn:mimetype:application/x-tar"
                   NC:value="application/x-tar"
                   NC:editable="true"
                   NC:fileExtensions="tar"
                   NC:description="">
    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/x-tar"/>
  </RDF:Description>
</RDF:RDF>
 
Old 06-03-2008, 05:31 AM   #7
grahamatlq
Member
 
Registered: Dec 2006
Posts: 40

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

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

Code:
$ 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:

Code:
$ 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
 
  


Reply

Tags
file association, firefox, hardy, ubuntu, xubuntu



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

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

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

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