Artículos con :
Cerrar
Changelog
Cerrar
Pruébelo en la nube
Centro de ayuda
ONLYOFFICE Desktop Editors

Running ONLYOFFICE Desktop Editors with parameters

ONLYOFFICE Desktop Editorsv8.0 ONLYOFFICE Desktop Editors changelog

Version 8.0.1

Release date: 26/02/2024

Version 8.0.0

Release date: 31/01/2024

Version 7.5.1

Release date: 11/14/2023

Version 7.5.0

Release date: 10/17/2023

Version 7.4.1

Release date: 07/31/2023

Version 7.4.0

Release date: 06/14/2023

Version 7.3.3

Release date: 03/16/2023

Version 7.3.0

Release date: 01/31/2023

Version 7.2.1

Release date: 10/21/2022

Version 7.2.0

Release date: 09/23/2022

Version 7.1.1

Release date: 06/02/2022

Version 7.1.0

Release date: 05/13/2022

Version 7.0.0

Release date: 01/18/2022

Version 6.4.2

Release date: 10/19/2021

Version 6.4.1

Release date: 10/01/2021

Version 6.3.1

Release date: 06/28/2021

Version 6.2.0

Release date: 03/18/2021

Version 6.1.0

Release date: 12/08/2020

Version 6.0.2

Release date: 11/19/2020

Version 6.0.1

Release date: 11/11/2020

Version 6.0.0

Release date: 10/15/2020

Version 5.6.4

Release date: 09/09/2020

Version 5.6.0

Release date: 08/11/2020

Version 5.5.1

Release date: 04/09/2020

Version 5.4.2

Release date: 11/28/2019

Version 5.4.1

Release date: 10/02/2019

Version 5.3.5

Release date: 08/26/2019

Version 5.3.3

Release date: 07/10/2019

Version 5.2.8

Release date: 01/18/2019

Version 5.2.4

Release date: 12/21/2018

Version 5.1.27

Release date: 05/23/2018

Version 4.8.7

Release date: 02/14/2018

Version 4.8.6

Release date: 12/23/2017

Version 4.4.1

Release date: 07/12/2017

Version 4.3.2

Release date: 04/13/2017

Version 4.2.2

Release date: 02/16/2017

Version 4.2.1

Release date: 12/20/2016

Sometimes you might want to run ONLYOFFICE Desktop Editors for performing a specific task, e.g., creating a new file when running the app, opening an existing file for viewing only, or running the application in debug mode, etc. This can be done using command line flags.

List of available flags

Here you can find the flags which can be used when running ONLYOFFICE Desktop Editors and their short descriptions.

Running Desktop Editors in debug mode

This option can be used on all operating systems.

--ascdesktop-support-debug-info - is used to run ONLYOFFICE Desktop Editors in debug mode with the ability to open the console. To start working in debug mode, right-click any editable field on the top toolbar (for example, font list combo) and click Inspect Element.

Starting from version 7.1, you can also use the --ascdesktop-support-debug-info-keep flag specifying the necessary value:

--ascdesktop-support-debug-info-keep=1 - enables debug mode permanently and does not require a separate parameter for activating (the parameter is stored to the application settings file).

--ascdesktop-support-debug-info-keep=0 - disables debug mode permanently and requires a separate parameter for activating (the parameter is stored to the application settings file).

--ascdesktop-support-debug-info-keep=default - resets the default setting (removes the parameter from the application settings file).

Inspect element

Customizing Desktop Editors window

These options can be used on Linux OS.

--system-title-bar - is used to run ONLYOFFICE Desktop Editors in a system window.

System window

--custom-title-bar - is used to run ONLYOFFICE Desktop Editors in a standard window (not a system one). This flag is used to cancel the effect of the --system-title-bar flag.

Standard window

Running Desktop Editors along with opening a file in a certain mode

These options can be used on Windows and Linux OS.

--review=path/to/file - is used to open an existing DOCX file in the Track Changes mode without the ability to disable this mode. The XLSX and PPTX files will be opened in the viewing mode, as the track changes mode is not currently supported in spreadsheets and presentations.

--view=path/to/file - is used to open an existing DOCX, XLSX, or PPTX file in the viewing mode without the ability to switch to the editing mode.

Replace path/to/file with an actual full path to an existing file. The file path must be enclosed in double quotes. E.g.:

--review="C:\Users\username\Documents\Document1.docx" for Windows

--review="/home/username/Documents/Document1.docx" for Linux

--force-use-tab - is used together with the --review=path/to/file or --view=path/to/file flags to open an existing DOCX file in a new tab of the main window. Otherwise, the document opens in a separate window.

Examples of using two flags together:

--review="C:\Users\username\Documents\Document1.docx" --force-use-tab or --view="C:\Users\username\Documents\Document1.docx" --force-use-tab - for Windows

--review="/home/username/Documents/Document1.docx" --force-use-tab or --view="/home/username/Documents/Document1.docx" --force-use-tab - for Linux

Running Desktop Editors as an independent process

This option can be used on all operating systems.

--single-window-app - is used to run the desktop editors in a new application as an independent process in case one instance of the application is already launched. If you close the first application, you’ll not see the "All the editor windows will be closed" warning and the second one will remain opened.

Connecting Desktop Editors to the ONLYOFFICE cloud

This option can be used on all operating systems.

--ignore-certificate-errors - is used to disable the certificate validity check so that you can connect desktop editors to the ONLYOFFICE cloud in case you use a self-signed SSL certificate on your ONLYOFFICE portal.

Creating new files when opening Desktop Editors

These options can be used on all operating systems.

--new:word - is used to run the desktop editors and create a new local DOCX file.

--new:cell - is used to run the desktop editors and create a new local XLSX file.

--new:slide - is used to run the desktop editors and create a new local PPTX file.

Using flags on different operating systems

This process differs depending on the operating system - Windows, Linux, or Mac OS. Please choose the corresponding tab to read detailed instructions for your OS:

On Windows, there are two ways to launch the application: through the shortcut or the terminal.

Option 1. Run the app through the shortcut:

  1. Right-click the application shortcut on the desktop screen.
  2. Choose Properties.
  3. Open the Shortcut tab.
  4. In the Target field, after the path to the application, enter a space and then type the necessary flag.
  5. Click the Apply button.

    Shortcut

  6. You will need to provide administrator permissions to change this settings. Click Continue.
  7. Launch the application by clicking the shortcut.

Option 2. Run the app through the Run window:

  1. Press Win+R.
  2. In the appeared Run window, enter the path to the application, add a space and then type the necessary flag, for example:
    "%ProgramFiles%\ONLYOFFICE\DesktopEditors\DesktopEditors" --ascdesktop-support-debug-info

    Run

  3. Click the OK button.

On Linux, use the terminal to run ONLYOFFICE Desktop Editors using flags:

  1. Press CTRL+ALT+T. The terminal will be opened.
  2. In the command line, enter /usr/bin/desktopeditors, add a space and then type the necessary flag, for example:
    /usr/bin/desktopeditors --ascdesktop-support-debug-info

    Terminal

  3. Press Enter.

On Macos, use the terminal to run ONLYOFFICE Desktop Editors using flags:

  1. Press Command+Space.
  2. In the appeared Spotlight window, type Terminal in the search line:

    Spotlight

  3. Choose the Terminal option. The terminal will be opened.
  4. In the command line, enter the path to the application, add a space and then type the necessary flag, for example:
    "/Applications/ONLYOFFICE.app/Contents/MacOS/ONLYOFFICE" --ascdesktop-support-debug-info

    Terminal

  5. Press Enter.
Download No more Microsoft All main platforms support:
Windows, Linux and Mac OS
También le podría gustar:
Cerrar