libreoffice(1)
π libreoffice(1) β the manual, but make it make sense π
okay bestie, sit down, we're learning libreoffice from the manual page itself (it lives in the User Commands section of your man pages, iykyk). this is the whole thing, nothing skipped, justβ¦ with β¨vibesβ¨ now.
π SYNOPSIS
no cap, this is the whole invocation shape. copy it exactly, don't freestyle:
libreoffice [--accept=accept-string] [--base] [--calc] [--cat file]
[--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...] [--script-cat file]
[--show Impress file]... [--unaccept=accept-string]
[--terminate_after_init] [--view file]... [--web] [--writer] [file...]
lobase
localc
lodraw
lofromtemplate
loimpress
lomath
loweb
lowriter
π¦ DESCRIPTION
LibreOffice (or just LO if you're close like that) is a multi-platform office productivity suite. it came from OpenOffice.org 3.3 Beta on September 28, 2010 β so it's giving legacy, but it's thriving, fr fr.
libreoffice is actually a shell script. its whole job is setting up the environment and handing your command line arguments over to the soffice.bin binary. like a little assistant doing the errands. π«Ά
alternatively, these helper scripts start their own respective module:
sbase, scalc, sdraw, simpress, smath, sofficerc, swriter
β¨ OPTIONS β¨
one bullet per flag, every single one, no skipping the "boring" ones because bestie there are no boring ones:
--accept=accept-stringβ gives you a UNO-URL connect-string that creates a UNO acceptor, so other programs can connect in and access the API. β οΈ heads up: API access means arbitrary commands can be executed, so this is not a "teehee whatever" flag. the syntax of a UNO-URL connect-string is:uno:connection-type,params;protocol-name,params;ObjectName--baseβ starts the wizard for a new Base document. π§--calcβ starts with a new Calc document. spreadsheet main character energy.--cat file...β dumps the text content of the following files to the console (this implies--headless). can't be used with--convert-to. π--convert-to output_file_extension[:output_filter_name] [--outdir output_dir] file...β batch converts files. if--outdirisn't specified, the current working directory is used as the output directory for the converted files. it implies--headless.
examples, exactly as written:
--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 saves them in /home/user.
--display displayβ 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 lets you use the application without a user interface.
this special mode is the one you want when the application is being controlled by external clients via the API.
it implies --invisible and strictly ignores any GUI environment. and just so you know: --quickstart does not work with this parameter.
--help|-h|-?β lists LibreOffice command line parameters. the classic cry for help, but make it official.--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). so likeβ¦ know what you're doing, bestie.
--quickstart does not work with this parameter.
--infilter="<filter>"β force an input filter type if possible. for example--infilter="Calc Office Open XML"only. (yes, that example really does just end there, that's the whole thing, we don't make the rules π)--mathβ starts with a new Math document. β--minimizedβ keeps the splash screen minimized.-n template...β creates a new document from the given templates.--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. also note that --quickstart has no longer been supported since OpenOffice.org 2.0.0. old news but important news.
--nolockcheckβ disables the check for remote instances using the installation.--nologoβ disables the splash screen at program start. no logo, just vibes.--norestoreβ disables restart and file recovery after a system crash. ngl this one is a lifesaver: it's possible that LO will try to restore a file it keeps crashing on, and if that happens,--norestoreis the only way to start LO. π--nosplashβ 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 instead.
-p file...β prints the given files to the default printer and ends. the splash screen does not appear.
if the file name contains spaces, it must be enclosed in quotation marks.
--print-to-file [--printer-name printer_name] [--outdir output_dir] file...β batch prints files to file. if--printer-nameisn't specified, the default printer is used. if--outdirisn't specified, the current working directory is used as the output directory for the converted files.
examples, verbatim:
--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 the /home/user directory using the nasty_lowres_printer. iconic name honestly.
--pt printername file...β prints the given files to the printerprinternameand ends. the splash screen does not appear.
if a file name contains spaces, it must be enclosed in quotation marks.
--quickstart,--quickstart=noβ starts LO with its quick starter.--quickstartdisables the quick starter.
does not work with --invisible or --headless.
--script-cat fileβ dumps the text content of any scripts embedded in the files to console (this implies--headless). cannot be used with--convert-to.--show Impress file...β opens the given Impress files, starts the presentation, and quits after they have finished. showtime, periodt. π¬--unaccept=accept-stringβ closes an acceptor that was created with the--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. π--webβ starts with a new HTML document.--writerβ starts with a new Writer document. βοΈ
π©Ή TROUBLESHOOTING PROBLEMS
for more details on how to report bugs in LibreOffice, see http://wiki.documentfoundation.org/BugReport. (yes, go tell them, they wanna know π)
π 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>.
and that's the whole page, bestie β LibreOffice, dated 2010-12-18, and this is the libreoffice(1) manual. go forth and convert some files. slay. πβ¨
π¦ where this page comes from
- fedora 44: libreoffice-math 1:26.2.6.3-1.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