Automatically mount Google Drive with google-drive-ocamlfuse at startup?


I got the google-drive-ocamlfuse to work using this link:

Now I am trying to mount the Google Drive at startup. I did add the following command to Startup Applications: “google-drive-ocamlfuse ~/googledrive”

But after I boot up, the drive is still not mounted until I enter the above mount command manually. What am I doing wrong?

Appreciate any help on this…


I got it to work by changing the mount command in Startup Applications to the following:

google-drive-ocamlfuse “/home/john/googledrive”


Thanks for this question and solution. really helped me out.


I could not get it done on Ubuntu 18.04 LTS. The command “google-drive-ocamlfuse ~/mygoogledrive” works on the terminal, but it does not work when added to startup applications.

I have tried different options like “google-drive-ocamlfuse /home/mygoogledrive” or google-drive-ocamlfuse “/home/mygoogledrive” (with and without quotes), but no luck.

Any help appreciated!