How can I remove Google Chrome from Unity launcher?

Tags:

Answer: 1

28 hours ago

When I first installed Ubuntu, I installed google chrome directly by a terminal by running some commands that I found in another thread, I don't remember which ones, something like apt-get I think. I then opened it again by a terminal using the command google-chrome-stable and after some time I thought I should probably lock the icon that appeared in the launcher on the left. The problem is that when I closed it and pressed it again it wouldn't open, I had to find the normal chrome icon from Dash and then when I clicked that it opened the previous icon that I had locked the first time.

Here's what happens when I click the normal chrome icon in case I confused you.

This has been happening ever since no matter if I have locked either chrome icon in the launcher or not. I tried these:

$ sudo apt-get remove google-chrome-stable
(reinstalled)
$ sudo apt-get purge google-chrome-stable
$ rm ~/.config/google-chrome/ -rf
(reinstalled)
$ sudo apt-get purge google-chrome-stable
$ sudo apt-get autoremove
(reinstalled)

but none of it worked, the problem persists. How can I make chrome open in the same icon and get rid of the other one that opens?

Edit: More context: The problem goes away right after I reinstall. If I restart my pc though the problem comes back up.

Added by: Ms. Diana Mayer MD

Answer: 2

26 hours ago

Fixed it! Here is what I did:

Check this folder using this command:

ls ~/.local/share/applications

If there are some Google stuff in it remove it. If you want to remove it altogether use:

rm ~/.local/share/applications/google*

Popular Search

A B C D E F G H I J K L M N O P Q R S T U V W X Y Z 1 2 3 4 5 6 7 8 9