[SOLVED] Firefox: How can I always show a program to open with?

When downloading files, there are the Open With and Save As options. On Ubuntu, the Open With option had the default program for opening the specified kind of file in the drop-down and the Browse option to find a program to open it with. On Arch I just have the Browse option. Is there a way I can add certain programs to this drop-down? I am aware that you can set Firefox to always open certain kinds of files with a certain program, but that does not give me the option to choose to open or download, it just always opens.
Last edited by linkmaster03 (2009-05-25 17:05:40)

You need a ~/.mailcap file. If you don't have a .mailcap, it looks in /etc/mailcap. It'll look something like this:
application/msword;/usr/bin/ooowriter %s
application/pdf;/usr/bin/epdfview %s
So first you list the mime-type, and then the associated program after a semicolon. %s represents the file to be passed on.
---Edit---
You don't need the /usr/bin/ part if it's in your $PATH.
Alternatively, you can edit mimeTypes.rdf in your firefox profile: http://kb.mozillazine.org/MimeTypes.rdf
Last edited by Berticus (2009-05-25 14:17:29)

Similar Messages

  • After installing Mavericks my iMac opens with the "rolling surf" desktop. I can then start my preferred desktop from a saved 'photo but when I retsart the iMAc it reverts to "rolling surf". How can I get it to remeber to open with MY choice rather than Ap

    After installing Mavericks my iMac opens with the "rolling surf" desktop. I can then start my preferred desktop from a saved 'photo but when I retsart the iMac it reverts to "rolling surf". How can I get it to remember to open with MY choice rather than Apple's?

    I did a little research on this, as I found some strange things with the .plist files.
    It appears that Apple has changed the way that the plist files are handled, and there is now an extra step in the trashing-the-.plist-file fix:
    1. hold down the option key
    2. in the Go menu in the Finder, scroll down to Libary
    3. in Library, find Preferences
    4. in Preferences, find  com.apple.desktop.plist  and drag it to the trash.
    5. go to Applications > Utilities > Activity Monitor
         1. Sort by Process Name and look for two processes named cfprefsd.
         2. Make sure you select the one that has your user account, not "root", listed as the User.
         3. Click the X up at the top left to kill that process
    5. restart
    6. this will generate a new .plist file, so you will have to reenter your preferences.
    Sorry for the confusion. Could you try this and let us know-

  • After using shift command 4 and send to desktop,how can I had iphoto to the list "open With" to preview menu?

    After using shift command 4 to send a photo to the desktop, how can I add iphoto to the list of"open with" menu ?

    All that's doing is forcing iPhoto to import the image.  Dragging it to the iPhoto icon will do the same, or create an automator action and save it as a Contextual menu item.
    Regards
    TD

  • How can I remove redundant entries it the "Open With" pull down?

    In Mountain Lion, now, when I right click on a document or image and move down to "Open With" I get a triple redundant (long) list of applications that might do the task. How can I purge the list of all the duplicates?  Part of the problem COULD be that I have three operating systems on my machine,(different spinning disk volumes) snow leopard, lion and mountain lion.  SL and Lion, are not spinning now, but they have been ot one time or another.  Is there a function that re-collects the AVAILABLE disk applications for "Open With?"
    Apple needs to update the below product list for "OS X 10.8.1"

    Go back to the editor and close the photo there.

  • Firefox 20 can't always select options in an open select

    I'm getting a strange behaviour in Firefox 20 that I don't see in Firefox 19, but that I can't really find a source for. It's largely repeatable for me, but it's not easy for me to reproduce in other settings.
    In essence, I can end up with a select that I can open, but when I click on an item in the selector, nothing happens. Javascript events don't seem to fire, it's just like the item can't be clicked. Once this happens, I can close and re-open firefox and repeat the behaviour as often as I like on the same drop-down. I was able to reproduce it with a simple test case here:
    http://jsfiddle.net/codiform/LgvRb/8/
    But, strangely, I wasn't able to reproduce it with a local HTML file; not sure if that's relevant, or perhaps I just failed to exactly reproduce the scenario in some way, because it's not clear to me what the trigger is.
    If i reload firefox in safe mode or reset firefox (in the --safe-mode dialog), this problem will go away for a bit, but it will come back. I have not yet been able to reproduce this when I don't have the Google Web Toolkit (GWT) plugin installed, but that may simply be because I'm trying to use firefox for GWT development, and when I can't trigger the behavior, I go back to doing development work until I the problem recurs. I don't know for certain that it can or cannot be reproduced without the plugin.
    Although now that I think of it, I should try removing the plugin now that the problems back and see if it will make the problem go away again. That won't guarantee that you don't need to install the GWT plugin to make it occur, of course, but it'd be one more piece of data on reproducibility.

    Interestingly, I have a macbook pro with Retina display, I almost always have an external monitor connected, and I usually run Firefox on the Retina display, so this scenario could well be a source for my problems as well.

  • Once signed, how can I automatically have an email client open with the document attached?

    I have seen other forms simply open the email client once the user has signed the form, but I am unable to figure out how to do this :/
    Thanks,
    Wayne

    If you set up a digital signature field, you can attach a script (e.g., doc.submitForm, doc.mailDoc) to the "Signed" event.

  • How can I change the default program to open Pages files in Finder from Pages 5.0 to Pages '09?

    I’ve tried. It seems Mavericks can’t tell the difference between the programs or won’t let me.
    Message was edited by: WWGreaves

    Open DIsk Utility and in the toolbar select Disk Image. The file selector will open and you'll have to do three things: 1) just as with any file, name it and point the file selector to where you want it to be saved, 2) near the bottom you'll see name - type iWork 2013 and 3) below that select the image size. Click on size, choose custom and type 1500 MB then click on the Create button.
    Some time will pass and then you'll see an external disk pop up on your desktop and/or the Finder window sidebar. Drag the three programs into it and eject it like any other external disk. Now delete the programs from your applications window.
    Where ever it was you pointed the file selector to you'll see the file you created. Double click on it and the disk image will mount again.

  • How can I add an application in the "Open With..." menu?

    Hi, I'd like some help here. I'm downloading citations that are plain text file, so when I open them I have to browse all the way to the Endnote folder to find the app, since Endnote is not in the short list of programs that Finder proposes for opening the text files. Is there a way to add Endnote to this list?
    Thanks.
    Merry Christmas!

    In my limited knowledge there is no way for a user to add an application to this list. You might try one of these two options.
    1. Use a utility like Cocktail or Onyx to reset the launch services database. This is the database that decides which applications get launched when a file is double clicked. It may be that the Endnote application didn't get recognized. However OS X decides what applications to add to the list based on files types.
    2. The easier solution is to select one of the files you wish to open with Endnote. Right click on the file and select Get Info. Under the "Open with" menu select Other... and navigate to the Endnote application and select it. Now click the Change all button. From now on when you double click your citation file it will automatically open with the Endnote application.

  • How did my pdf files get converted from 'open with Adobe Reader' to open with Adobe Acobat'?  And if I have a ''free'' Acrobat account why does it not open?  When I do click on the account it ask me to pay $89.99.  I never wanted Acrobat.  How can I get -

    How did my stored files get converted from 'open with Adobe READER' to 'open with Adobe ACROBAT'? How can I get them re-set to open with 'Adobe Reader'?
    Please reply to my e-mail:   [email protected]

    It sounds as if you downloaded Adobe Acrobat Pro. If you did, uninstall it. Then repair Adobe Reader.
    The free Acrobat account has no connection to any of this.

  • How do I always show a Firefox icon when dragging a URL shortcut to the desktop?

    Win 7 Pro 64
    When dragging a URL shortcut to the desktop, I sometimes get the websites favicon regardless if the site has a favicon or not.
    How do I always show a Firefox icon when dragging a URL shortcut to the desktop?
    Thank you

    LIke many others, I had the same problem with v.26. I had a whole slew of URL shortcuts that the icons went to blank white squares. Here is what I did to fix: First I put them all in a folder to make sure there weren't any left on the desktop.
    Next, I opened that folder, went to the first shortcut and double clicked it to open the web page. When it opened, I used the mouse to drag the URL onto the desktop creating a new shortcut. Again the white square icon resulted.
    So I right clicked the shortcut, clicked on "Properties" and under the "Web Document" tab, clicked "Change Icon". A new pop-up window opens that attempts to find a new icon in the windows shell files.
    I instead clicked "Browse" and inserted the directory path to the Firefox program file:
    "C:\Program Files (x86)\Mozilla Firefox\firefox.exe"
    SIX icons were shown, the top left being the familiar white square with the Firefox logo, which I selected, then clicked my way back out on the "OK" buttons.
    NOW, I opened each URL link in the folder, and once opened in a new browser window, dragged the URL's to the desktop and NOW Firefox assigned each one the new correct icon automatically. Once done with all the shortcuts, I deleted the old ones from the folder and the folder itself. End of problem. Now when I save new shortcuts by dragging URL's to the desktop it saves them correctly.

  • I just got an IPAD2 on Saturday.  With the Mac, I could always tell when programs were open/running by going to the menu bar.  How can I tell what programs are running in the background.  I am struggling with not being able to go to a menu bar at the top

    I just got an IPAD2 on Saturday.  With the Mac, I could always tell when programs were open/running by going to the menu bar.  How can I tell what programs are running in the background.  I am struggling with not being able to go to a menu bar at the top

    You can see which apps are open and/or recently used by double-clicking the home button to bring up the taskbar at the bottom of the screen (not all apps that appear there are active) - you can then close apps on it by pressing and holding one of them for a couple of seconds or so until they start shaking, then press the '-' in the top left of the Mail app to close it, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar. If you have an app 'open' on-screen then it won't appear on the taskbar, you will need to go back to the homescreen first, and it should then show when you next open the taskbar.
    If you haven't already got a copy then you can download the iPad manual from here : http://support.apple.com/manuals/#ipad

  • How can I control "Show in Finder"?

    I don't know if this is an iTunes question or an OS question. Back when I had Tiger and if I was in iTunes, when I selected a track and went to "Show in Finder," the window that would open in the Finder was in Column view. However, at my work computer (a Mac mini), also running Tiger, it always defaults to the List view. Now I have a new computer, running Leopard, and it also defaults to the List view. How can I change that so it will open in the Column view?
    Thanks!

    A [starting point|http://discussions.apple.com/thread.jspa?messageID=7325904&#7325904]

  • When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    When I upgraded from v4 to v5 my bookmarks was lost. I do have the one that is in the firefox toolbar. Apparently I had a bookmarks add-on. V5 changed my browser how can I determine what the program was and if the bookmarks are still there?

    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do NOT click the Reset button on the Safe Mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes
    Websites remembering you and automatically log you in is stored in a cookie.
    *Create an allow Cookie Exception to keep such a cookie, especially for secure websites and if cookies expire when Firefox is closed.
    *Tools > Options > Privacy > Cookies: Exceptions
    In case you are using "Clear history when Firefox closes":
    *do not clear Cookies
    *do not clear Site Preferences
    *Tools > Options > Privacy > Firefox will: "Use custom settings for history": [X] "Clear history when Firefox closes" > Settings
    *https://support.mozilla.org/kb/Clear+Recent+History
    Note that clearing "Site Preferences" clears all exceptions for cookies, images, pop-up windows, software installation, and passwords.
    Clearing cookies will remove all specified (selected) cookies including cookies that have an allow exception and cookies from plugins.

  • I have a htc wildfire, and if i try to install firefox from android market place it says that my device is not compatible with firefox. how can i install it ?

    i have a htc wildfire, and if i try to install firefox from android market place it says that my device is not compatible with firefox. how can i install it ?

    According to a random website... the HTC Wildfire S uses a Qualcomm MSM7225 processor. This processor unfortunately does not support the full ARM version 7 instruction set, so Firefox cannot run on it.

  • How can I get rid of a green box with a white check mark in it this box is covering some of my photos and on the windows icon for firefox.

    How can I get rid of a green box with a white check mark in it this box is covering some of my photos and on the windows icon for firefox. edit

    When I search for solutions, I find several references to the backup feature of Norton 360. There also were references to MozyHome and McAfee.
    http://community.norton.com/t5/Norton-360/Green-check-marks-on-icons-N360/m-p/40982
    http://answers.microsoft.com/en-us/windows/forum/windows_xp-pictures/white-check-mark-in-a-green-box/71b70580-b5f1-4336-8d72-71faf1f55cd6

Maybe you are looking for

  • Iphoto 7.1.5- unable to buy book due to error in account information

    After downloading the new iphoto version 7.1.5, I am unable to order my iPhoto book (as I have done several times before). I receive and error message that says "An error occurred while confirming your account information." I checked my account and i

  • Missing or stollen I pods

    **Is there anyway to find out if someone stole my I Pod. I know where I left it at my house and then it ended up missing. Can It even be used on another computer? I thought it needed to be used at the same computer for it to work? Has anybody had any

  • Solaris 10 x86 install and X Windows

    Greetings, I am having trouble getting the X server to come up on a new install of S10 on an x86 platform. I have run the kdmconfig utility and it correctly detects the hardware for the Xsun server. I tried to use the instructions for Xorg but Xorg d

  • Reports builder alignment different that pdf aligned

    I'm using Oracle Reports 10g I have a report that output to a pdf, I have to make the report misaligned from report builder runtime (screen) so it aligned when it runs from the applications server development to pdf; that works in our development ser

  • Redeeming the one site hosting via Business Catalyst?

    I want to upload the one free site that is part of my Muse subscription but cannot find any steps to follow other than the normal ones which will mean being billed. Help!