Ask Different is a question and answer site for power users of Apple hardware and software. 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

I was changing the default program to open .txt files with and I noticed 2 entries for TextMate. Its one of those little things that annoy me. How can I fix it? I didn't see 2 directors of in /Applications.!

Get Info Open With

share|improve this question
up vote 9 down vote accepted

Mac OS X automatically keeps a database of all applications and their corresponding file-types called the LaunchServices database. You can examine where both of your TextMate executables are located by opening from /Applications/Utilities and entering:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -dump |  /Applications/

This will open a long file full of all Applications that your LaunchService DB "knows" on your Mac in TextMate. Examine this file for the "path:" of your duplicate entires of "TextMate".

It´s quite likely that you´ve already removed the second "TextMate" but your LaunchServices still remembers it. I guess you should tell the Datatbase to rebuild by entering:

/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Versions/A/Support/lsregister -kill -r -domain local -domain system -domain user

into the Terminal and then restarting your computer. This may lead to your Mac forgetting some custom "open with.." assignments though.

share|improve this answer

Or, it could mean that you have two different versions of TextMate installed. Try searching for textmate in spotlight and see how many applications it finds. Throw the old one in the trash and you should be good to go.

I get the same thing with Numbers as I still have the '09 and '10 versions installed... :)


share|improve this answer
...why are you advertising (presumably your own) website here, what´s the benefit for the community? In addition, that link is broken. – Asmus Mar 10 '11 at 12:18
Why not? Is there a Stack Exchange policy against promoting my own creation via my sig line in exchange for my participation on this site? Who does it harm? – Piko Mar 15 '11 at 5:50
Read the FAQ: It clearly states not to use signatures. You can put links on your user page, but should not put them in your posts. – Asmus Mar 15 '11 at 7:09
The FAQ says: "Please don’t use signatures or taglines in your posts." That language means that signatures are optional. If sigs are prohibited, the FAQ needs to be updated. – Piko Mar 21 '11 at 18:50

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.