14

I have updated to Ubuntu 19.10 from CLI and, after the update, I have found a new icon on the dock.

enter image description here

As you can see from the picture, it is an icon to mount and open the 'GDrive' cloud service. Anyway, the icon does nothing and it seems irremovable. Also, a right-click on the icon shows an 'Add to Favorites' option and it makes no sense because the icon is already stable on the dock.

How could I remove that icon from the dock?

pomsky
  • 68,507
cialu
  • 1,024

4 Answers4

13

Please, try this command:

gsettings set org.gnome.shell.extensions.dash-to-dock show-mounts false
  • 3
    Yes, I saw this and I posted here too, but it removes also the internal drive from the dock. – cialu Oct 20 '19 at 09:20
  • 3
    The goal is to keep google online accounts with all its features, BUT remove the google drive icon from the dock on the left, especially while the drive is NOT MOUNTED! We would like to keep the mounted drives visible on the dock though. – Axel Werner Oct 26 '19 at 16:24
7

In Ubuntu Configuration -> online accounts, check your Google account and unmark "Files".

This action will remove that horrible icon from your dock.

leader
  • 87
  • 3
  • 3
    But that would also remove the feature which allows you to access the files in your Google Drive using Nautilus (Files application), right? – pomsky Oct 25 '19 at 15:47
  • 1
    @pomsky correct. thats why this is NOT A SOLUTION for me too. – Axel Werner Oct 26 '19 at 16:21
3

I don't know if it is the right behavior, but the solution to remove internal mounted drive icons from the dock from here (How do I hide internal drive from Ubuntu Dock?) works.

If someone has a better solution, perhaps it removes the icon of the remote unit but still allows to show the internal units, it should write it here.

cialu
  • 1,024
0

You can also remove your google account from the online accounts in gnome settings. This will prevent creation of the icon in the dock.

But if you use any other Google stuff (like gmail, chrome, calendar etc.), you will not be automatically logged in when you want to use that.

Ferdi
  • 517
  • 2
  • 5
  • If I'm not mistaken you can manually allow or deny integration of your Google account to various services by Google (like this: https://www.ubuntupit.com/wp-content/uploads/2018/05/GNOME-Online-Accounts.png). So you can also allow Google account access for other stuffs (mail, contacts, calendar etc.) and deny for Drive. – pomsky Oct 22 '19 at 21:31
  • ^Another answer is posted related to my comment above. – pomsky Oct 26 '19 at 13:37