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

Preventing TextEdit from opening automatically after reboot.

Every time I reboot TextEdit opens automatically. I do NOT select reopen windows when logging back in. I also do NOT have it in my startup programs under my login name.


Does anyone have a clue how to fix this?


V 10.7.5


Thanks

MacBook Pro, Mac OS X (10.7.5)

Posted on Oct 24, 2012 7:34 PM

Reply
12 replies

Oct 25, 2012 4:11 AM in response to eklektostoworship

OK. Let's try this...copy & paste this command at the prompt and press return.

defaults write -app 'TextEdit' ApplePersistence -bool no

Now restart.


If for some reason this doesn't work (but I bet it will) In System Preferences > General there is a hard-to-find checkbox under "Number of recent items" you can turn off. (Also, you can hold the shift key when logging in to disable resume on a one time basis.)


Another way to accomplish this is through Finder by going to ~/Library/Saved Application State/TextEdit and delete that file…or any other app, like Safari.

(note that the User Library is hidden - so go to your Finder "Go" menu hold the option key to choose "Library") The go to "Saved Application State" folder and delete the files for TextEdit and Safari.


Or to turn off Resume globally...

chflags uchg ~/Library/"Saved Application State"

Press return.


The reverse should you need it is

chflags nouchg ~/Library/"Saved Application State"

Let us know.

Oct 25, 2012 6:00 PM in response to macjack

I tried...


1. defaults write -app 'TextEdit' ApplePersistence -bool no


2. System Preferences > General there is a hard-to-find checkbox under "Number of recent items" you can turn off.


3. Another way to accomplish this is through Finder by going to ~/Library/Saved Application State/TextEdit and delete that file…or any other app, like Safari.

(note that the User Library is hidden - so go to your Finder "Go" menu hold the option keyto choose "Library") The go to "Saved Application State" folder and delete the files for TextEdit and Safari.


and


4. chflags uchg ~/Library/"Saved Application State"


This is the weirdest issue. Any other thoughts?




Oct 25, 2012 6:45 PM in response to eklektostoworship

Well, at least we know it's limited to your User account. That's a start.

Let's try a startup in Safe Mode and see if the problem still occurs?

Restart holding the "shift" key.

(Expect it to take longer to start this way because it runs a directory check first.)


If this works look in System Preferences > Users & Groups > Login items and delete any third party login items (-), you can always add them back with the (+). Also look in /Library/Startup Items. Nothing is put in that folder by default, so anything in there is yours.


I know you don't have them in Startup Items but there may be something there causing it.

Preventing TextEdit from opening automatically after reboot.

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