Contribute
Register

Preview not working in OSX Mojave 10.14

Joined
Apr 5, 2018
Messages
3
Motherboard
Gigabyte B360M GAMING HD
CPU
I5 9600K
Graphics
RX 560
If you can, avoid using TextEdit to muck around in system files. BBEdit or TextWrangler is okay for that. (It is very easy to have an accidental keypress leave an invisible (non-printing) character that wreck the whole file.

There is a direct and fairly easy way to use the os system built-in editors to do this:

1) Have your board-id from your config.plist file handy.
2) Open a Terminal window (Terminal.app is in your /Applications/Utilities folder

3a) At the prompt, type cd
/System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/Resources/ and press the return key

3a1) Note: If you are familiar with Terminal, then drag and drop from a finder window will work for the cd command.

3b) Type ls -la and press the return key, you should get something that looks like this:

drwxr-xr-x 5 root wheel 160 Oct 18 15:42 .
drwxr-xr-x 5 root wheel 160 Oct 18 15:42 ..
drwxr-xr-x 3 root wheel 96 Aug 20 22:00 English.lproj
-rw-r--r-- 1 root wheel 5337 Oct 18 22:26 Info.plist
-rw-r--r-- 1 root wheel 513 Oct 11 23:52 version.plist

3c) Type sudo nano info.plist and press the return key. You will be asked to enter your password. Do so and press the return key.

4) You will be in a text editor that actually looks and acts like an older version of TextEdit. Okay, a very old version.

5) Press the control key and the w key at the same time to bring up the 'where is' search function. Paste in or type in the board id that you have been holding off to the side all of this time from step 1). Press the return key.
You will be taken to the line that has your board-id in it.

6) Use the cursor arrow keys on your keyboard to move to the entry in your board id section for the jpeg = true part. Change this to false.

7) Press the control key and the o key at the same time to bring up the 'write out' file option (save) and just press the return key to save the file using the default info.plist suggested file name.

8) Exit the editor by pressing the control and x keys together at the same time.

9) Reboot the machine and you should have jpegs again in QuickLook and Preview.

Alternatively, you can delete the entire section for your board-id and get the desired results, but ... why?
Note: After each update, you will have to reapply this technique, the updater rewrites the info.plist file.
It worked for me Thanks. Got the Board-Id with the help of Clover Configurator
 
Joined
Oct 23, 2012
Messages
44
Motherboard
Gigabyte Z390i Aorus Pro WIFI
CPU
i9-9900KS
Graphics
Vega 64
Thanks jerryy2345! I did this and it seems like it worked for me too. Are there any side effects to doing this? Are the JPG previews still hardware accelerated this way?

9) Reboot the machine and you should have jpegs again in QuickLook and Preview.
 
Joined
Aug 26, 2017
Messages
176
Motherboard
Gigabyte Z170X-UD5 TH
CPU
i7-6700K
Graphics
RX 580
Mac
  1. iMac
Classic Mac
  1. iMac
  2. LC
  3. Power Mac
  4. Quadra
thanks jerryy2345
 
Joined
Aug 28, 2016
Messages
104
Motherboard
Gigabyte Z390 Gaming SLI
CPU
i7-8700
Graphics
Vega 56
Mobile Phone
  1. Android
  2. iOS
If you can, avoid using TextEdit to muck around in system files. BBEdit or TextWrangler is okay for that. (It is very easy to have an accidental keypress leave an invisible (non-printing) character that wreck the whole file.

There is a direct and fairly easy way to use the os system built-in editors to do this:

1) Have your board-id from your config.plist file handy.
2) Open a Terminal window (Terminal.app is in your /Applications/Utilities folder

3a) At the prompt, type cd
/System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/Resources/ and press the return key

3a1) Note: If you are familiar with Terminal, then drag and drop from a finder window will work for the cd command.

3b) Type ls -la and press the return key, you should get something that looks like this:

drwxr-xr-x 5 root wheel 160 Oct 18 15:42 .
drwxr-xr-x 5 root wheel 160 Oct 18 15:42 ..
drwxr-xr-x 3 root wheel 96 Aug 20 22:00 English.lproj
-rw-r--r-- 1 root wheel 5337 Oct 18 22:26 Info.plist
-rw-r--r-- 1 root wheel 513 Oct 11 23:52 version.plist

3c) Type sudo nano info.plist and press the return key. You will be asked to enter your password. Do so and press the return key.

4) You will be in a text editor that actually looks and acts like an older version of TextEdit. Okay, a very old version.

5) Press the control key and the w key at the same time to bring up the 'where is' search function. Paste in or type in the board id that you have been holding off to the side all of this time from step 1). Press the return key.
You will be taken to the line that has your board-id in it.

6) Use the cursor arrow keys on your keyboard to move to the entry in your board id section for the jpeg = true part. Change this to false.

7) Press the control key and the o key at the same time to bring up the 'write out' file option (save) and just press the return key to save the file using the default info.plist suggested file name.

8) Exit the editor by pressing the control and x keys together at the same time.

9) Reboot the machine and you should have jpegs again in QuickLook and Preview.

Alternatively, you can delete the entire section for your board-id and get the desired results, but ... why?
Note: After each update, you will have to reapply this technique, the updater rewrites the info.plist file.


Thanks for this post, but I was trying to do it and the nano tells me:
"Error writing Info.plist: Operation not permitted"

I did exactly as you say, but I can not change it. I'm in Mojave 10.14.6, any suggestions?

Thx.
 
Joined
Nov 25, 2013
Messages
2
Motherboard
pc
CPU
1
Graphics
2gb
Mac
Classic Mac
Mobile Phone
ga 390m gaming motherboard
i5 9600
radeon rx570 4gb
not showing psd thumbnail....
 

Attachments

  • Screenshot 2020-01-11 at 12.10.07 PM.png
    Screenshot 2020-01-11 at 12.10.07 PM.png
    65.4 KB · Views: 7
Joined
Jan 29, 2020
Messages
1
Motherboard
Dell Optiplex 9020
CPU
Intel Core i7 4790
Graphics
Sapphire Pulse Radeon RX 580 8GB
Mac
  1. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
If you can, avoid using TextEdit to muck around in system files. BBEdit or TextWrangler is okay for that. (It is very easy to have an accidental keypress leave an invisible (non-printing) character that wreck the whole file.

There is a direct and fairly easy way to use the os system built-in editors to do this:

1) Have your board-id from your config.plist file handy.
2) Open a Terminal window (Terminal.app is in your /Applications/Utilities folder

3a) At the prompt, type cd
/System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/Resources/ and press the return key

3a1) Note: If you are familiar with Terminal, then drag and drop from a finder window will work for the cd command.

3b) Type ls -la and press the return key, you should get something that looks like this:

drwxr-xr-x 5 root wheel 160 Oct 18 15:42 .
drwxr-xr-x 5 root wheel 160 Oct 18 15:42 ..
drwxr-xr-x 3 root wheel 96 Aug 20 22:00 English.lproj
-rw-r--r-- 1 root wheel 5337 Oct 18 22:26 Info.plist
-rw-r--r-- 1 root wheel 513 Oct 11 23:52 version.plist

3c) Type sudo nano info.plist and press the return key. You will be asked to enter your password. Do so and press the return key.

4) You will be in a text editor that actually looks and acts like an older version of TextEdit. Okay, a very old version.

5) Press the control key and the w key at the same time to bring up the 'where is' search function. Paste in or type in the board id that you have been holding off to the side all of this time from step 1). Press the return key.
You will be taken to the line that has your board-id in it.

6) Use the cursor arrow keys on your keyboard to move to the entry in your board id section for the jpeg = true part. Change this to false.

7) Press the control key and the o key at the same time to bring up the 'write out' file option (save) and just press the return key to save the file using the default info.plist suggested file name.

8) Exit the editor by pressing the control and x keys together at the same time.

9) Reboot the machine and you should have jpegs again in QuickLook and Preview.

Alternatively, you can delete the entire section for your board-id and get the desired results, but ... why?
Note: After each update, you will have to reapply this technique, the updater rewrites the info.plist file.


Thanks jerryy2345,
i used "vim" to edit the "Info.plist" and changed
from "<key>jpeg</key><true/>" to "<key>jpeg</key><false/>" and voila....
it worked like a charm...and my Optimac Mojave can preview the image file again.... :)
 
Last edited:
Joined
Aug 28, 2016
Messages
104
Motherboard
Gigabyte Z390 Gaming SLI
CPU
i7-8700
Graphics
Vega 56
Mobile Phone
  1. Android
  2. iOS
If you can, avoid using TextEdit to muck around in system files. BBEdit or TextWrangler is okay for that. (It is very easy to have an accidental keypress leave an invisible (non-printing) character that wreck the whole file.

There is a direct and fairly easy way to use the os system built-in editors to do this:

1) Have your board-id from your config.plist file handy.
2) Open a Terminal window (Terminal.app is in your /Applications/Utilities folder

3a) At the prompt, type cd
/System/Library/PrivateFrameworks/AppleVPA.framework/Versions/A/Resources/ and press the return key

3a1) Note: If you are familiar with Terminal, then drag and drop from a finder window will work for the cd command.

3b) Type ls -la and press the return key, you should get something that looks like this:

drwxr-xr-x 5 root wheel 160 Oct 18 15:42 .
drwxr-xr-x 5 root wheel 160 Oct 18 15:42 ..
drwxr-xr-x 3 root wheel 96 Aug 20 22:00 English.lproj
-rw-r--r-- 1 root wheel 5337 Oct 18 22:26 Info.plist
-rw-r--r-- 1 root wheel 513 Oct 11 23:52 version.plist

3c) Type sudo nano info.plist and press the return key. You will be asked to enter your password. Do so and press the return key.

4) You will be in a text editor that actually looks and acts like an older version of TextEdit. Okay, a very old version.

5) Press the control key and the w key at the same time to bring up the 'where is' search function. Paste in or type in the board id that you have been holding off to the side all of this time from step 1). Press the return key.
You will be taken to the line that has your board-id in it.

6) Use the cursor arrow keys on your keyboard to move to the entry in your board id section for the jpeg = true part. Change this to false.

7) Press the control key and the o key at the same time to bring up the 'write out' file option (save) and just press the return key to save the file using the default info.plist suggested file name.

8) Exit the editor by pressing the control and x keys together at the same time.

9) Reboot the machine and you should have jpegs again in QuickLook and Preview.

Alternatively, you can delete the entire section for your board-id and get the desired results, but ... why?
Note: After each update, you will have to reapply this technique, the updater rewrites the info.plist file.

I did all what you say and I get this message at the bottom of the screen:

[ Error writing info.plist: Operation not permitted ]

Here is a screen capture:

Screen Shot 2020-05-05 at 11.02.04 AM.png


I have been going around this issue for months! Wy am I not allowed to make those changes?
 

UtterDisbelief

Moderator
Joined
Feb 13, 2012
Messages
5,975
Motherboard
ASRock B560M itx/ac - OC 0.6.8
CPU
i3-10320
Graphics
GT710 - 1920x1080
Mac
  1. iMac
  2. Mac mini
Classic Mac
  1. eMac
  2. iBook
Mobile Phone
  1. iOS
I did all what you say and I get this message at the bottom of the screen:

[ Error writing info.plist: Operation not permitted ]

Here is a screen capture:

View attachment 467468

I have been going around this issue for months! Wy am I not allowed to make those changes?


There is no need to edit a system file. All it is doing is stopping hardware rendering of "JPEG" files, choosing software only.

As you have discovered this can be tricky. What is more, you need to do it every time you update your system.

Alternatives exist, such as Whatevergreen. Also there is a boot command to do the same job. If you Search the site for NoVPAJpeg you will find an old, deprecated kext that did the job. The author explains how to use boot commands instead now. :thumbup:
 
Top