Google Drive on Linux Mint

Google Drive is great for storing data in the cloud, meaning your files are synced across several devices for instant access. Till date, it has been proven to be secure and stable. Users are given 17GB of storage for free and additional space can be purchased on the annual basis.

Unfortunately, Linux Mint 18.1 and even the latest 18.2 doesn’t come pre-installed with Cloud accounts.  No worries, we shall install GNOME Online accounts. Using this feature, you can log into your Google Drive account.  Here is a step-by-step guide on exactly to set it up on your computer.

Installing GNOME-Online-Accounts

STEP 1: Launch ‘Terminal’.

STEP 2: Enter the following command to install GNOME Control Center.

sudo apt-get install gnome-control-center

STEP 3: Enter the following command to install GNOME Online Accounts.

sudo apt-get install gnome-online-accounts

STEP 4: Let’s launch Gnome Online Accounts from Terminal. Copy and paste the following command, and hit enter.

Exec=env XDG_CURRENT_DESKTOP=GNOME gnome-control-center --overview

Installing Google Drive

STEP 5: You should now see the GNOME Control Center. Note that this will look similar to the ‘System Settings’ app of Linux Mint, but both are different.

GNOME Settings
GNOME Settings

STEP 6: Click ‘Online Accounts’.

STEP 7: Click ‘Add Online Account’.

Adding Online Account
Adding Online Account

STEP 8: Go ahead and add your Google Account. After entering correct credentials, you should see your Google account and Google Drive data.

Google Account Added
Google Account Added

You should see your Google account in the network section of Nemo (Files) app.

Google Drive in Files App
Google Drive in Files App

Note that you will see a directory with your google account in the “Home” section. This directory will not sync from PC to cloud, but vice-versa is true. In order to have a sync capability from PC to Google Drive, you must use the directory in the “Network” section of “Files” app.

READ  Linux Mint 19 "Tara" New Features and Release Date
Previous articleHow to install Android Studio and Android Tools on Solus
Next articleAtom – Hackable and highly customizable Text Editor
Hi there! I'm Kiran Kumar, founder of FOSSLinux.com. I'm an avid Linux lover and enjoy hands-on with new promising distros. Currently, I'm using Ubuntu as a daily driver and run several other distros such as Fedora, Solus, Manjaro, Debian, and some new ones on my test PC and virtual machines. I have a day job as an Engineer, and this website is one of my favorite past time activities especially during Winter ;). When I'm not writing for FOSSLinux, I'm seen biking and hiking on scenic trails. Hope you enjoy using this website as much as I do writing for it. Feedback from readers is something that inspires me to do more, and spread Linux love!. If you find a time, drop me an email or feedback from the 'Contact' page. Or simply leave a comment below if you found this article useful. Have a good day!

28
Leave a Reply

avatar
25 Comment threads
3 Thread replies
0 Followers
 
Most reacted comment
Hottest comment thread
27 Comment authors
lorinvargheseCorkyTonyMatt Recent comment authors
  Subscribe  
newest oldest most voted
Notify of
Sébastien
Guest
Sébastien

Hier,
I was searching for a solution to point my different Google Drive accounts on Linux Mint 18.2.
Your tutorial is really clear and so simple to follow.
Now i can access and use my differents Google Drive easily from the file manager.
Thanks a lot !

Timothy
Guest
Timothy

Is it possible to change the directory? On windows, I pointed my google drive to an external drive of mine. I’d like to do the same on linux.

Hamid
Guest
Hamid

i have done all steps without error but there is no directory in network or home section!

George E Gelles
Guest
George E Gelles

Did you ever find out where the drives are located? I just tried this and cnt find the drive..

Anne
Guest
Anne

Hey Kiran,
thanks for the instructions. I’m on Linux Mint 18.1 Serena. However, after clicking on “add online account”, I don’t manage to sign into my google account and get the following error in the terminal:

Error loading module ‘/usr/lib/mozilla/plugins/nppdf.so’: /usr/lib/mozilla/plugins/nppdf.so: wrong ELF class: ELFCLASS32
Error scanning plugin /usr/lib/mozilla/plugins/nppdf.so, /usr/lib/x86_64-linux-gnu/webkit2gtk-4.0/WebKitPluginProcess returned 256 exit status

Any suggestions what to do?
Thanks,
Anne

Andrew
Guest
Andrew

This worked for me. Thank you.

Leo Boe
Guest
Leo Boe

Hi, I can make the configuration, but when I going to connect with nemo, it says: Invalid credentials for leonar…[email protected]. I’m using Cinnamon

Bux
Guest
Bux

It means your credentials are incorrect… 😉
Double check your password.

TSloth
Guest
TSloth

double-check the password how?
I’m thinking I typed in the correct password because Google accepts it and allows me to proceed to step 8 above.

Paul G
Guest
Paul G

I just followed your instruxctions. Thank you. However, I do not see anything “google” in home or nework on Linux Mint 18.2

Steve Dalton
Guest
Steve Dalton

Great post Kiran – thanks taking the time to share this with us.

Steve
Guest
Steve

Great work!!! All show up under devices section, not network on 18.3 sylvia linux mint Mate

Fred stegmann
Guest
Fred stegmann

Thank you very much for this advise, appreciated!

Tony
Guest
Tony

What about Grive2. This will allow you to sync and save your google drive. while manual, it will allow you access your data if you do not have online access…

rudy cruysbergs
Guest
rudy cruysbergs

Perfect post!

jansen simanullang
Guest
jansen simanullang

It works like a charm in Linux Mint 18.3 too! Thanks a lot!

John
Guest
John

Could anybody explain me how the command, ‘Exec=env XDG_CURRENT_DESKTOP=GNOME gnome-control-center –overview’, works?

I have no idea with the beginning part of the command started with ‘Exec=’, and also the middle part of the command connected without any separator such as ‘&&’ or ‘|’ between ‘env’ and ‘gnome-control-center’ commands.

Gyudre
Guest
Gyudre

Hi Kiran, Thanks for the workaround! I installed per your instructions and added a readable Gdrive with no problems. So, I want to install an additional Gdrive, when I go to the add accounts window the add accounts button remains grayed out. I deleted the original account thinking that might help, but no help there either. I also tried entering sudo Exec string with no luck. Any ideas / solutions ?
Mint 18.3
Cheers, G

Mista Blues
Guest
Mista Blues

Succesfully added my Google Account via Online-Accounts in System Settings.
However, it only shows/pulls in “Hangouts” to the Online-Account; NO Drive, NO contacts, NO calender etc.

Check settings on Google for authorized apps and it’s showing that KDE/Ubunte is authorized to access ALL Google services.

Any idea what the problem is?

Mr Grumpier
Guest
Mr Grumpier

Sorry, I followed instructions but get Error sending IPC message: Broken Pipe
and gnome-contro-center:2828 Warnings: 12:57:11.600, 614, 615
12:58:54.629. ++more similar. I am using Mint. Mate 19. 32bit

Ray
Guest
Ray

WILL NOT ACCEPT CREDENTIALS: My credentials expired again. Though I followed the instructions above, as before, Google Drive will not accept my credentials this time. I am entering my username and password correctly, because my Google account accepts them.
I am running Linux Mint 18.2. What should I do to make my installation accept my credentials?

Mike
Guest
Mike

Great article! On Linux Mint 19 Tara, the folder shows up under Network–>your [email protected].

Matt
Guest
Matt

Worked perfect! Thanks! In Linux 19.X it shows up in Devices.

Tony
Guest
Tony

Not working on the latest Mint (Tara).

Corky
Guest
Corky

I don’t have Nemo I have Caja, so this didn’t work most unfortunate.

varghese
Guest
varghese

Thanks, dear it was very useful to me! thanks keep it up

lorin
Guest
lorin

I hit “add account” nothing happens. any ideas? mint 17

lorin
Guest
lorin

When using Exec=env XDG_CURRENT_DESKTOP=GNOME gnome-control-center –overview
It bring up the window to add account…well clicking on it does nothing. no other action happens.