-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
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.nfousing a NFO of your choice- I have Ascension installed, so I got
kMDItemContentType = "com.byteproject.ascension.nfo"as result, you may get something else
- I have Ascension installed, so I got
- open
~/Library/QuickLook/QLStephen.qlgenerator/Contents/Info.plistwith 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 -randqlmanage -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à :)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels