How to access Google Drive in Debian 10

Google Drive is a cloud storage and sync service that allows users to store, sync, and share files across multiple devices. It offers 15GB of free file storage for every Google account. In this article, we will explain how to access the Google Drive account on a Debian system. The process involves connecting your Google account to the system using the Gnome Online Accounts utility, which then allows you to connect your Google drive to the file manager. Once connected, you can open, edit and upload new files from your system to Google Drive.

We used the Debian 10 system to execute the commands and processes discussed in this article.

Step 1: Setting Up Gnome Online Accounts

Debian 10 comes with the Gnome Online account utility preinstalled. However, if it is not present on your system for any reason, it can be installed via Terminal as follows:

Open a Terminal on your Debian system. Click the Actions tab in the upper left corner of your desktop. Then enter the keyword terminal in the search bar. When the search result appears, click the terminal icon to open it.

Now in Terminal, run this command as sudo to install the Gnome Online accounts utility:

                      $ sudo apt install gnome-online-accounts

Make sure you are an authorized user, otherwise you will not be able to add, remove or configure any applications in Debian.

Before installation, it may ask for confirmation by giving you Well no option. Bump at and then To come in to proceed with the installation.

Once the Gnome Online Accounts utility has been installed on your system, you can launch it with the following command in Terminal:

                      $ gnome-control-center online-accounts

There is an alternative way to open the Gnome Online Accounts utility. To do this, right-click on the desktop and select Settings. In the settings utility select Online accounts tab on the left pane. That’s how Online accounts the window will look like this:

Online accounts

Step 2. Adding a Google Account to the List of Online Accounts

In the Gnome Online Accounts utility, you will see a list of various online services that you can configure for use on your Debian system. At the moment we want to access Google Drive on our system. To do this, select your Google account from the list of online accounts. Make sure you have an internet connection so you can sign in to your Google account.

The following login screen will appear where you can enter your Google account credentials. Enter your Google Account ID followed by your password.

Sign in

After logging in, you will be presented with the following screen which shows the permissions you grant your system to your Google Drive account. Review the permissions and click Let button to allow Gnome to access your Google Drive account.

Allow access to Google account

You will now see the following screen. It lets you choose the apps you want to sync with Gnome. These settings can be changed at any time. For now, however, make sure that Files the slider is in the right position so that you can access your Google Drive files in the Debian file manager.

Configure what data will be accessed

Now close the above window and you will see your Google account added to the list of online accounts. If you have another Google account, you can add it in the same way.

Connect to Google

Now that you have added your Google Drive account to the list of online accounts on your system, it can now be accessed through the Debian file manager. Open the file manager on your system and you will see your Google Drive account listed at the bottom of the left pane. Just tap on it to view your Google Drive files in the file manager.

Google Drive mounted on Debian

Editing files

Remember, files in the mounted directory are not added to your computer as real files. These are only instances of your online files that you will only be able to view when connected to the Internet. If you need to edit one of these files, open it from the mounted directory and make the necessary changes. Since your system syncs with the online google drive, your changes will be uploaded to the internet directly. A quick alternative is to download a copy to your local system, make the necessary changes, and then place this file in the mounted directory.

Add a file to Google Drive

To add a file via your system to Google Drive, simply copy the file to the mounted directory when you are connected to the Internet.

Disconnect Google Drive

If you need to disconnect Google Drive from your system, right-click the account and select Disconnect from the list of options.

Removing your Google Drive account

If you want to permanently disconnect your Google Drive account from your system, open the Gnome Online Account utility. Click the added Google account. The following window will appear.

Remove Google Access

Click the icon delete button to permanently remove the Google account from your system.

That’s all! By following the steps above, you can easily access and edit files on google drive from your Debian computer.

How to access Google Drive in Debian 10

Related Posts