I just set up default app for certain file extension by mistake. Now i cannot revert it back to default, i can only set another app to open this type of file (CMD+I).

I've tried to rebuild LaunchServices then reboot, but nothing changed. I still can open .twig files with SublimeText 3

  • Whatever you have chosen is the default app. Just change it back to whichever app it was before you changed it. – l008com Mar 24 '18 at 7:00
  • @l008com, it had no app associated with it. Cannot return to that state – Alexander Kim Mar 24 '18 at 7:06
  • What OS? RCDefaultApp can remove file associations, but I understand it no longer runs on High Sierra. – Tetsujin Mar 24 '18 at 7:19
  • High Sierra, ofc. Yes, RCDefault not working anymore. – Alexander Kim Mar 24 '18 at 7:57
  • then maybe SwiftDefaultApps – Tetsujin Mar 24 '18 at 9:23

Duti sets associations, see https://github.com/moretension/duti/ or if you use Homebrew simply brew install duti then follow the included instructions.

  • 1
    duti is not a homebrew app - it is a generic commandline app. Also how does it set the default to no app – mmmmmm Jan 14 '19 at 16:54
  • Editors and reviewers please take care. It nedd editig but you removed the important point that it does not work. – mmmmmm Jan 14 '19 at 16:58

You must log in to answer this question.

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