libreoffice(1)
π libreoffice β it's giving "whole office suite, bestie" π
okay so this is the libreoffice(1) page, and it lives in the User Commands manual. yes that's the manual name, no I will not be normal about it. let's go π«Ά
β¨ SYNOPSIS β¨
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...]
lobase
localc
lodraw
lofromtemplate
loimpress
lomath
loweb
lowriter
like. look at her. so many little flags. she contains multitudes π
πΈ DESCRIPTION πΈ
LibreOffice (we call her LO for short, it's a nickname, it's affectionate) is a multi-platform office productivity suite. she was derived from OpenOffice.org 3.3 Beta on September 28, 2010. iconic birthday, honestly π
libreoffice is a shell script β bestie it is literally just a script β that sets up the environment and then passes the command line arguments along to the soffice.bin binary. the script does the vibes, the binary does the work. teamwork π«Ά
Alternatively, the following helper scripts start the respective module:
sbase, scalc, sdraw, simpress, smath, sofficerc, swriter
(and yes, those are different from the lobase / localc / lodraw / lofromtemplate / loimpress / lomath / loweb / lowriter crew in the synopsis. both exist. both are real. do not @ me π)
π OPTIONS π
--accept=accept-stringβ specifies a UNO-URL connect-string to create a UNO acceptor that other programs can connect through to access the API. the syntax of a UNO-URL connect-string is:uno:connection-type,params;protocol-name,params;ObjectName
π¨ okay so listen: API access allows execution of arbitrary commands. like, for real for real. that is not a drill, that is the manual telling you so. treat that acceptor like your house keys π
--baseβ starts the wizard for a new Base document.--calcβ starts with a new Calc document.--convert-to output_file_extension[:output_filter_name] [--outdir output_dir] file...β batch converts files. if--outdiris not specified then the current working directory is used as the output directory for the converted files. it implies--headless.
Examples:
--convert-to pdf *.doc
converts all .doc files to PDFs. slay β¨
--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. chef's kiss π
--display displayβ this option specifies the X server to use; seeX(7).--drawβ starts with a new Draw document.--globalβ starts with a new Global document.--headlessβ starts in "headless mode", which allows using the application without a user 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. also, --quickstart does not work with this parameter. no GUI, no quickstart, no notes π
--help|-h|-?β lists LibreOffice command line parameters. your little cheat sheet π--impressβ starts with a new Impress document.--invisibleβ 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). yes. it's giving ghost mode. you cannot just close the window, there IS no window π
and --quickstart does not work with this parameter either.
--infilter="<filter>"β force an input filter type if possible. for example--infilter="Calc Office Open XML"only
π okay so the original manpage's sentence literally just ends at "only". that's it. that's where it stops. I'm not gonna invent an ending for her, I'm just gonna report the facts and let the sentence live its life π
--mathβ starts with a new Math document.--minimizedβ keeps the splash screen minimized.-n template...β creates the a new document from the given templates. (yes, "the a". we're keeping it. character for character, bestie π«Ά)--nodefaultβ 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 OpenOffice.org 2.0.0.
--nolockcheckβ disables the check for remote instances using the installation.--nologoβ disables the splash screen at program start.--norestoreβ 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--norestoreis the only way to start LO.
π¨ like genuinely the only way. the crash-loop file is holding your install hostage and this flag is the locksmith.
--nosplashβ disables the splash screen at program start. (twin of--nologo, we love a duo π )-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] file...β batch print files to file. if--printer-nameis not specified the default printer is used. if--outdiris not specified then the current working directory is used as the output directory for the converted files.
Examples:
--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. and yes, that printer name is real, that's what the page says, and honestly? it's serving β¨
--pt printername file...β prints the given files to the printerprinternameand 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 its quick starter.--quickstartdisable the quick starter.
does not work with --invisible or --headless. (we did warn you up there π)
--show Impress file...β opens the given Impress files, starts the presentation and quits after they have finished. auto-presentation-then-dip π¦--unaccept=accept-stringβ closes an acceptor that was created with--acceptoption.
use --unaccept=all to close all open acceptors.
--terminate_after_initβ 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. look but do not touch π--webβ starts with a new HTML document.--writerβ starts with a new Writer document.
π©Ή TROUBLESHOOTING PROBLEMS π©Ή
see http://wiki.documentfoundation.org/BugReport for more details on how to report bugs in LibreOffice.
like, go tell them. they want to know. bug reports are a love language π«Ά
π SEE ALSO π
http://www.documentfoundation.org/
π AUTHOR π
this manual page was created by Rene Engelhard <rene@debian.org> for the Debian GNU/Linux Distribution, because the original package does not have one. it was updated for Novell by Petr Mladek <petr.mladek@novell.com> and adapted for LibreOffice by Philipp Weissenbacher <philipp.weissenbacher@gmail.com>.
three whole legends. a whole collab. we love to see it π
and that's the whole page bestie π this was LibreOffice, dated 2010-12-18, and it is page libreoffice(1) β that's the source, the version and the date, all wrapped up with a bow. go forth and --convert-to pdf something. periodt π
β¨
π¦ where this page comes from
- centos-stream 9: libreoffice-writer 1:7.1.8.1-17.el9 Β· (MPLv1.1 or LGPLv3+) and LGPLv3 and LGPLv2+ and BSD and (MPLv1.1 or GPLv2 or LGPLv2 or Netscape) and Public Domain and ASL 2.0 and MPLv2.0 and CC0
- fedora 43: libreoffice-writer 1:25.8.1.1-0.2.fc43 Β· MPL-2.0 AND Apache-2.0 AND LGPL-3.0-only AND LGPL-3.0-or-later AND CC0-1.0 AND BSD-3-Clause AND (LGPL-2.1-only OR SISSL) AND (MPL-2.0 OR LGPL-3.0-or-later) AND (MPL-2.0 OR LGPL-2.1-or-later) AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only) AND MIT
- fedora 43: libreoffice-writer 1:25.8.7.3-3.fc43 Β· MPL-2.0 AND Apache-2.0 AND LGPL-3.0-only AND LGPL-3.0-or-later AND CC0-1.0 AND BSD-3-Clause AND (LGPL-2.1-only OR SISSL) AND (MPL-2.0 OR LGPL-3.0-or-later) AND (MPL-2.0 OR LGPL-2.1-or-later) AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only) AND MIT
- fedora 44: libreoffice-writer 1:26.2.1.2-2.fc44 Β· MPL-2.0 AND Apache-2.0 AND LGPL-3.0-only AND LGPL-3.0-or-later AND CC0-1.0 AND BSD-3-Clause AND (LGPL-2.1-only OR SISSL) AND (MPL-2.0 OR LGPL-3.0-or-later) AND (MPL-2.0 OR LGPL-2.1-or-later) AND (MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only) AND MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms