Date: prev next · Thread: first prev next last
2016 Archives by date, by thread · List index


I am running Slackware Linux 14.1 (K3.10.17), Xfce 4, and Libreoffice (binary .rpm download from LO website).

I prefer to keep several oft-used LO files open all the time. These files are open when I shut down the session. When I start the next session, LO will not autoload these files and in fact will not run at all. When I then start LO5 manually from the desktop icon, these files are opened. I created a log of the Xfce output from the startup, which included the startup of LO5 and got the following snippet:


LibreOffice 490fc03b25318460cfc54456516ea2519c11d1aa

Unknown option: --session=2c07016df-92b0-47a4-8398-8d806cdb3d0c

Usage: soffice [options] [documents...]

--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
--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 user interaction at all.
--help/-h/-?   show this message and exit.
--version      display the version information.
--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
      Specify an UNO connect-string to create an UNO acceptor through which
      other programs can connect to access the API
      Close an acceptor that was created with --accept=<accept-string>
      Use --unnaccept=all to close all open acceptors
      Force an input filter type if possible
      Eg. --infilter="Calc Office Open XML"
          --infilter="Text (encoded):UTF8,LF,,,"
--convert-to output_file_extension[:output_filter_name[:output_filter_options]] [--outdir output_dir] files
      Batch convert files (implies --headless).
If --outdir is not specified then current working dir is used as output_dir.
      Eg. --convert-to pdf *.doc
          --convert-to pdf:writer_pdf_Export --outdir /home/user *.doc
          --convert-to "html:XHTML Writer File:UTF8" *.doc
          --convert-to "txt:Text (encoded):UTF8" *.doc
--print-to-file [-printer-name printer_name] [--outdir output_dir] files
      Batch print files to file.
If --outdir is not specified then current working dir is used as output_dir.
      Eg. --print-to-file *.doc
--print-to-file --printer-name nasty_lowres_printer --outdir /home/user *.doc
--cat files
      Dump text content of the files to console
      Eg. --cat *.odt
--pidfile file
      Store soffice.bin pid to file.
      Set a bootstrap variable.
Eg. -env:UserInstallation=file:///tmp/test to set a non-default user profile path.

Remaining arguments will be treated as filenames or URLs of documents to open.

As can be seen in the list of valid options, --session is not one of them. I suspect that --session is what the Xfce desktop uses to pass last session state information for startup.

LO 3.x would do this without any problems, but ever since LO 4.x, I have had this problem.

Is there a solution for this?

Girvin Herr

To unsubscribe e-mail to:
Posting guidelines + more:
List archive:
All messages sent to this list will be publicly archived and cannot be deleted


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.