Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

By default PNG images open in Preview. At some point, this has changed on my system so that clicking on a PNG file launches Paintbrush. While that's a really nice app, I'd still like the default to be Preview. How to change it back? (I formulated the question title to be little more generic — how to do this for any file types?)

I'm looking for the easiest, most readily-available way, with no 3rd party tools or going to the command-line. Somewhat surprisingly, System Preferences seems to contain nothing related to file associations.

This beginner question should probably be an easy one... I hope!

share|improve this question
Additional question from Rajesh Vaghela (in an answer; reposting here as comment): "Any programmatic solution for this problem?" – Jonik Oct 13 '10 at 15:01
up vote 8 down vote accepted
  1. Get Info on the file in Finder (⌘I)
  2. Find the "Open with:" section
  3. Change the application to the one you want
  4. Click "Change All…" to apply the change for all files of the same type.

Info window

share|improve this answer
Thanks, this works. Extremely quick reply! :) – Jonik Aug 24 '09 at 20:46
+1 Great explanation – Alex Rozanski Aug 24 '09 at 20:48
Just wondering: during the 3 min 8 secs between me posting the question and you the answer, did you take the screenshot and upload it to imageshack yourself, or did you re-use someone else's pic? ツ – Jonik Aug 24 '09 at 20:59
I took it myself, cleverly hiding my short username by collapsing the General section. ;) I used the ImageShack uploader that I made myself (based on a widget): – jtbandes Aug 24 '09 at 21:13
+1, was just checking how to do this a few minutes ago. – jtimberman Aug 24 '09 at 21:42

You must log in to answer this question.

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