Connect LibreOffice to Google Drive Remote Files

LibreOffice includes a built-in Remote Files feature that allows users to access, edit, and save documents directly to cloud storage providers like Google Drive without needing third-party sync clients. By establishing a direct connection between the office suite and the Google Drive API, users can manage their cloud-hosted documents seamlessly within the native LibreOffice interface.

How the Remote File Service Works

LibreOffice uses standard network protocols and service-specific APIs to communicate with remote servers. When connecting to Google Drive, LibreOffice utilizes Google’s authentication system (OAuth 2.0) to securely link the application to your cloud storage account without storing your primary password in plain text. Once connected, your Google Drive folder structure appears inside the LibreOffice file manager interface.

Setting Up the Connection

To link Google Drive to LibreOffice, follow these steps:

  1. Access the Remote Files Dialog: Open LibreOffice, click on File in the top menu, and select Open Remote File… (or click Remote Files from the LibreOffice Start Center).
  2. Add a New Service: In the Remote Files dialog, click the Manage Services button (or Add Service).
  3. Select Google Drive: In the File Service window, choose Google Drive from the Type dropdown menu.
  4. Enter Account Details: Enter your Google account email address in the User field. You can also specify a custom label in the Label field to easily identify the connection.
  5. Authenticate: Click OK. LibreOffice will prompt you with an authentication window or open your default web browser asking you to log into Google and grant LibreOffice permission to access your Drive files.
  6. Authorize Access: Follow the on-screen prompts to grant permissions. Google will provide a verification code or automatically validate the session back to LibreOffice.
  7. Set Master Password (Optional): If prompted, configure a LibreOffice Master Password to encrypt and protect stored remote credentials on your local machine.

Opening and Saving Remote Files

Once configured, the Google Drive service will appear in your LibreOffice file dialogues:

Technical and File Compatibility Considerations