Monday, April 22, 2013

How To Use Google Drive on Linux: 2 Unofficial Solutions

image
When Google announced Google Drive, they promised Linux support. That was about 7 months ago. While Google said Google Drive for Linux was “still a priority” back in July, it seems it’s no longer a priority.
If you want to use Google Drive on Linux, both Insync and grive can bring Google Drive to Linux. They’re not official, but they’re better than nothing if you’re waiting for an official client.

Insync

Insync is a Google Drive synchronization tool that supports Linux, Windows, and Mac. It has some features not present in the official Google Drive client – for example, it can download Google Docs documents in Open Document format for offline use.
Insync is more polished and feature-complete than grive – it’s even packed with more features than the official Google Drive client. While it’s currently available for free, Insync will become a paid service when it’s out of beta. We can hope that Google will release an official Google Drive client for Linux by then – Insync is a good stop-gap at the moment.
Get Insync packages for your Linux distribution from the Insync website. You can add the Insync repository to your system or just download a single package to install from the bottom of the page. (If you’re using Ubuntu, add the repository or download the deb package and double-click it.)
Insync adds itself to your panel and automatically keeps your Google Drive files in sync. Setup is very simple – just launch Insync from your dash and it will add itself to your panel and walk you through the process.

You can access your Google Drive files from the Insync folder in your home folder. It’s a much slicker solution than grive, but it won’t be free forever.

Grive

Grive is an open-source Google Drive synchronization tool. It supports two-way sync with Google Drive. Unfortunately, grive a few limitations. It can’t watch for changes and automatically run in the background, so you’ll have to run it from a terminal to make it sync. It also doesn’t support synchronizing Google documents, spreadsheets, or other Google Docs files – just files you’re storing in Google Drive.
To use Grive, you run the Grive command to synchronize with your Google Drive account. Any newly added files will be downloaded, files you’ve changed on either end will be updated with more recent versions, and deleted files will be moved to the trash. To perform another sync and update things later, run the grive command again.
If you’d like to use Grive on Ubuntu, you can install it by opening a terminal and running the following commands:
sudo add-apt-repository ppa:nilarimogard/webupd8
sudo apt-get update
sudo apt-get install grive
Run the following command to make a folder named grive in your home directory:
mkdir ~/grive
Switch to the grive directory:
cd ~/grive
Run grive with the -a switch to authenticate with your Google Drive account:
grive –a

Copy-paste the address displayed in the terminal into your browser’s address bar to load it. You’ll get an authentication code, which you’ll need to copy-paste back into the terminal to give grive access to your Google account. After you have, grive will perform its first sync.

To perform a sync with your Google drive in the future, run the following commands:
cd ~/grive
grive
Note that grive syncs to the current folder when you run it, so you must cd to your grive folder before running the grive command.

Revoking Access

If you stop using grive or Insync in the future, you can revoke their access to your Google account from the Connected Sites, Apps, and Services page on the Google website. You can also revoke access to other apps and websites you no longer use from this page.

No comments:

Post a Comment