Mount google drive on command line using gvfs-google
Solution 1
You need to install via pacman gnome-control-center and add your account from that Gnome component. Unfortunately, that means a ton of annoying Gnome dependencies come with this Gnome component to use the gvfs plugin for drive.
The other option is to install a bunch of ocaml dependencies with google-drive-ocamlfuse in AUR and go that route. I haven't been able to get google-drive-ocamlfuse to compile without creating soft link garbage on the filesystem.
Solution 2
gio mount google-drive://[email protected]
GVFS Bug 796064 - impossible to mount
Related videos on Youtube
Florian
Updated on September 18, 2022Comments
-
Florian almost 2 years
Recently, Arch linux ships gvfs-google package in order to mount Google Drive using Gnome Online Accounts (gvfs-goa). However, since I am using Cinnamon desktop rather than Gnome, it seems that this integration does not properly work.
As of now I used to sync Google Drive manually using drive. Is there a way to mount Google Drive using gvfs-google on the command line?
-
Mark K Cowan over 8 yearsDid you solve this? I'm on XFCE.
-
Florian over 8 yearsUnfortunately, no.
-
-
l0b0 over 7 yearsI get "Invalid mount spec" when trying to mount using this command. And the manual is less than helpful about what is a valid mount spec…
-
reeco over 5 yearsAccording to this issue gnome-control-center should not run outside GNOME.
-
enigmaticPhysicist about 3 yearsAlso useful for MTP devices.