How to mount Google Drive in KDE’s Dolphin file manager

Note: This tutorial is based on Debian 10. It may work in similar environments.

While this is not a filesystem mount via the Linux kernel (such as I just described in a previous blog post), KIO GDrive (part of KDE) enables KIO-aware applications (such as the Dolphin file manager, Kate editor, or Gwenview image viewer) to access, navigate, and edit Google Drive files.

kio-gdrive is available as a package in several Linux distributions. If installed, the Dolphin file manager will get an entry “Google Drive” under “Network”. There, an unprivileged desktop user can ‘mount’ a GoogleDrive account via a guided graphical configuration (during which the default browser will be opened where one needs to give KDE KAccounts permission to access the GoogleDrive account).

This method doesn’t provide access to GoogleDrive via a terminal, but it integrates it nicely with a graphical desktop. But the best part is that you don’t have to be root/superuser in order to do this, nor do you have to use the command line or write configuration files!

The following screenshots will walk you through the entire process!

Install kio-gdrive (on Debian: apt install kio-gdrive). After installation, Dolphin file manager immediately should get an entry called “Google Drive” under “Network” (see also featured image of this blog post).

Click on “New account” under “Google Drive”. A dialog window opens:

Click on “+ Create” and then on “Google”. It now will ask you to allow access to your Google Drive. A small web frame should open.

Enter your Google credentials and proceed until you are asked to give access to KDE KAccounts Provider.

Once you give permission, you will see:

You will get back to the former dialog:

Exit this dialog and you will already be able to browse your files!

19 thoughts on “How to mount Google Drive in KDE’s Dolphin file manager”

  1. Awesome! Works perfectly! Thank you. Left Windows behind for Chrome OS with Linux Shell, then got hooked on Linux, set up a new Laptop with KDE neon 5.16.2—so customized– its a tricked out ride. The integration is phenomenal, thanks to people like you!

  2. Works great with no pain. But backups of i.e. smartphones are stored in a hidden directory. How can I show these hidden directories?

  3. Followed the instruction for Dolphin and kio-gdrive but clicking on +CREATE does nothing. There are no options shown to the right of +Create on the config window. What is missing?

    I am running Debian Linux with Gnome.

      1. For me this still doesn’t work, provider installed, still can’t add account.

  4. doesn’t work for me under arch linux it says its temporarily blocked or something. Is this a recent occurrence? I know this is a problem for kmail so I’m not sure what the deal is here.

    1. Same here, Debian 10, KDE. Says the KDE developers need to work on Google compatibility or some such guff. Frustrating.

  5. Thank’s for the article. Btw, I guess you need to blur your email on the web authentication picture

  6. April 2020 Kubuntu 18.04 It doesn’t work as you say for me. When I select the Google account I get a small window to sign in with a note to ‘continue to KDE online accounts’ and it doesn’t like my google login. – It did eventually, but now: “Sign in with Google temporarily disabled for this app

    This app has not yet been verified by Google in order to use Google Sign in.”

    Have to find out how to do that.

      1. Sorry, no. It does not work for me.
        $ uname -a
        Linux myhost 5.4.0-37-generic #41-Ubuntu SMP Wed Jun 3 18:57:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

    1. the following worked for me:

      $sudo add-apt-repository ppa:alessandro-strada/ppa
      $sudo apt-get update
      $sudo apt-get install google-drive-ocamlfuse


      $mkdir -p ~/GoogleDrive

      $google-drive-ocamlfuse ~/GoogleDrive

      $ls ~/GoogleDrive

      $crontab -e
      @reboot /usr/bin/google-drive-ocamlfuse /home/YOUR_USER/GoogleDrive

  7. Where are the configs stored?
    I need to reset because it’s no more working.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.