[Call for Testers] Restoring Google Drive integration in GNOME

Hi,

I’ve created a proposed implementation of Google Drive support that uses modern dependencies and that I hope can replace the old one that was dropped.

I’ve been using it daily for the past few weeks and it can handle my day-to-day needs. Would be great to get feedback from more people (instructions below).

Your testing and feedback would be valuable to help get this upstreamed.

Important notes:

  • Post your feedback in the GNOME Discourse thread. Even “it works great” helps! We need to know that too.

Fedora 44

sudo dnf copr enable fluhus/gnome-googledrive
sudo dnf update --refresh

This replaces some system components with Google-enabled ones, so I recommend taking a system snapshot beforehand or using a VM.

You might need to remove and re-login to your Google online account.


Fedora 43

Make sure you’re logged into your Google account via Online Accounts and that Google Drive is unmounted.


# Install build dependencies
sudo dnf builddep gvfs

# Get the code
wget "https://gitlab.gnome.org/fluhus/gvfs/-/archive/googledrive/gvfs-googledrive.zip"
unzip gvfs-googledrive.zip
cd ​​​gvfs-googledrive

# Build
sed -i s/3.57.0/3.56.0/ meson.build # temporary dependency downgrade
meson setup build -Dgoogle=true
ninja -C build

# Run
./build/daemon/gvfsd-google host=gmail.com user=YOUR_GOOGLE_USERNAME

Google Drive should be mounted now, you can test away!

You’ll know that this is the new implementation if the Google files have nice icons:


I’m happy to answer any questions.

Thank you!

4 Likes

There’s a couple of suggestions to move forward:

  • Support for GNOME 50 is crucial because the old way still works in GNOME 49, and many users notice the issue only after upgrading.

  • Using Copr helps to build and distribute packages, see:
    Package gvfs in vgaetera/testing

Thanks for your work! :smiley::+1:

2 Likes

Good job. Thank you!

Once you have it working with GNOME 50, do you plan to submit a merge request to upstream GVfs?

1 Like

@vgaetera thank you for the feedback! I’ve added instructions for f44 using COPR (should work for rawhide too). Your example package was helpful! This is my first attempt at creating a COPR so I’m happy for any feedback or ideas.

@catanzaro yes, once there is enough positive feedback my goal is to make a merge request to gvfs.

1 Like

It works just fine! I have tested minutes ago in Fedora 44 and it’s working as you said :slight_smile:

1 Like

Really miss this feature and it’s awesome that we have the progress with implementing this feature! Tested it out and the auth and mounting process went well, but in the mounted FUSE directory I see the file ids instead of file names, so the content looks like this:

$ ls /run/user/1000/gvfs/google-drive\:host\=gmail.com\,user\=murznn/My\ Drive/ -1
0B65OeTkVeIyzNzc1YjhjNTUtOTVhZC00MzQ5LTlkMTYtMWM0NmIwOGZhMjFl
0B65OeTkVeIyzdTdIOGIzSE03SEE
1-YLTF8-EBijbzWnnTqDLdKbSlKVXGjg6
12ilE4T97071ySERvIEuByj1kElrigbsT
13Itwte7WhlW20Ze7mtB0taiwfQQOZBxP-BkW1sKFgJI
...

What can be done wrong and how to fix this issue?

Responded on Discourse.