Google Drive is a nice cloud storage service. It provides a suite of nice online document spreadsheet and slide editors Google Docs, Google Sheets and Google Slides. The collaborative editing and full history tracking features of Google Docs are excellent. Google Drive gives 16GB free storage which is pretty much larger compared to other free cloud storage plans. However, there has never been an official client released for Linux. The best Google Drive client which I find recently that works smoothly and nicely is a software product Insync. We will check how to install and use it in Ubuntu 18.04 in this post.
There are other choices for syncing Google Drive files, such as Gnome Online Accounts. Insync has its unique features available that are useful. Unlike Gnome Online Accounts, Insync files are visible and available in the local file system following the directory structure and file names in Google Drive instead of some “virtual” file systems only available to Nautilus, and Insync does not require accesses to all permissions of the Google account and only limits the access to the Google Drive.
The one most important feature of Insync is that it can download a copy of the converted Office or OpenDocument files for the Google Docs/Sheets/Slides files no matter whether it is created by the account owner or shared to the account owner, and local modifications are synced to the Google Drive automatically. This is a powerful feature, that enables making a backup of the files in the Google Docs/Sheets/Slides created by one or shared from others, which is very unique to Insync as so far I find.
Overall, its functions deserve the one time $29.9 fee ($5 discount using this link: Insync) to me and the 15-day free trial can be used to evaluate whether the features are really useful.
Now, let’s look at how to set it up in Ubuntu 18.04.
Register an Insync account
Click Insync ($5 discount from this link).
Click the “Try free for 15 days” and log in using your Google Account. After this, your Google account should be ready to use Insync.
Set up the apt repository for Insync
Add the Insync repository to install the software
echo "deb http://apt.insynchq.com/ubuntu bionic non-free contrib" \ | sudo tee /etc/apt/sources.list.d/insync.list
Update the apt cache
Update the apt caches
sudo apt update
Now install the Insync software package
sudo apt install insync
If you use Nautilus, install the integration tool so that the file and directory status can be shown in Nautilus and there are links in the context short cut menu to Google Drive and Google Docs (very useful feature if you would like to edit a document online)
sudo apt install insync-nautilus
If you are using another file manager, you may check whether Insync has plugins for your tool. So far, those listed are
insync-caja/unknown,unknown 184.108.40.206116-precise all insync-dolphin/unknown,unknown 220.127.116.11116-precise all insync-nautilus/unknown,unknown,now 18.104.22.168116-precise all [installed] insync-nemo/unknown,unknown 22.214.171.124116-precise all insync-thunar/unknown,unknown 126.96.36.199116-precise all
After Insync starts, following its GUI instructions to log in your Google account(s) and authorize the accesses to your Google Drive and it will start to sync files.
If you would like Insync to convert the documents files, set the options in the “Account Settings” tools as shown in the images shown in the earlier part of this post for that Google Account (per Google Account settings) and Insync will automatically convert the document files.