A while back we wrote about an OpenOffice addon called "Ooo2gd" which lets you synchronize your documents with Google Docs, Zoho and WebDav servers (either manually - when you're done editing the file, or automatic sync; you can also import files that are already available on the server).
Well, you'll be glad to know that Ooo2gd works with LibreOffice too. Also, the latest Ooo2gd version (3.0.0), released earlier this month comes an option to upload to Google Docs without converting the files (so you can keep the original file format).
Note: Because Google Docs (and its API) is still in beta, sometimes you may not be able to log in to your account. Usually, this happens with Google Apps accounts and it doesn't seep to happen with regular Google accounts but still, if you're getting a login error, most probably this is the case.
Install LibreOffice / OpenOffice.org Google Docs sync addon "Ooo2gd"
Before proceeding, please note that I've tested the instructions below with LibreOffice from the Ubuntu repositories / the LibreOffice PPA so the instructions may not work if you've manually installed the LibreOffice .deb files downloaded from the LibreOffice website!
To use Ooo2gd with LibreOffice or OpenOffice.org in Ubuntu, follow the steps below:
1. You need to install Sun Java from your Linux distributions repositories.
In Ubuntu, enable the partner repository and then search for "sun java6" in Ubuntu Software Center or Synaptic or use the command below to install it:
sudo apt-get install sun-java6-jre sun-java6-plugin
2. For LibreOffice, install "libreoffice-java-common":
sudo apt-get install libreoffice-java-common
For OpenOffice.org, run the command below:
sudo apt-get install openoffice.org-java-common
3. Close LibreOffice / OpenOffice, download the latest ooo2gd in your home folder (~/) and run the following command in a terminal:
unopkg add ~/ooo2gd_3.0.0.oxt
Once installed, open Libreoffice Calc, Writer, etc. and you should see a new floating toolbar which you can use to upload your documents to Google Docs, Zoho or a WebDav server.
I recommend using your full email address as the username for Google Docs because in my tests, using the username only sometimes fails.
Now use the new toolbar (which you can drag to your main toolbar) to sync files with Google Docs or Zoho - once you click the "upload" button, a dialog will pop-up and you'll have to enter your username and password. There are also some options available here, like keeping the files in sync (automatically), convert to Google Docs format, etc.
If you're not seeing the floating toolbar or you've encountered some other issue when installing Ooo2gd, check out the known issues page.