Mount google drive on command line using gvfs-google

19,812

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

Share:
19,812

Related videos on Youtube

Florian
Author by

Florian

Updated on September 18, 2022

Comments

  • Florian
    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
      Mark K Cowan over 8 years
      Did you solve this? I'm on XFCE.
    • Florian
      Florian over 8 years
      Unfortunately, no.
  • l0b0
    l0b0 over 7 years
    I 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
    reeco over 5 years
    According to this issue gnome-control-center should not run outside GNOME.
  • enigmaticPhysicist
    enigmaticPhysicist about 3 years
    Also useful for MTP devices.