Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

With Preview in Mountain Lion, I carelessly checked the box –

[√] Do not show this message again

– imagining that the preference was for just one volume.

Then realised that the warning (the sheet):

  • no longer appears for Preview, with other volumes that do not support permanent version storage
  • continues to appear for apps other than Preview, with the volume where I don't require the warning.

In other words, I imagined wrong. The preference may be app-specific, not volume-specific.

Please:

  • how do I regain the warnings in Preview?

Already I sped through ~/Library/Preferences sorted by modification date, and opened a few files including com.apple.finder.plist but at a glance:

  • I can't find any .plist with content that includes the string revision

If the preference is elsewhere in com.apple.finder.plist: where?

(I'd prefer to not abandon that file – it's 35 KB with 3,417 lines.)

Also I viewed the content of recently modified .plist files relating to Preview. Unless I'm missing something, nothing relating to revisions, versions or storage. com.apple.Preview.plist is not recently modified –

com.apple.Preview.* preference files

– and within those nine, the two that are recently modified seem to contain nothing relating to permanent version storage:

screenshot of a .plist in TextWrangler

screenshot of a .plist in TextWrangler

Any other ideas on how to correct my mistake? – Thanks

share|improve this question
    
Shouldn't you rather look at *preview.plist instead of *finder.plist? –  patrix Nov 6 '12 at 4:37
    
@patrix already done, please see revision 2 of the question. In revision 3 there's additional detail. –  Graham Perrin Nov 6 '12 at 7:50
    
Why don't you find out which, if any, .plist is involved just by saving them elsewhere, letting the System to create new ones, and just replace these with the old ones? –  Thecafremo Nov 6 '12 at 11:02
add comment

1 Answer

up vote 1 down vote accepted

For apps that are not sandboxed

Example:

To regain warnings about permanent version storage for Apple Pages

Quit the app, then a one-line command in Terminal:

defaults write ~/Library/Preferences/com.apple.Pages NSDocumentSuppressTempVersionStoreWarning -int 0

– in the Preferences area that's familiar to users of Snow Leopard and less.

For apps that are sandboxed

The operating system uses a different approach to containment of some preferences:

~/Library/Containers/<bundle_id>/Data/Library/Preferences

Example:

To regain warnings about permanent version storage for Apple Preview

Quit the app, then a one-line command in Terminal:

defaults write ~/Library/Containers/com.apple.Preview/Data/Library/Preferences/com.apple.Preview NSDocumentSuppressTempVersionStoreWarning -int 0

Thoughts

I should have thought first of ~/Library/Containers when, in the question, I observed –

com.apple.Preview.plist is not recently modified

– but I didn't realise what was going on until after I used fseventer to visualise writes for a different user of the OS.

screenshot of Quick Look of a sandboxed preference file for Preview


References

App Sandbox Design Guide: Migrating an App to a Sandbox

A visual record of me finding the relevant key in the .plist for Pages

A visual record of me finding the relevant key in the .plist for Preview

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.