Hacker Newsnew | past | comments | ask | show | jobs | submit | rover's commentslogin

didn't know that. Thanks.


It's pretty simple and managed by OSX.

- Select a filetype you'd want to change the default application for and open the File Info (Cmd+I) - In the "Open with" section, select the app you want to be the default app for the filetype - To persist the default app along the whole filetype, also click the "Change All" button right below it.


You can also hold down the open button and a list of alternate applications that can be used to open the document drops down. Pretty handy.


well, so did i. Irritation is the root of all hacks :)


beware though. might not work after latest XCode installation


I don't have XCode installed as of yet. I'm on Mountain Lion and I'm waiting for both the official release of ML and XCode on the App Store. Will XCode for ML still interfere with this plugin or is there any other plugin with similar functionality?


well, i don't really know.


Yeah, it's pretty sweet.


cool stuff !


well... :)


awesome !


You'll definitely find what you're looking for here. http://www.macosxtips.co.uk/index_files/terminal-commands-fo...

To save you some time, add a folder as follows:

mdimport -f /Library


On recent OS X versions (Lion at the very least), the problem isn't that /Library and ~/Library aren't indexed by default; they are. Trouble is that if I search for a file named, say "com.apple.RemoteDesktop.plist", Finder appears to run a query akin to

    kMDItemDisplayName == "com.apple.RemoteDesktop.plist"
    && kMDItemSupportFileType != MDSystemFile
which returns nothing on my system, rather than simply

    kMDItemDisplayName == "com.apple.RemoteDesktop.plist"    
which returns three results, one each in subdirectories of /System/Library, /Library, and ~/Library.

There's an option in the "full" Spotlight search window that lets you control this for any given search, under "Other..." in the drop-down you get when you click "+" to add criteria. It's called, logically enough, "System files".

Incidentally, the mdfind command line tool doesn't have this behavior by default.


If you want a nice GUI, try Tembo (http://www.houdah.com/tembo). Tembo is a Spotlight front-end. Incidentally it searches all indexed locations, including Library folders.


:)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: