Posted on 01-18-2014 12:57 PM
Hi,
I've been looking at different ways to set default applications for different filetypes, such as setting outlook as the default application for mail and acrobat reader for pdfs.
What I've noticed is that threre are a lot of different ways on how to do this.
Some build a monolith image that contains the different applications and settings and then deploy that.
Others build scripts that set the defaults and then there are some people that capture the launchservices with composer and deploy it. Then there's the option of using duti to set it.
What I haven't figured out is what the pros and cons with the different methods are? I'm leaning more and more towards capturing the settings with composer and just deploy that, simply becasue it's seems to me that it's the fastest way to go about it. Am I missing something?
Posted on 01-18-2014 01:10 PM
Duti is your friend:
Multi-functional, & you can script it.
I have my default apps set via a launchAgent.. So that whenever someone logs out then in, duti sets (resets) them to what we want.
Posted on 01-18-2014 04:43 PM
Every now and then I'm surprised by something. Until tonight, I'd never heard of Duti. What a remarkable and useful tool! Thanks for this, Ben.
Posted on 01-20-2014 10:23 AM
+1 for duti. (That said I really do need to spend some quality time with it getting web browsers to be recognized for .ics events into enterprise Gmail..)