Solved

How to stop TextEdit from showing recently accessed files in Mac

Posted on 2016-09-17
2
132 Views
Last Modified: 2016-09-19
HI,
I am using Textedit and when it appears in Dock and i do a right click on it it shows the following :
Screen-Shot-2016-09-17-at-6.08.34-PM.pngOn the top of this list it shows the list of recently accessed files.
How do i clear this and stop it from displaying anything.
Although if i go to Open Recent the list is Blank...
Screen-Shot-2016-09-17-at-6.10.46-PM.pngThe recent list i set an option generally to not show anything.. But its still shows when i right click on the TextEdit.

Thanks
0
Comment
Question by:Rohit Bajaj
2 Comments
 
LVL 53

Assisted Solution

by:strung
strung earned 150 total points
ID: 41802989
You can globally stop all applications from showing recent items by going to System Preferences > General and setting Recent Items to Zero.
0
 
LVL 29

Accepted Solution

by:
serialband earned 350 total points
ID: 41803056
The setting may be None instead of Zero
That stops all applications that use the system, such as TextEdit from showing recent items, but unfortunately that doesn't stop the system from saving them to the 2nd plist file that shows on the dock.  Some applications use their own recent items list, such as Microsoft Office.

I've just clear them manually as I use them, since I find some of the recent items useful.

I haven't yet tried myself, since I want to keep my textedit plist, but you may be able to also clear each app individually if you still want to show recent items in other apps
defaults delete com.apple.TextEdit.LSSharedFileList.plist RecentDocuments
defaults delete com.apple.TextEdit.SandboxedPersistentURLs.LSSharedFileList.plist RecentDocuments

You'll find them in ~/Library/Preferences/

I think it may be due to the extra plist, com.apple.TextEdit.SandboxedPersistentURLs.LSSharedFileList.plist
I Got the idea from https://simon.heimlicher.com/articles/2011/07/26/disable-recent-items then examining ~/Library/Preferences/ to find 2 plists for TextEdit and Preview.  I suspect that setting the global setting toggles the first plist file, but not the SandboxedPersistentURLs.
1

Featured Post

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Package creation on OS X uses the PackageMaker utility installed as part of the XCode development suite ( on the OSX Client CD).  Packages can be installed as part of the machine build process, or later using Apple Remote Desktop. They are generally…
Deploystudio is a system which can be used to deploy OSX clients and servers within the small/medium or large business environments. The system is built onto of the OSX Server NetBoot system and uses images & workflows as its core assets. While work…
Users will learn how resize a batch of photos from a single command in Photoshop via Photoshop's Image Processor. Open up an Image you'd like to resize in Adobe Photoshop: Adjust the image size according to your preferences. Image > Adjustments > …
Users will learn how to set proper sequence settings, scale images, paste attributes, add transitions, fades, and music. Open up Final Cut Pro 7 and Create a new Project: Set the Sequence Settings. a) Click File > Easy Setup > Format > Apple ProRe…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question