GNOME 3.18 bring several important news, and one that we had in sight for quite some time is the integration with Google Drive, The cloud storage company of the Mountain View company. The best thing, in this case, is that this feature can also be used in other desktop environments (in Xenial Xerus) as may be the case with XFCE or Unity, so let’s see some of this in this post.
The idea is to use the Google Drive integration with GNOME 3.18 with Unity or XFCE desktops, All of which can be used in Ubuntu 16.04 Xenial Xerus. The first, of course, from the fact of being the default desktop, while in the case of the other we can get it thanks to the fact that we can install install any desktop from repositories or by installing one of Ubuntu’s ‘flavors’, such as Ubuntu GNOME or Xubuntu.
To be able to use this Google Drive integration with Unity we will need to install the GNOME Control Center, which does not come by default in Ubuntu but is available in the official repositories. So we installed it:
sudo apt-get install gnome-control-center
Then we opened it, loading it from the Unity dash, From a terminal (the executable file is called gnome-control-center) or from the menus, then add our Google Account, in the online accounts section, making sure that if the “Rows” option is enabled, as we see in the image above in this post. And that’s it, because we will already be in a position to access our Google Docs from Nautilus (Or Nemo, if we installed it).
If we have XFCE, luckily we can also take advantage of the benefit of having integrated Google Drive on the desktop, Although in this case we must keep in mind that we need to resolve some dependencies as the GNOME Control Center is based on GNOME 3. Of course this is handled by Apt-get, so we will not worry so since we are well covered in this regard, but we must also keep in mind that in non-GNOME or Unity environments the GNOME Control Center will not appear in the main menu, So we must resort to an extra step:
Edit the file /usr/share/applications/gnome-control-center.desktop, and delete «OnlyShowIn = GNOME; Unity ».
Then we copy this file to ~ / .Local / share / applications /. If this folder does not exist we will have to create it.
Now we have to make the GNOME Control Center show all the panels you have available, we need to edit the shortcut and add the option “Env XDG_CURRENT_DESKTOP = GNOME” between “Exec =” i “Gnome-control-center”. We can do this by running the following from a terminal window (which we opened with Ctrl + Alt + T):
set -i ‘s / ^ Exec. * / Exec = env XDG_CURRENT_DESKTOP = GNOME gnome-control-center -overview / ‘~ / .local / share / applications / gnome-control-center.desktop.
Now that we have all the panels available, we have to add our Google Account, As we saw when we added this sync in Unity to Great Xerus. And after doing so we will finally be able to access our Google data in Thunar.
As we see, the steps to power take advantage of our Google Drive space on your desktop (Be it XFCE or Unity) are very simple and after finishing we will have direct access to everything we store in the Google cloud, As if it were a folder on our computer.