[How To] Access Google Drive Via Nautilus

Write tutorials and howtos in here
There are more tutorials here http://community.linuxmint.com/tutorial/welcome
Forum rules
Do not start a support topic here please. Before you post please read this

[How To] Access Google Drive Via Nautilus

Postby cirrus_minor on Wed Apr 25, 2012 2:16 pm

[How To] Access Google Drive Via Nautilus in Ubuntu
By Joey Sneddon,


Google’s newly-launched ‘Drive’ feature may have failed to give Linux users a client from the get go – but that doesn’t mean we need to go without entirely.

A temporary solution is available for those willing to try it. It’s not as elegant or featured as the clients Google provides for Windows and Mac users, but it may help bide the time for avid Google-users looking to make the most of Drive before something more official arrives.
Google Docs Drive FS

The package comes courtesy of Luca Invernizzi, and is based on the discontinued ‘google docs fs’ project that ”[allows] you to connect to Google Docs and treat it as a file system.”

Sounds technical, but put simply it means you can access the files and documents in your Google Drive as you would any other folder.

But there are limitations to this approach.

The majority of features billed in the Google Drive clients themselves are not provided in this fix – the most notable of which is the inability to add files, sync files or otherwise access the folder whilst offline; uploading additional files to the Drive also doesn’t seem to function fully.

With the disclaimers out of the way lets see how you get it all set up.

First you need to add the packages provided by Luca and available in his PPA (11.10 only at present): -

sudo add-apt-repository ppa:invernizzi/google-docs-fs
sudo apt-get update && sudo apt-get install google-docs-fs

Once everything that’s needed has been installed log out and back in.

Open Nautilus
Create a new folder in your Home folder titled ‘Drive’
Open a Terminal and run: -
gmount Drive username@gmail.com
Input your password
Your Google Drive is now mounted in the ‘Drive’ folder
Image
Image
Desktop KDE 4.8.2 Distro Linux Mint 12 KDE
GPU:ASUS® [G92 EN8800 GT TOP] 512MB DDR3.
http://cirrusminor.info
User avatar
cirrus_minor
Level 1
Level 1
 
Posts: 10
Joined: Thu Apr 19, 2012 8:41 am
Location: Glasgow Scotland UK

Linux Mint is funded by ads and donations.
 

Re: [How To] Access Google Drive Via Nautilus

Postby ally on Mon Apr 30, 2012 2:33 pm

hey joey

thanks for this useful tool

I have followed your instructions and now have a mounted 'Drive' which shows my google-drive files

I would like to backup data directly to this folder using mintbackup, although it sees the drive it is greyed out and shows "0 bytes Unknown"

any solution?

cheers

ally :)
ally
Level 1
Level 1
 
Posts: 3
Joined: Sat Apr 14, 2012 9:23 pm

How to access Google Drive in Caja/Nautilus

Postby nomko on Mon May 07, 2012 2:28 pm

Google Drive doesn't come with a Linux Client. However, it is possible to let Google Drive connect with Caja/Nautilus for full access.
Access your Google Drive using Caja/Nautilus:

- open a terminal and copy/paste the following command:
Code: Select all
sudo add-apt-repository ppa:invernizzi/google-docs-fs


- Copy/paste the following command:
Code: Select all
sudo apt-get update && sudo apt-get install google-docs-fs


Now comes the last part of adding Google Drive to Caja/Nautilus:

- Open Nautilus
- Create a new folder in your Home folder called Drive
- Open a Terminal, copy/paste and run the following command:
Code: Select all
gmount Drive username@gmail.com


After pressing Enter, type in your password. When your password is entered, your Google Drive is mounted and accessible.
ASUS P5KPL-AM SE*Intel Core2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*Optiarc DVD-RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Sitecom X5-N600 Router (WLR-5100)

My personal website
User avatar
nomko
Level 8
Level 8
 
Posts: 2173
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Re: [How To] Access Google Drive Via Nautilus

Postby proxima_centauri on Tue May 08, 2012 7:26 am

* Two identical tutorial topics merged.
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3968
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: [How To] Access Google Drive Via Nautilus

Postby donkeyhottie on Tue Jul 31, 2012 6:21 am

W: Failed to fetch http://ppa.launchpad.net/invernizzi/goo ... ce/Sources 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/invernizzi/goo ... 4/Packages 404 Not Found

W: Failed to fetch http://ppa.launchpad.net/invernizzi/goo ... 6/Packages 404 Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
jarif@whirlwind:~$
User avatar
donkeyhottie
Level 1
Level 1
 
Posts: 23
Joined: Wed Jul 25, 2012 11:52 am

Re: [How To] Access Google Drive Via Nautilus

Postby proxima_centauri on Tue Jul 31, 2012 11:07 am

There is no PPA for Ubuntu 12.04 so it will not work for Linux Mint 13.
User avatar
proxima_centauri
Level 11
Level 11
 
Posts: 3968
Joined: Tue Dec 25, 2007 3:24 pm
Location: NB, Canada

Re: [How To] Access Google Drive Via Nautilus

Postby nomko on Tue Jul 31, 2012 3:48 pm

proxima_centauri wrote:There is no PPA for Ubuntu 12.04 so it will not work for Linux Mint 13.

Yep. version Karmic up to Oneiric is supported. No Precise.
ASUS P5KPL-AM SE*Intel Core2 Quad CPU Q8200*4 GiB ram*nVidia GeForce 9500GT*Realtek RTL8101/8102E*Optiarc DVD-RW AD-7200A*HDD:Samsung HD501LJ/HD103SI*Sitecom X5-N600 Router (WLR-5100)

My personal website
User avatar
nomko
Level 8
Level 8
 
Posts: 2173
Joined: Sat Feb 25, 2012 7:28 pm
Location: The Hague, The Netherlands

Re: [How To] Access Google Drive Via Nautilus

Postby zen3 on Thu Aug 02, 2012 11:13 am

Hello, it worked like a charm. Thank you.

How can this be done automatically at boot? Like adding an entry at fstab or something.
zen3
Level 1
Level 1
 
Posts: 1
Joined: Thu Aug 02, 2012 11:11 am

Linux Mint is funded by ads and donations.
 

Return to Tutorials / Howtos

Who is online

Users browsing this forum: No registered users and 5 guests