libreoffice − LibreOffice office suite


libreoffice [−−accept=accept−string] [−−base] [−−calc] [−−convert−to output_file_extension[:output_filter_name] [−−outdir output_dir] file]... [−−display display] [−−draw] [−−global] [−−headless] [−−help|−h|−?] [−−impress] [−−invisible] [−−infilter="<filter>"] [−−math] [−−minimized] [−n file]... [−−nodefault] [−−nolockcheck] [−−nologo] [−−norestore] [−o file]... [−p file...] [−−print−to−file [−−printer−name printer_name] [−−outdir output_dir] file]... [−−pt printername file...] [−−show Impress file]... [−−unaccept=accept−string] [−−terminate_after_init] [−−view file]... [−−web] [−−writer] [file...]


LibreOffice (LO for short) is a multi-platform office productivity suite. It was derived from 3.3 Beta on September 28, 2010.

libreoffice is a shell script that sets up the environment and passes the command line arguments to the soffice.bin binary.

Alternatively, the following helper scripts start the respective module:

sbase, scalc, sdraw, simpress, smath, sofficerc, swriter



Specify a UNO connect-string to create a UNO acceptor through which other programs can connect to access the API.


Starts the wizard for a new Base document.


Starts with a new Calc document.

−−convert−to output_file_extension[:output_filter_name] [−−outdir
output_dir] file...

Batch converts files. If −−outdir is not specified then the current working directory is used as the output directory for the converted files.


−−convert−to pdf *.doc

Converts all .doc files to PDFs.

−−convert−to pdf:writer_pdf_Export −−outdir /home/user *.doc

Converts all .doc files to PDFs using the settings in the Writer PDF export dialog and saving them in /home/user.

−−display display

This option specifies the X server to use; see X(7)


Starts with a new Draw document.


Starts with a new Global document.


Starts in "headless mode", which allows using the application without user a interface.

This special mode can be used when the application is controlled by external clients via the API.

It implies −−invisible and strictly ignores any GUI environment. −−quickstart does not work with this parameter.


Lists LibreOffice command line parameters.


Starts with a new Impress document.


Starts in invisible mode.

Neither the start−up logo nor the initial program window will be visible. LO can be controlled and documents and dialogs can be opened via the API.

When started with this parameter, it can only be quit using the taskmanager (Windows) or the kill command (UNIX based systems).

−−quickstart does not work with this parameter.


Force an input filter type if possible. For example −−infilter="Calc Office Open XML" only


Starts with a new Math document.


Keeps the splash screen minimized.

−n template...

Creates the a new document from the given templates.


Starts LO without creating a new document. The next time you start LO, the welcome screen is shown.

It’s used together with −−nologo by quick starters. Note that −−quickstart has no longer been supported since 2.0.0.


Disables the check for remote instances using the installation.


Disables the splash screen at program start.


Disables restart and file recovery after a system crash. It is possible that LO will try to restore a file it keeps crashing on, if that happens −−norestore is the only way to start LO.


Disables the splash screen at program start.

−o file...

Opens the given files for editing, even templates.

Without −o a template file would create a new document derived from that template.

−p file...

Prints the given files to the default printer and ends. The splash screen does not appear.

If the file name contains spaces, then it must be enclosed in quotation marks.

−−print−to−file [−−printer−name printer_name] [−−outdir output_dir]

Batch print files to file. If −−printer−name is not specified the default printer is used. If −−outdir is not specified then the current working directory is used as the output directory for the converted files.


−−print−to−file *.doc

Prints all .doc files to the current working directory using the default printer.

−−print−to−file −−printer−name nasty_lowres_printer −−outdir /home/user *.doc

Prints all .doc files to /home/user directory using the nasty_lowres_printer.

−−pt printername file...

Prints the given files to the printer printername and ends. The splash screen does not appear.

If a file name contains spaces, then it must be enclosed in quotation marks.

−−quickstart −−quickstart=no

Starts LO with it’s quick starter. −−quickstart disable the quick starter.

Does not work with −−invisible or −−headless.

−−show Impress file...

Opens the given Impress files, starts the presentation and quits after they have finished.


Closes an acceptor that was created with −−accept option.

Use −−unaccept=all to close all open acceptors.


Starts LO and terminates after it registers some UNO services. Doesn’t show the splash during startup.

−−view file...

Opens the given files read-only creating a temporary copy of them at $TMPDIR.


Starts with a new HTML document.


Starts with a new Writer document.


See for more details on how to report bugs in LibreOffice.



This manual page was created by Rene Engelhard <> for the Debian GNU/Linux Distribution, because the original package does not have one. It was updated for Novell by Petr Mladek <> and adapted for LibreOffice by Philipp Weissenbacher <>.

More Linux Commands

gnutls_pkcs11_obj_get_info(3) - API function (Man Page).....
This function will return information about the PKCS11 certificate such as the label, id as well as token information where the key is stored. When output is te

XtIsComposite(3) - obtain and verify a widget's class.......
The XtClass function returns a pointer to the widgets class structure. The XtSuperclass function returns a pointer to the widgets superclass class structure. Th

winbind_krb5_locator(7) - A plugin for MIT and Heimdal Kerbe
This plugin is part of the samba(7) suite. winbind_krb5_locator is a plugin that permits MIT and Heimdal Kerberos libraries to detect Kerberos Servers (for the

pow10f(3) - base-10 power functions - Linux manual page.....
The pow10() function returns the value of 10 raised to the power x. VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING TO This is a GNU

fputs_unlocked(3) - nonlocking stdio functions (Man Page)...
Each of these functions has the same behavior as its counterpart without the _unlocked suffix, except that they do not use locking (they do not set locks themse

FontCacheQueryVersion(3) - X-TrueType font cache extension c
FontCache is an extension that is used by X-TrueType to cache informations about fonts. FontCacheQueryExtension returns True if the FontCache extension is avail

XTestFakeButtonEvent(3) - XTest extension functions.........
This extension is a minimal set of client and server extensions required to completely test the X11 server with no user intervention. This extension is not inte

argz_add(3) - functions to handle an argz list (Man Page)...
These functions are glibc-specific. An argz vector is a pointer to a character buffer together with a length. The intended interpretation of the character buffe

mvgetch(3ncurses) - get (or push back) characters from curse
The getch, wgetch, mvgetch and mvwgetch, routines read a character from the window. In no-delay mode, if no input is waiting, the value ERR is returned. In dela

wtouchln(3ncurses) - curses refresh control routines........
The touchwin and touchline routines throw away all optimization information about which parts of the window have been touched, by pretending that the entire win

Tk_DrawTextLayout(3) - routines to measure and display singl
These routines are for measuring and displaying single-font, multi-line, justified text. To measure and display simple single-font, single-line strings, refer t

foreach(n) - Iterate over all elements in one or more lists
The foreach command implements a loop where the loop variable(s) take on values from one or more lists. In the simplest case there is one loop variable, varname

We can't live, work or learn in freedom unless the software we use is free.