How to add a cloud account to the Polo File Manager

The Polo File Manager makes working with your cloud accounts on the Linux desktop a no-brainer.

How to add a cloud account to the Polo File Manager

If you've taken the time to install the Polo File Manager on a Linux distribution, you've probably already concluded that this file manager is a vast improvement over the standard offerings. However, you may not know that Polo is capable of working with the cloud. Polo supports the following cloud storage options:

  • Amazon Drive
  • Amazon S3
  • Backblaze B2
  • Dropbox
  • Google Cloud Storage
  • Google Drive
  • Hubic
  • Microsoft OneDrive
  • Openstack Swift
  • Yandex Disk

I'm going to walk you through the process of connecting Polo to Google Drive. Although the process might seem a bit tedious, the end result is worth the effort.

SEE: Serverless computing: A guide for IT leaders (Tech Pro Research)

What you need

You need three things:

Installing dependencies

In order for Polo to work with cloud storage, rclone must be installed. Fortunately, the developers have made this easy. Open the Polo File Manager and click Cloud | Add Account. You will automatically be prompted to install rclone (Figure A).

Figure A

Figure A: Installing rclone from within Polo.

Click Yes and a new Polo tab will open, prompting for your user's sudo password. Type that password, hit Enter, and the installation will begin and complete. Once that finishes, close the Polo terminal tab, go back to the Polo main window and click Cloud | Add Account again. This time you will be prompted to give the account a name and select the account type (Figure B). Select Google Drive and click Next.

Figure B

Figure B: Selecting the type of cloud account to connect.

A terminal window will open, where you will be required to answer a few questions about the account to be configured (Figure C).

Figure C

Figure C: Configuring the cloud account.

Because we are configuring Google Drive, it is recommended to create your own Google Application Client ID. If you do not, the default will be used, which will cause a serious performance hit. To do this, follow these steps:

  1. Point a browser to Google API Console and log in with your Google account.
  2. Click CREATE.
  3. Under ENABLE APIS AND SERVICES click Drive
  4. Enable "Google Drive API".
  5. Click "Credentials" in the left navigation
  6. Click "Create credentials"
  7. Select OAuth client ID.
  8. Choose an application type of other
  9. Click Create.

At this point, you will get a Client ID and a Client Secret. You need to paste those values into the installation terminal (when prompted).

You will then be asked for the root_folder_id of your Drive account. Press Enter for the default, which is the root folder of your Drive account. Accept the default answers for the next two questions and then type n to dismiss the next two questions (for advanced configuration and headless/remote machine).

Your default browser will then open for you to select the Google account you want to associate with Polo. Select the account, click Allow (when prompted), and then copy the new code you get from Google. Go back to the Polo File Manager and paste this new code in the prompt.

If you will use this as a team drive, answer Yes, otherwise type n for no.

Finally, you will be presented with all of your configured options. If everything is okay, type y for yes, and the configuration is complete. When prompted, type q for quit and your Google Drive account is now associated with the Polo File Manager.

Close and reopen Polo. You should then see your new cloud account listed in the Cloud menu (Figure D).

Figure D

Figure D: Our newly-added cloud account.

Click on the newly added entry to open the cloud account in Polo File Manager.

A great cloud addition

If you're familiar with using Google Drive on Linux, you'll welcome this addition. Polo File Manager may not be the easiest to connect to a cloud account, but once connected, it certainly makes working with that account a no-brainer. Give this a try and see if you don't find it your go-to means of working with your cloud accounts on the Linux desktop.

Also see

Image: Jack Wallen