Mount Google Drive automatically at startup (as in Nautilus)

To automount, you will need to find a command that does that through the command line. Try mounting a Google drive that is correctly configured through Gnome control center through the command line with:

gio mount google-drive://[email protected]/

Unmount:

gio mount -u google-drive://[email protected]/

Mount your drive using nautilus. You can then see the mount in the output of

gio mount -l

Once you have that command, include it in your autostart programs to have it executed automatically after login.


google-drive-ocamlfuse seems to be what you’re looking for. You can use that to authenticate and mount Google Drive to your system. You can then use something like systemd to mount it on startup. Check out this tutorial on the matter:

https://www.xmodulo.com/mount-google-drive-linux.html

There are also other mounting options if you don’t want to use systemd.