Google Drive Integration in KDE Plasma

Probably you have older authorization - for new ones gdrive won’t work, because was removed because Google is Google (and bug link if someone want read) Remove app from https://myaccount.google.com and try again - it won’t work. Or create connection with new account.

But anyway fix for kio-drive is easy and simple (for someone who at least once touched Google Cloud), because you can override it with your own auth app and scope permissions:

  1. First go to https://console.cloud.google.com/apis and create OAuth client with gdrive permissions (and other if you need and want)
  2. Copy current config to user space:
mkdir -p ~/.local/share/accounts/providers
cp /usr/share/accounts/providers/kde/google.provider ~/.local/share/accounts/providers/google.provider
  1. Edit ~/.local/share/accounts/providers/google.provider, simply add gdrive scope 'https://www.googleapis.com/auth/drive' and replace ClientID and ClientSecret with those received from step 1.

Here is more detailed instruction how to do this :wink: How to make Google Drive work for you (for a while at least) - Tips and Tricks - KDE Discuss

3 Likes