Contribute
Register

Preview not working in OSX Mojave 10.14

Status
Not open for further replies.
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
 
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.
 
thanks jerryy2345
 
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.
 
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: 35
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:
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?
 
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:
 
Status
Not open for further replies.
Back
Top