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?

  • BCsven@lemmy.ca
    link
    fedilink
    arrow-up
    27
    arrow-down
    1
    ·
    edit-2
    11 months ago

    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.

    • Father_Redbeard@lemmy.ml
      link
      fedilink
      arrow-up
      11
      ·
      11 months ago

      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

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        8
        ·
        11 months ago

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

        • Father_Redbeard@lemmy.ml
          link
          fedilink
          arrow-up
          3
          ·
          11 months ago

          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.

          • BCsven@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            11 months ago

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

          • BCsven@lemmy.ca
            link
            fedilink
            arrow-up
            2
            ·
            11 months ago

            That is why you give your credentials in the online accounts section. proton made an email bridge, no reason they can’t bridge an encypted drive

    • maxprime@lemmy.mlOP
      link
      fedilink
      arrow-up
      6
      ·
      11 months ago

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

      • BCsven@lemmy.ca
        link
        fedilink
        arrow-up
        7
        ·
        11 months 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

  • Father_Redbeard@lemmy.ml
    link
    fedilink
    arrow-up
    4
    ·
    11 months 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?

  • the_q@lemmy.world
    link
    fedilink
    arrow-up
    5
    arrow-down
    1
    ·
    11 months ago

    The best way I’ve found is to use a NAS with the ability to sync with Google drive then mount that folder as an SMB share in your fstab.

  • dustyData@lemmy.world
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    11 months ago

    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@lemmy.world
      link
      fedilink
      arrow-up
      3
      ·
      11 months 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.

      • dustyData@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        11 months 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.

        • maxprime@lemmy.mlOP
          link
          fedilink
          arrow-up
          2
          ·
          11 months ago

          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.

  • meteokr@community.adiquaints.moe
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    11 months 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?

      • mozz@mbin.grits.dev
        link
        fedilink
        arrow-up
        2
        ·
        11 months ago

        My bad, you are correct. For some reason I misread.

        There is google-drive-ocamlfuse. Personally, even though the article recommends rclone, I would have started with ocamlfuse; something about the whole interaction with rclone seems flaky-sounding to me (the fact that it’s not just fuse commands, but this whole other tool you have to interact with for doing stuff like ‘ls’ just seems weird). But like I say I have no real experience to be sharing; this is just me searching + sending to you.