6

This is an attempt to write a canonical QA for this issue, as per the Meta post: Where is the list of canonical questions stored for Ask Different? I expect it to be periodically edited with the goal of becoming a comprehensive information resource.

How can I change the application that normally opens when I...

  • Open a link or a file

    • Make FTP open with Firefox, Chrome, Opera, etc. instead of Finder
    • Set my default Mail, News or RSS reader
    • Have ssh connections open in iTerm but Telnet open in Terminal
    • Open a music app like Vox (anything but iTunes) for music
    • Open a zip file with WinZip for Mac instead of Finder
    • Do nothing when a file or URL is selected/opened
  • Connect a media device (camera, webcam, CD/DVD, etc.)

    • Prevent Photos from opening when I attach my camera
    • Run a script when I plug in a webcam
    • Automatically launch a Handbrake (or another app) when I insert an Audio CD

Also, is it possible to see, define, or edit what files, extensions are opened by Applications? For example, I want...

  • Photoshop
  • TextEdit
  • Microsoft Office (Excel, Word, PowerPoint, etc.)
  • Archive Utility

Using CommandI is very useful for setting specifc apps, but I want a more "global" solution to set specifics for each application and or extension.

Is there a way to do this easily on macOS?

5

RCDefaultApp.

There's a free (as in beer) application that you can use to change how macOS behaves with respect to application associations and URL, protocol, and media handling: RCDefault App.

RCDefaultApp is a Mac OS X 10.2 or higher preference pane that allows a user to set the default application used for various URL schemes, file extensions, file types, MIME types, and Uniform Type Identifiers

Set Default Apps

One of the most convenient uses of this application is to set your default app for common protocols like web browsing or email (setting your default browser or mail apps) or switching FTP from Finder to Firefox or Chrome.

Default Apps

File (Extensions) by Application

One of the more useful (and global) features is to find out what file extensions are "assigned" to a particular application. For example, here we can see what's associated with Acrobat Pro.

Extension by Application

Applications by Extension

The flip side to seeing what's assigned to a particular application is to see what application is assigned to a particular extension. In this case PDF is assigned to Acrobat Pro. From here, we can change its association to another application (like Preview).

Applications by Extension

Disable an App

One of the more useful tools (extremely useful in Lab or shared environments) is to disable certain apps, extensions, or protocols from ever being opened. For example, in the example below, Spotify can be disabled and will not open.

Disable an App

Installation & Use

It's an older app and it hasn't been updated since 2009; however, I recently tested it on both El Capitan and High Sierra.
Tested still working on Mojave 10.14.1 at Oct 18.

After downloading and mounting the DMG, simply copy the file RCDefaultApp.prefPane to either of the following directories:

  • /Library/PreferencePanes/ - will be available systemwide for all users
  • ~/Library/PreferencePanes/ - only availabe to your user profile

Open System Preferences and launch the utility

RCDefaultApp Icon

Pricing

It's FREE as in beer, but if you do find the utility useful, I encourage you to make a donation. Please note that I am not in any way affiliated with the developers or the software referenced here in any way.

  • Can you confirm this still works on High Sierra? superuser.com/a/644593 – JBis Jun 25 '18 at 2:57
  • @JBis - First sentence under the heading Installation & Use... – Allan Jun 25 '18 at 3:04
  • Maybe I should actually read the answer before commenting on it :) – JBis Jun 25 '18 at 3:05
  • May I suggest that you also add to your answer the plists that the app is actually changing--ways users can do it without an App? – JBis Jun 25 '18 at 3:07
  • @JBis - it's a canonical answer - feel free to contribute! – Allan Jun 25 '18 at 3:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .