PDA

View Full Version : Great little quicklook terminal hack (hidden osx feature)



ZacDavies
2nd October 2009, 02:41 PM
http://media.tumblr.com/tumblr_kqum56otRp1qz9q2i.png

Quick Look has a hidden feature that is not enabled by default, and can only be enabled through Terminal. Essentially, when 'X-Ray mode' is turned on, Quick Looking a folder will show, in a way, the contents of the folder.

Instead of just seeing the regular folder icon in Quick Look, the folder icon will be semi-transparent, with previews of the folder's contents visible in the Quick Look window, as seen in the image at right. What's more, the preview images will rotate automatically, moving through each item in the folder (click the image to see a movie of the animation).

To turn this on, quit the Finder (using Activity Monitor, Terminal, etc.), then open Terminal and enter this command:


defaults write com.apple.finder QLEnableXRayFolders 1

Relaunch the Finder, and enjoy the new folder X-Ray mode in Quick Look. If you ever want to disable it again, quit the Finder, then repeat the above Terminal command, but change the 1 to a 0.


Works in both 10.5 (Leopard) & 10.6 (Snow Leopard)

From Minimal Mac (http://minimalmac.com/post/202080469/improve-quick-look) via Mac OSX Hints (http://www.macosxhints.com/article.php?story=20090912030240376)

grfxninja
2nd October 2009, 03:45 PM
that is cool. I wonder why it is off by default??

Thanks for the tip :thumbup:

ZacDavies
2nd October 2009, 04:13 PM
I suppose it's something they are just testing. Much like recently found Snow Leopard hidden features like NTFS write support (http://smokingapples.com/software/tips/snow-leopards-hidden-ntfs-readwrite-support/) and a hidden list view style (http://usingmac.com/2009/9/29/daily-trick-42).

Boney_Ahem
2nd October 2009, 04:17 PM
Thanks Donnie, that's terrific ... just imagine if stuff was *on* by default ... what else would there be for the likes of the members who appreciate these finds .... it adds a little spice into the mix ;)

Were you aware that if you Opt + Click the Volume icon in the upper right of the menubar that there is an extended menu that appears ... that's enuf for now ... go discover it for yourselves ;)

wmyeoh
2nd October 2009, 06:33 PM
Not to try and steal Donnie Darko's thunder, but this reminded me of another little hack that can provide a view of a folder's contents like this:

http://cache.lifehacker.com/assets/resources/2007/12/quicklookinsidefolders.png

There's a bit of a guide here (http://lifehacker.com/software/featured-mac-download/quick-look-inside-folders-333743.php) and the latest version of this plugin is here (http://homepage.mac.com/xdd/software/folder/).


Edit: Oh, you can also preview a zip file plus other goodies in the Finder through the guide here (http://lifehacker.com/5301914/tweak-your-way-to-a-better-finder).

Barwang
2nd October 2009, 06:42 PM
that's really cool loving snow leopard

Boney_Ahem
2nd October 2009, 06:48 PM
Not to try and steal Donnie Darko's thunder, but this reminded me of another little hack that can provide a view of a folder's contents like this:

http://cache.lifehacker.com/assets/resources/2007/12/quicklookinsidefolders.png

There's a bit of a guide here (http://lifehacker.com/software/featured-mac-download/quick-look-inside-folders-333743.php) and the latest version of this plugin is here (http://homepage.mac.com/xdd/software/folder/).


Edit: Oh, you can also preview a zip file plus other goodies in the Finder through the guide here (http://lifehacker.com/5301914/tweak-your-way-to-a-better-finder).

you successfully running those under Snow Leopard cos they don't work for my Snowy Leopard?

wmyeoh
2nd October 2009, 07:07 PM
Nah - I'm using Leopard at the moment.

Boney_Ahem
2nd October 2009, 07:25 PM
I really liked the Quick Look plugin but it didn't load so I deleted it ... doesn't matter really .... I have Path Finder but I really think that I preferred the Quick Look Plugin to be perfectly honest!

MissionMan
2nd October 2009, 08:27 PM
Nope, just tested in snow leopard. Doesn't work.

Boney_Ahem
2nd October 2009, 08:38 PM
it's a real shame ... I liked the idea but it's not the end of the world ... I've only just leap frogged Leopard and went from Tiger ~> Snow Leo and with all the little gems I'm finding it's gonna be like Christmas has come early, for quite a while yet :p

ZacDavies
2nd October 2009, 08:42 PM
Not to try and steal Donnie Darko's thunder, but this reminded me of another little hack that can provide a view of a folder's contents like this:

http://cache.lifehacker.com/assets/resources/2007/12/quicklookinsidefolders.png

There's a bit of a guide here (http://lifehacker.com/software/featured-mac-download/quick-look-inside-folders-333743.php) and the latest version of this plugin is here (http://homepage.mac.com/xdd/software/folder/).


Edit: Oh, you can also preview a zip file plus other goodies in the Finder through the guide here (http://lifehacker.com/5301914/tweak-your-way-to-a-better-finder).

I actually deleted this plugin to use the OP hack. This plugin kind of bugged me, didnt fit the Apple UI and wasnt entirely practical.

Plugins that can quicklook carious Adobe file formats on the other hand.. very cool (and hard to track down)

Boney_Ahem
2nd October 2009, 08:46 PM
That's interesting to hear a Leopard perspective ... I really am not one for too much hacking ... never use candybar and all those others ... lost too much data one time when I first tried using it to mod icons and themes and stuff ... never went back and never will.

Mind you, back then I had yet to start using Super Duper + Ext HD for backup ...

ZacDavies
23rd November 2009, 10:36 AM
This seems a lil crashy and laggy, which probably explains why its still hidden / in development

Have now disabled it