this post was submitted on 18 Jan 2024
51 points (88.1% liked)

Linux

49341 readers
2153 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

I've been using Google Drive in Windows for about a decade and have a good workflow. I recently transitioned to Linux but cannot seem to reliably connect my drive to the filesystem. My work provides unlimited Drive space and since it's for work I have shared directories with coworkers that I need access to every day. Hence, I'm kind of tied to GDrive.

Is there a reliable method of doing this? Rclone seems to be what I want but it seems to disconnect regularly, and often doesn't upload the changes I make which defeats the purpose.

Do Linux users just not use Drive?

all 46 comments
sorted by: hot top controversial new old
[–] [email protected] 50 points 1 year ago (3 children)
[–] [email protected] 7 points 1 year ago

And you just know that the tools to access Google Drives natively in Linux must already exist and have been in use internally at Google for a decade, but Alphabet can't figure out how to profit so we'll never see it.

[–] [email protected] 2 points 1 year ago

LMAO that’s just fucking stupid man

[–] [email protected] 26 points 1 year ago* (last edited 1 year ago) (3 children)

If you use GNOME DE you go to the online accounts dialog, click Google and setup with your credentials, it adds GDrive to Nautilus, integrates gmail and calendar into evolution client.

[–] [email protected] 11 points 1 year ago (1 children)

Came here to say the same. Works pretty damn well too. I also have mine connected to a Nextcloud sever because I'm trying to ditch the big G

[–] [email protected] 7 points 1 year ago (2 children)

yeah, I am hoping thry add Proton Drive account to that list of online services

[–] [email protected] 3 points 1 year ago (1 children)

Seafile would be sick too, but very unlikely. They have a SeaDrive client, but it's not quite as nicely integrated as the Gnome stuff.

[–] [email protected] 2 points 1 year ago

Yeah I have the seadrive setup also. But GNOME accounts is very well done

[–] [email protected] 6 points 1 year ago (1 children)

Are applications able to write directly to the directory this mounts to? Could Codium add this folder?

[–] [email protected] 7 points 1 year ago

It shows in the Mounts section of nautilus, for apps that don't recognize that you may have to go to /run/media/username/mount if it doesn't show up in the Other section of file pickers

[–] [email protected] 4 points 1 year ago (3 children)

I use KDE and I don't think there's something similar, or am I mistaken?

[–] [email protected] 9 points 1 year ago

Thru the networks tab on dolphin. Maybe youll need to install some plugin too. But it works fine.

[–] [email protected] 6 points 1 year ago (1 children)
[–] [email protected] 3 points 1 year ago

Oh cool! I'm saving this for later.

[–] [email protected] 1 points 1 year ago

I'm not aware of what is available for KDE. i didn't see it when I tried KDE, but maybe somebody has successfully used the packages to setup something similar

[–] geekworking 13 points 1 year ago (2 children)

Not free, but I have been using Insync for years and it works well. $30 one time cost, but worth it.

[–] [email protected] 2 points 1 year ago

This is what I use. Though I got my email wrong and had to buy it twice...

[–] [email protected] 2 points 1 year ago

I got a free key from a friend and insync has always worked well for me

[–] dustyData 4 points 1 year ago* (last edited 1 year ago) (2 children)

My google drive is just a special folder on my file explorer. My account is configured with the system account manager. It shows me all my Drive files and when I want to open one it automatically downloads and opens the file seamlessly as if it were in my PC. If I create, move or change folders, add new files, etc. It automatically syncs it with my Drive.

This is on Linux Mint with Cinnamon DE.

[–] StefanT 3 points 1 year ago

I use Gnome but Cinnamon and Gnome are not that different in that topic IIRC. I have to mount the remote folder via file manager (Nautilus) then I can access the files in Code.

[–] [email protected] 2 points 1 year ago (2 children)

Can you open Drive files in Codium?

[–] jerrythegenius 2 points 1 year ago (1 children)
[–] [email protected] 2 points 1 year ago (1 children)

Hmm. It’s not working in Manjaro for me. Is it as easy as just opening any other folder? I have Drive added in KDE and can see my files but I cannot add a folder from drive in Codium.

[–] jerrythegenius 2 points 1 year ago

I'm not sure about kde sorry-- I'm using it in fedora w/gnome

[–] dustyData 2 points 1 year ago* (last edited 1 year ago)

My guess is no, since the folder is a magical protocol address that I assume VScode/codium wouldn't understand for they insist on handling the directory hierarchy directly. Haven't really troubleshoot that workflow though. I use exclusively Git with GitHub/GitLab. So there's no need for GDrive with an IDE for me. My Drive is exclusively for personal files which most other Linux-as-a-first-class-citizen applications (LibreOffice, PDF readers, photo viewers and editors) just use as the OS gives it to them without issue.

ADD: I would imagine there's an additional complication depending on whether Codium is running from repository or Flatplak.

[–] [email protected] 4 points 1 year ago* (last edited 1 year ago)

I've used it in the past with rclone, just mounting it with a systemd service on boot, and treating it like another folder on the system. Does it give you any logs as to why its not connecting right?

[–] [email protected] 4 points 1 year ago

That seems strange regarding rclone. I've used that with success with G drive, backblaze B2, and I drive e2. Any errors or logs you can see?

[–] [email protected] 2 points 1 year ago

Is gcs-fuse not suitable? I haven't used this but I would guess that it works fairly well.