Skip to content

Alternative on Mac OS Ventura (Apple Silicon) #19

@bplace

Description

@bplace

Have switched to Apple Silicon with Ventura recently, here's my solution to have OKish preview on NFO files :

  • install QLStephen - I did using brew
  • run mdls -name kMDItemContentType file.nfo using a NFO of your choice
    • I have Ascension installed, so I got kMDItemContentType = "com.byteproject.ascension.nfo" as result, you may get something else
  • open ~/Library/QuickLook/QLStephen.qlgenerator/Contents/Info.plist with the editor of your choice
  • below LSItemContentTypes, you'll find an array with content types, I added the content type for NFO on my setup:
<key>LSItemContentTypes</key>
<array>
    <string>public.data</string>
    <string>public.content</string>
    <string>com.byteproject.ascension.nfo</string>
</array>
  • run qlmanage -r and qlmanage -r cache
  • restart the finder (alt - cmd - Esc)
  • test the preview

Source : whomwah/qlstephen#23

Would be nice to have Ascension's font BlockZone used for preview, alas this feature is missing in QLStephen.

Preview not working anymore

If it stops working, maybe another LSItemContentTypes got associated with the NFO file. I had to again mdls -name kMDItemContentType and add the new content type, org.planbnet.nfo, to QLStephen's info.plist

Run the qlmanage commands and restart the finder, et voilà :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions