41

also installable via brew cask install qlstephen


40

Download a release of qlstephen from Github, and load it into the /Library/Quicklook or ~/Library/QuickLook folder. Then, restart the Dock. I use this all the time when previewing JSON files, and it works great.


27

I've uploaded QuickLook and Spotlight plugins here: https://github.com/Marginal/QLVideo/wiki . These allow Finder to display thumbnails, static previews, cover art and metadata for most types of video files, including .asf, .avi, .flv, .mkv, .rm, .webm, .wmf etc.


27

This "blank Quicklook image" Bug is caused by the activation of the undocumented TextSelection-Feature. As soon as I deleted that feature with this terminal command the blank images were never seen again ;-) defaults delete com.apple.finder QLEnableTextSelection; killall Finder; If this delete-command doesn't work for you, you could try to disable the ...


24

QLStephen is a more general solution that works for all kinds of text files.


16

Try: defaults delete com.apple.finder QLEnableTextSelection; killall Finder https://discussions.apple.com/thread/6018924?start=15&tstart=0


16

A combination of the answers in here + killing all QuickLook-related processes fixed it for me. I have been experiencing this ever since the Mojave update. No reboot required. qlmanage -r commands always got stuck for me, too. Fix TL;DR version: Delete DropboxQL.qlgenerator from ~/Library/QuickLook (Credit to suntrop) Restart Finder sudo ...


15

You can use the quicklook-json plugin. If you want to install it via homebrew, run brew cask install quicklook-json which requires a running brew install caskroom/cask/brew-cask if you never did that before.


15

Try the following: Open the Terminal application (/Applications/Utilities/Terminal.app) Type qlmanage -r and hit enter Type qlmanage -r cache and hit enter Close Terminal and restart your system This should force QuickLook to reload the generator lists and reset the disk cache. Source: https://www.macissues.com/2014/03/22/fix-quicklook-errors-in-os-x/


15

Is there any other new shortcut for zooming an image to actual size in Quick Look on the latest version of macOS Mojave? In the public release of macOS Mojave 10.14, Command + 0 keyboard sequence appears to achieve the desired function. To zoom back out again use the keyboard shortcut Command + 9. You can use Command+ and Command- to Zoom in and Zoom Out, ...


14

Open Terminal, and type the following: qlmanage -m plugins This will give you a fairly long list of all your active QuickLook plugins: The types listed there might look a little strange, like com.apple.safari.bookmark. Those are Apple Uniform Type Identifiers or short UTType identifiers, and there is a list of the default ones available from Apple here. ...


13

It's not that the defaults write command fails. I verified the file, and it wrote the variable to it. The problem is somewhere in the design. Maybe they have moved it? I have been looking in the containers and other files but no luck yet. I hope they didn't completely kill it. Maybe there is a way to copy the old Yosemite version of QL back? If I ...


12

From the CLI qlmanage -r will reset the Quick Look cache.


12

A temporary solution is to press ALT (twice) when presented with a grey image.


11

There is no setting in macOS to enable markdown support. However, Quick Look does allow for third party plugins to extend the base behavior. The QLMarkdown plugin is one such plugin that allows Markdown files to be read. You can install it either by: Download the QLMarkdown.qlgenerator in either ~/Library/QuickLook (current user) or /Library/QuickLook (all ...


9

It looks like all the previous answers to this question are completely uninformed. I suggest that you completely disregard all of them. It is unlikely, for instance, that telling the document creator that what they did was faulty will really get you anywhere. First, it's likely that they did not embed fonts, yes, but there are many fonts that carry flags ...


8

People can develop plugins to allow Quick Look to support more file types. You can find Apple's Quick Look documentation here. Luckily though Timac (aka Alexandre Colucci) has already created one. You can find Timac's Quick Look plugin for strings files here. Just download the compiled plugin, copy it to your /Library/QuickLook folder and run the qlmanage -...


7

It seems this fixed it for me: defaults delete com.apple.finder QLEnableTextSelection && killall Finder I turned text selection in the Quick Look Window on a long time ago. After disabling it, the bug is gone


6

Run brew cask install quicklook-json to Preview JSON files. There are bunch of other usefull here, check following awesome list https://github.com/sindresorhus/quick-look-plugins Or install with following brew install caskroom/cask/brew-cask brew cask install qlcolorcode qlstephen qlmarkdown quicklook-json qlprettypatch brew cask install quicklook-csv ...


6

"QuickTime on Mavericks" is not QuickTime anymore - it is "AV Foundation". QuickLook and QuickTime Player are based on this "new QuickTime". "AV Foundation" comes from iOS, was implemented for Mac OS X too and does not offer extensions (and will never) like codecs / plugins. As Apple says: anything else than MPEG-4 (H.264) is old stuff and must be converted....


6

You might consider simply using QLStephen which will add proper QuickLook support for all text files regardless of their extensions. It will also properly handle files without extensions (e.g. README, Makefile). What I like about it is that you don't have to maintain a list of extensions; QLStephen detects text files automatically. QLStephen is independent ...


6

Just to tie together the comments & partial answers… Current state of play [as of OS X 10.11.2] would actually appear to be "this can no longer be done". Regarding the following on QLEnableTextSelection… that one alternative will fix it whilst the other doesn't appears to be some kind of hopeful, yet unfounded, meme going round the interweb - people ...


5

Open Terminal, type: sudo nano /System/Library/Sandbox/Profiles/com.apple.qtkitserver.sb This will open the nano editor with the rules file. Scroll right to the bottom of this file and enter: (deny file-read* (regex #"^.*\.mkv$")) After this do Ctrl-O and then Ctrl-X to save and exit the application. Reference: http://forums.macrumors.com/showthread.php?...


5

Sorry to be the bearer of bad news, but native support of FLAC in Mavericks is near non-existent. Your best bet would be to just convert your FLAC to ALAC, or Apple Lossless Audio Codec. You can download the free utility XLD, or X Lossless Decoder, to convert. Download XLD from its homepage here: http://tmkk.undo.jp/xld/index_e.html


5

Finally ... I found page providing some QuickLook solutions based on Homebrew's caskroom: brew cask install qlcolorcode This is based on a fork from and old repository but is maintained and developed quite well at least until today. I gave it a shot and it works just fine, though I still prefer the dark theme of TextMate :)


5

(After reading all the literature I could find around the issue here's what I've learned) A disclaimer first There is a chance (as @Mr.Kennedy points out) that your system is suffering from issues with the quicklook generator. You may wish to read first his very thorough details on clearing the cache and debugging qlamanager's process of generating the ...


4

It's a bug for sure, but the root-cause is a cached search in Finder which tries to find every file on the system and runs out of resource handles or something. It's an obvious use-case in Finder that I'm astonished nobody has spotted yet (but I have been a Unix/Linux system developer for 20 years). When Finder is doing it, you can both get rid of the ...


4

Running defaults write -g QLEnableTextSelection -bool true and relaunching applications works for me. defaults write com.apple.finder QLEnableTextSelection -bool true only applies to Finder but defaults write -g QLEnableTextSelection -bool true applies to all applications. If it doesn't work, see what Quick Look generator handles plain text files: $ ...


4

QuickLook for these types of files works because the file type is specified in Xcode's Info.plist. In order for QuickLook to use Xcode to quick view these files again in Finder, you'll need to edit Xcode's Info.plist file. This is found by right clicking the Xcode.app file in your Applications and clicking "Show Package Contents". You'll find Info.plist in ...


4

You can run rm -r /Applications/TextMate.app/Contents/Library/QuickLook/TextMateQL.qlgenerator but you'll have to do that again every time TextMate is updated.


Only top voted, non community-wiki answers of a minimum length are eligible