Difference between revisions of "Documentation/OOoAuthors User Manual/Getting Started/Starting from the command line"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
 
(5 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{StartingoooTOC|StartingOOo=block|PrevNext=block|Prev=Documentation/OOoAuthors User Manual/Getting Started/Using the Quickstarter under Linux|Next=Getting Started/File Management}}
+
{{DISPLAYTITLE:Starting from the command line}}
 +
{{Documentation/StartingoooTOC
 +
|ShowPrevNext=block
 +
|PrevPage=Documentation/OOoAuthors User Manual/Getting Started/Using the Quickstarter under Linux
 +
|NextPage=Documentation/OOoAuthors User Manual/Getting Started/File Management
 +
}}
 +
You may want to start {{AOo}} from the command line (using the keyboard instead of the mouse). Why? Well, by using the command line, you have more control over what happens when {{AOo}} is started. For example, using the command line, you can tell Writer to load a document and print it immediately, or to start without showing the splash screen.
  
 +
{{Note|Most users will never need to do this.}}
  
You may want to start OOo from the command line (using the keyboard instead of the mouse). Why? Well, by using the command line, you have more control over what happens when OOo is started. For example, using the command line, you can tell Writer to load a document and print it immediately, or to start without showing the splash screen.
+
There is more than one way to start {{AOo}} from the command line, depending on whether a customized version or the standard download from the {{AOo}} website has been installed.
  
'''Note:''' Most users will never need to do this.
+
If you installed using the download on the {{AOo}} website, you can start Writer by typing at the command line:
 
+
There is more than one way to start OOo from the command line, depending on whether a customized version or the standard download from the OpenOffice.org website has been installed.
+
 
+
If you installed using the download on the OpenOffice.org website, you can start Writer by typing at the command line:
+
  
 
:<tt>soffice -</tt><tt>writer</tt><br>
 
:<tt>soffice -</tt><tt>writer</tt><br>
Line 14: Line 17:
 
:<tt>swriter</tt>
 
:<tt>swriter</tt>
  
Writer will start and create a new document. Likewise, you can start other OOo components from the command line:
+
Writer will start and create a new document. Likewise, you can start other {{AOo}} components from the command line:
  
{|
+
{| border="1" cellpadding=4 style="border-collapse:collapse;"
||'''Type of document''' &nbsp;&nbsp;||'''Component''' &nbsp;&nbsp;&nbsp;&nbsp;||'''Command-line option'''||
+
|-bgcolor=#EDEDED
 +
!Type of document !! Component !! Command-line option
 
|-
 
|-
||Text||Writer||<tt>-writer</tt>||
+
||Text||Writer||<tt>-writer</tt>
 
|-
 
|-
||Spreadsheet||Calc||<tt>-calc</tt>||
+
||Spreadsheet||Calc||<tt>-calc</tt>
 
|-
 
|-
||Drawing||Draw||<tt>-draw</tt>||
+
||Drawing||Draw||<tt>-draw</tt>
 
|-
 
|-
||Presentation||Impress||<tt>-impress</tt>||
+
||Presentation||Impress||<tt>-impress</tt>
 
|-
 
|-
||Formula||Math||<tt>-math</tt>||
+
||Formula||Math||<tt>-math</tt>
 
|-
 
|-
||Web page||Writer||<tt>-web</tt>||
+
||Web page||Writer||<tt>-web</tt>
 
|-
 
|-
 
|}
 
|}
Line 39: Line 43:
 
Below is a list of some of the more popular options.
 
Below is a list of some of the more popular options.
  
{|
+
{| border="1" cellpadding=4 style="border-collapse:collapse;"
||'''Option'''||'''Description'''||
+
|-bgcolor=#EDEDED
 +
!Option !! Description
 
|-
 
|-
||<tt>-help</tt>||Get a complete list of options.||
+
||<tt>-help</tt>||Get a complete list of options.
 
|-
 
|-
||<tt>-nologo</tt>||Do not show the startup screen.||
+
||<tt>-nologo</tt>||Do not show the startup screen.
 
|-
 
|-
||<tt>-show <odp-file></tt>||Start presentation immediately.||
+
||<tt>-show <odp-file></tt>||Start presentation immediately.
 
|-
 
|-
||<tt>-view&nbsp;<documents&nbsp;...>&nbsp;&nbsp;&nbsp;</tt>||Open documents in viewer (read-only) mode.||
+
||<tt>-view&nbsp;<documents&nbsp;...>&nbsp;&nbsp;&nbsp;</tt>||Open documents in viewer (read-only) mode.
 
|-
 
|-
||<tt>-minimized</tt>||Start OOo minimized.||
+
||<tt>-minimized</tt>||Start OOo minimized.
 
|-
 
|-
||<tt>-norestore</tt>||Suppress restart/restore after fatal errors.||
+
||<tt>-norestore</tt>||Suppress restart/restore after fatal errors.
 
|-
 
|-
||<tt>-invisible</tt>||No startup screen, no default document and no UI. This is useful for third-party applications that use functionality provided by OOo.||
+
||<tt>-invisible</tt>||No startup screen, no default document and no UI. This is useful for third-party applications that use functionality provided by OOo.
 
|-
 
|-
 
|}
 
|}
  
If you have a customized version of OOo (such as the one provided by Linux Mandrake or Gentoo), you can start Writer by typing at the command line:
+
If you have a customized version of {{AOo}} (such as the one provided by Linux Mandrake or Gentoo), you can start Writer by typing at the command line:
  
 
:<tt>oowriter</tt>
 
:<tt>oowriter</tt>
  
'''Note:''' Although the command syntax differs, the effect is identical: it starts OOo with an empty Writer document.
+
{{Note|Although the command syntax differs, the effect is identical: it starts {{AOo}} with an empty Writer document.}}
  
  
 
{{CCBY}}
 
{{CCBY}}
[[Category: Documentation]]
+
[[Category:Getting Started (Documentation)]]

Latest revision as of 17:57, 1 January 2021


You may want to start Apache OpenOffice from the command line (using the keyboard instead of the mouse). Why? Well, by using the command line, you have more control over what happens when Apache OpenOffice is started. For example, using the command line, you can tell Writer to load a document and print it immediately, or to start without showing the splash screen.

Documentation note.png Most users will never need to do this.

There is more than one way to start Apache OpenOffice from the command line, depending on whether a customized version or the standard download from the Apache OpenOffice website has been installed.

If you installed using the download on the Apache OpenOffice website, you can start Writer by typing at the command line:

soffice -writer

or

swriter

Writer will start and create a new document. Likewise, you can start other Apache OpenOffice components from the command line:

Type of document Component Command-line option
Text Writer -writer
Spreadsheet Calc -calc
Drawing Draw -draw
Presentation Impress -impress
Formula Math -math
Web page Writer -web

To see a list of options you can use when starting Writer at the command line, type:

soffice -?

Below is a list of some of the more popular options.

Option Description
-help Get a complete list of options.
-nologo Do not show the startup screen.
-show <odp-file> Start presentation immediately.
-view <documents ...>    Open documents in viewer (read-only) mode.
-minimized Start OOo minimized.
-norestore Suppress restart/restore after fatal errors.
-invisible No startup screen, no default document and no UI. This is useful for third-party applications that use functionality provided by OOo.

If you have a customized version of Apache OpenOffice (such as the one provided by Linux Mandrake or Gentoo), you can start Writer by typing at the command line:

oowriter
Documentation note.png Although the command syntax differs, the effect is identical: it starts Apache OpenOffice with an empty Writer document.


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools