Monday, May 6, 2024
 Popular · Latest · Hot · Upcoming
14
rated 0 times [  14] [ 0]  / answers: 1 / hits: 5886  / 1 Year ago, wed, december 28, 2022, 10:09:39

I use the mount point /run/user/<user_id>/gvfs/google-drive:host=<host>,user=<username>/<folder_id>/ in an automated backup script to copy some files on Google Drive regularly, and it works well.


However, I need to click first on the Google Drive icon in Nautilus so that Google Drive is mounted. Is there a way to mount Google Drive automatically at startup?


More From » nautilus

 Answers
6

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.


[#1376] Friday, December 30, 2022, 1 Year  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
utilitere

Total Points: 394
Total Questions: 110
Total Answers: 114

Location: Solomon Islands
Member since Wed, Mar 29, 2023
1 Year ago
;