Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Alternative on Mac OS Ventura (Apple Silicon) #19

Open
bplace opened this issue Mar 27, 2023 · 2 comments
Open

Alternative on Mac OS Ventura (Apple Silicon) #19

bplace opened this issue Mar 27, 2023 · 2 comments

Comments

@bplace
Copy link

bplace commented Mar 27, 2023

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à :)

@Saratxe
Copy link

Saratxe commented May 19, 2023

Didn't work for me. :-(

@vigo
Copy link

vigo commented Sep 21, 2023

qlstephen worked as expected but quicknfo did not :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants