![如何防止 OpenOffice 每次启动时运行文件恢复?](https://linux22.com/image/1353956/%E5%A6%82%E4%BD%95%E9%98%B2%E6%AD%A2%20OpenOffice%20%E6%AF%8F%E6%AC%A1%E5%90%AF%E5%8A%A8%E6%97%B6%E8%BF%90%E8%A1%8C%E6%96%87%E4%BB%B6%E6%81%A2%E5%A4%8D%EF%BC%9F.png)
每当我启动计算机并启动 OpenOffice 时,总是会显示文件恢复选项。如何关闭它?
答案1
向您的 OpenOffice 启动命令添加选项-norestore
。
启动 OpenOffice 的选项:
-minimized keep startup bitmap minimized.
-invisible no startup screen, no default document and no UI.
-norestore suppress restart/restore after fatal errors.
-quickstart starts the quickstart service (only available on windows and OS/2 platform)
-nologo don't show startup screen.
-nolockcheck don't check for remote instances using the installation
-nodefault don't start with an empty document
-headless like invisible but no userinteraction at all.
-help/-h/-? show this message and exit.
-writer create new text document.
-calc create new spreadsheet document.
-draw create new drawing.
-impress create new presentation.
-base create new database.
-math create new formula.
-global create new global document.
-web create new HTML document.
-o open documents regardless whether they are templates or not.
-n always open documents as new files (use as template).
-display <display>
Specify X-Display to use in Unix/X11 versions.
-p <documents...>
print the specified documents on the default printer.
-pt <printer> <documents...>
print the specified documents on the specified printer.
-view <documents...>
open the specified documents in viewer-(readonly-)mode.
-show <presentation>
open the specified presentation and start it immediately
-accept=<accept-string>
Specify an UNO connect-string to create an UNO acceptor through which
other programs can connect to access the API
-unaccept=<accept-string>
Close an acceptor that was created with -accept=<accept-string>
Use -unnaccept=all to close all open acceptors
剩余的参数将被视为要打开的文档的文件名或 URL。