Apple Event: May 7th at 7 am PT

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Clear recent items in Lion

Most apps (Text Editor, QuickTime, Preview, etc) seems to keep the last 10 items in the contextual menu. I tried opening the specific app "Open Recent -> Clear Menu" and restart the app - but no luck.


I also tried to change the number of recent items to "None" in the System Preferences > General > Number of Recent Items - but that did not help either.


Any suggestions?

Mac OS X (10.7)

Posted on Jul 22, 2011 10:41 AM

Reply
Question marked as Best reply

Posted on Jul 24, 2011 4:36 PM

Unfortunately you have to open each application, go File>Open Recent>Clear Menu. The items will still show until you restart your system.


Apple seem to have no concept that you might want to keep your history private.

29 replies

Oct 11, 2011 6:04 PM in response to GEORGETANG

I haven't looked at this thread for a good while so I don't know if anyone mentioned it, but after I struggled with bash / terminal solutions I ended up finding that the app "Mac Cleanse" in the App Store solves this problem beautifully.


It's a small program that is aimed at saving you some hard disk space and improving your privacy by deleting unnecessary files, clearing caches, etc. There are probably many alternatives but this is the one I've stuck with, even though the software is like $7 and got some 3 star ratings as a result.

Mar 6, 2012 12:53 PM in response to hellomesss

WOW what a feature, its a great concept with a major Achilles heel... I just got past a fifteen minute cycle of doom with Pages. First a document crashed Pages, then guess what, everytime I start Pages it crashes over and over. You think Lion would cop that there was something amiss.


All in all, a great bit of lateral thinking on behalf of Apple, poorly executed.


Why cant we just hold down the command and alt keys when opening a program to temporarily disable this farse, sorry feature? Having to remember to hold down alt Q or commnd alt Q when quiting is stretching it. I want to close a program there and then, not make a decision now about how I might be using it when next opened in a couple of days time.


Great concept as I said, but once more Apple don't seem to trust us with any form of control. Using scripts and terminal is ok if you are a Linux geek with time on your hands. I'm neither. I bought my mac because 99% of the time it just works, but for that 1% of the time, boy oh boy...

Mar 6, 2012 5:29 PM in response to Hibernian56

Yes, I agree with you completely, Hibernian56.


I have some (semi-) good new tho! I have been testing Mountain Lion (OS X 10.8) and it seems they fixed the problem. Perhaps because of this thread!


I say it's only "semi-" good news though, because there are other ways in which Apple has removed more control/privacy. For instance they've more rigorously stripped users and programs' ability to change your MAC addresses (which they were already trying to do in Lion) and made it easy for hotspots and other Internet services to see that number.

Mar 6, 2012 5:32 PM in response to Hibernian56

PS Let me tell you -- I am a total Linux geek and I love the Terminal, but in such a situation you get even more frustrated because there is more stuff to go wrong and you are more aware of the limitations that Apple imposed that other Linux-based systems do not have.


Still, it beats Windows and it's nice to use OS X when you want to relax and enjoy a nice end-user environment.

May 19, 2012 3:45 PM in response to Shunyam

Thanks for the great script. It wasn't working with apps such as QuickTime Player that have a space in the app name. To fix it, just change the part of the script where it says:


dir=`dirname $application`


to:


dir=`dirname "$application"`


and use either of these forms to invoke the command:

fhistory.sh QuickTime\ Player

fhistory.sh "QuickTime Player"


For those that are very unfamiliar to the command line and can't get the script working, also try this instead:


sh fhistory.sh QuickTime\ Player

sh fhistory.sh "QuickTime Player"


Saludos,

Jan 13, 2013 10:14 PM in response to hellomesss

The way I did it was to go into Mac HD: Users: (then the name of the owner, usually your name): library: preferences, and find a file called


com.apple.QuickTimePlayerX.LSSharedFileList.plist


I pulled it out, and put it on desk top. Closed quicktime, and it was gone. I looked at another quicktime movie, and it started a new recents list, and replaced the file. So far, so good.


Never liked programing, which is why I liked Apple over PC.

Feb 4, 2013 2:11 PM in response to MadEyeMark

Hey, found this topic when I was looking for a way to reliably clear the recents menu for most Mountain Lion apps.


I'm finding, at least in Mountain Lion, that the behavior of the "File < Open Recents" menu being in sync with the dock's recents menu, which is the same list as you get when you invoke that app's Mission Control, is completely inconsistent. I tried the above method for deleting that preference file. In my case, it was Preview I was trying to fix, so I found that same preference file for Preview, deleted it, and it had the effect of completley getting rid of the recents menu, but then when testing it by opening a new PDF document and closing it, it didn't appear in the recents menu at all.


Then I tried MadEyeMark's method--thanks! It seems this is the only solution that reliably works to get the open recents menu in the menubar back in sync with the Dock's. It seems that there is some kind of cache going on for apps in the Dock where it is keeping the same recents item list until you either clear the app from the dock or restart/log out. Kind of ridiculous that they can't get the list to update itself dynamically, and in fact I'm going to report this to apple.com/feedback to make sure Apple knows about it.


Hmm, intereting. While I was trying this, I was opened a PDF with Preview, cleared recents from the menu bar, and now it seems to update the dock's recents as well, dynamically even while Preview is open. So it seems just in certain apps the list get stuck occasionally, and you just have to clear them from the dock, and then it "unsticks" or whatever. Still, people annoyed by this should report it to Apple.


I like the general feature of having recents appear when you invoke Mission Control on a specific app, I just wish it was always consistent with the "Open Recents" application, because it tends to get really full down there, so I just wish it would reliably clear those when you invoke the "Clear Recents" command in the menubar.


Anyway, glad I got it fixed for Preview, at least temporarily.

Clear recent items in Lion

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.