I tried starting Open Office on my Mac running 10.7.2, and I got this annoying popup window that won’t go away. I click on “Don’t Restore Windows” or “Restore Windows”, and it just stays popped up.
I found a solution though.
1) Force Quit your Open Office Application (Right-click holding the option key).
2) Open up Terminal and at the command prompt type to remove the Saved Application State information.
rm -rf "~/Library/Saved Application State/org.openoffice.script.savedState"
3) Start up OpenOffice and the popup should no longer show.
Hope that helps
Related articles
- OpenOffice 3.4 due early 2012 (i-programmer.info)
- Apache OpenOffice (Incubating) (ooo-speak.blogspot.com)
- OpenOffice.org 3.2 is First Out of the Blocks in the 2010 Office Software Race (prweb.com)

Thank You – worked like a charm!!
This solution ended up resolving my same issue. Thanks
Hallelujah, thank you!! Been bugging me for WEEKS.
This still isn’t woking for me. Every time I go to the terminal and type that code in, nothing happens.
The terminal command just removes the file. Once you hit enter, nothing will happen in Terminal, but the file will be removed. The “rm” part of the command means remove.
Did the application start without the prompt?
I did everything it said, still came up with the window
Thank you so much, finally got the terminal command to work. Huge relief, much love.
Well i have tried…..
but the window still pops up….
This did not work for me until I escaped the spaces in the file path. I used:
"rm -rf ~/Library/Saved\ Application\ State/org.openoffice.script.savedState"Thanks Patrick – your solution worked for me!
FYI, fellow dummies: don’t include the quotation marks.
Thank you!
Ta da! Thank you! Legend…
thank you
Thank you! This solved my problem too.
Thanks for the help! It works
Thanks
That is the ticket!!!
Thanks very much!
YEESS!!!
Thanks very much
))
Great! Definitely remove those darned quotation marks!
you legend. i owe you a pint for this 1!
Yes, this version worked for me. The other one did not.
this one works for me.. thanks so much patrick.
omg, thank you!!! It worked for me too
this one worked for me to thanks man
thank god!! Your solution worked for me when the other didn’t. Many thanks for your invaluable help!
you just made my day!
That worked for me! Thank you!
Oh thank you SO much! Your solution worked.
Thanks Patrick!
Thanks a bunch. Also was tricked by the quotation marks for a while.
Thank you Patrick! This one worked for me!
Hooray! Thanks so much for this. The method you describe in this post didn’t actually work for me, but the manual removal that you describe on the forum worked perfectly. user.services.openoffice.org/en/forum/viewtopic.php?f=17&t=43095#p198915 Such a relief!
Thanks Tony – worked for me too by escaping the spaces (thanks Patrick too).
Worked like a charm mate. Nice one!
Thank You so much – this error was getting driving me nuts…
Thanks so much, this has been driving me crazy!! & i was one of the dummies putting in the quotation marks so thank you for pointing that out too lol!
lol, me too! I’m so glad it worked!
Worked just fine with tab completion
Thank you for saving me hours of unfun!!!
Thanks!!!
Worked like a charm. Thanks!
I have tried the two different versions of this script in terminal and I am still getting the pop up window (restore windows) in open office. Is there anything else I can do. I have reinstalled the application and it still happens
GRMrGecko wrote:
I have found a solution to this issue. I do not know why this has be marked as “[Solved]” while it doesn’t provide the answer as to how to fix it.
Here is how you fix it.
I found something that worked for me on another forum:
In the Finder, make a new window. Go into the Go menu and hold down option to reveal the Library folder and select that folder in the menu. Find the folder “Saved Application State” in the Library and delete the folder “org.libreoffice.script.savedState” (Should be similar for OpenOffice), now open LibreOffice and your problem will be fixed.
thanks! this process worked for me
worked perfect!!! thank you for sharing, i thought it was going to be a lost cause.
JOY!!!! This worked, I am soooo releived! Thanks much to all who have contributed to this collaborative solution for me at least. And thanks to the original poster for putting it out there.
Happy Bunny.
nice one thank you very much this solved my problem
YAY THANKS SOOOOOOOO MUCH
Pingback: Open Office Woes - cloud9creative.cocloud9creative.co
Pingback: Open Office Woes - cloud9creative.cocloud9creative.co
This did not work for me, I can’t force quit OOo-dev. After typing that code into Terminal, it does nothing.
Open up Terminal and at the command prompt type to remove the Saved Application State information.
rm -rf “~/Library/Saved Application State/org.openoffice.script.savedState”
I don get it this part, i opened terminal and there was just my profile name that I’ve been logged in with. scan someone explain this part for me
That’s a command prompt. You need to type (or copy and paste) that line of code in the Terminal command prompt. Then, once it’s there (you should see that line of text after you type it), hit enter. That will run the command.
After that, you are done.
Make sure you quit out of OpenOffice before you do it, though.
GRMrGecko has it right….go to the GO menu and delete the file in the Libary as it is stated above. It works!!
Thanks! I was troubled by this issue, and googled for a solution. This really helped me!
Open terminal? What does that even mean?
Thanks for expressing what other newbies experience when instructions are given that assume you know your way around a Mac. I’m learning computers and a new Mac, too.
Great. Thanks for the help… For those that it isnt working for, i used your method, but instead of using the terminal, i just went to my user folder, tuerned on invisible files, went to Library/Saved Application State/ then found most recent 8 being open office and deleted the folder…. problem solved.
maybe easier for some people as terminal is a bit scary. BMany thanks as this was really buggin me
THANK YOU TIMES A MILLION
How do I open invisible files?
Thank you, this worked for me.
I have tried both the posted line to type by Tony and the escaped line that someone else posted and neither of them worked.
I hunted for that path and was unable to find it. I don’t know if “Saved Application State” is a hidden folder, but it’s not in the Library folder.
Anyone have any other ideas?
Thanks!
Steve
Thanks Tony, I was being driven to distraction by this error!
nothing seems to be helping the message keeps popping up no matter what i do.
Thanks, that helped!
THANK YOU!!! That had been bugging me for DAYS!
I can now use OpenOffice without complaint
THANK YOU SO MUCH!
The sound of singing angels – THANK YOU
Hooray! Thanks!!
Thank you so much! Didn’t even know I had a Library folder; it disappeared after a second of showing up on my screen every time I searched for it.
Fast and easy. Thanks
Thanks for the suggestions; however, none worked for me. I had to uninstall OO and go back to MS Office.
Ok, apparently I kept mistyping something, because I tried one more time and it miraculously worked. So I guess my thanks are in order too!
Omg thank you so much!!
Thank you. Thank you.
rm -rf ~/Library/Saved\ Application\ State/org.openoffice.script.savedState
this works with me
This worked for me!!
This works for me!! Thank you so much!!!! ^^*
THANK YOU!!!
yes! this command worked for me. thanks so much!!!
Thanks! It worked perfectly.
<3 Thank you so much. That problem was driving me insane.
In Library- still not seeing a “Saved State” folder. Help?
You are all such stars…couldn’t open open office got that ******y message…eventually (Yep I included quotation marks!!!) beat the thing with your help..Muchos thanks!
This not only worked for my OpenOffice issue, but resolved a 3 month old problem with QuickTimePlayer as well.
Thank you very much.
Is there a way to solve it for mac?
I’ve tried this several times, nothing changed and it continues to pop up. Is there something I’m doing wrong?
THANK YOU!!! It took me forever to figure out how to “open the Terminal” and what the “command prompt” was, but this worked perfectly once I figured that out. Hesher: These are instructions for a Mac.
if you can’t find the folder in the library, use the “terminal” solution from above.
go to
Applications–> Untilities–> terminal (double click)
then copy this:
rm -rf ~/Library/Saved\ Application\ State/org.openoffice.script.savedState
and paste it where the grey sign is. —> enter
problem solved thank you thank you thank you
Thanks so much! This issue was really beginning to bug me!
The script didn’t do the trick for me, so I used Finder to browse to the Library folder in my personal user folder and deleted the “org.openoffice.script.savedState” folder under “Saved Application State” manually. Worked like a charm!
Can you tell me where to find the Library folder to delete “org.openoffice.sctipt.savedState” I have a MacBook Pro…don’t know where to look.
worked! thanks sooooo much! this was soo annoying!
Is there a fix for teh same issue for Windows 7?
Okay phew – I’ve been trying that line of code for last half an hour, didn’t realise you were not supposed to use the quotation marks! But thanks so much y’all for thanks and responses finally I can use my program
THANK YOU! This has resolved hours of frustration.
Ahhh thank you so much!!! It worked!
Thank you so much! For me worked this one:
rm -rf ~/Library/Saved\ Application\ State/org.openoffice.script.savedState
Just copy paste to terminal and hit enter.
Then reopen openoffice and well done!
Thanks! Helped me a lot
This thread helped me!
Thanks this really works!
THANKS!