I recently installed Chrome on Ubuntu, and I can run Chrome via google-chrome on the command line.

However, how can I put a Chrome icon on my dock?


Search for Chrome in the menu and drag it to the dock.

Doing this, you don't need the command line at all.

  • I don't see it in the search anymore on Ubuntu 20.10. – Raffi Khatchadourian Dec 5 '20 at 14:51

Right click on the icon in the dock while it's running and select lock/add to favorites.

enter image description here

  • I wanted to do this, I started Chrome, but it didn't appear on the left band at all. Agmenor's method worked. – Pavel V. Oct 20 '14 at 14:22
  1. Create a desktop file (e.g. chrome.desktop) on your Desktop and insert the following content into that file:

    #!/usr/bin/env xdg-open
    [Desktop Entry]
    Name=Google Chrome
  2. Make it executable by running this command:

    chmod +x ~/Desktop/chrome.desktop
  3. Add it to the launcher:

    cp ~/Desktop/chrome.desktop ~/.local/share/applications/
  • This works to launch from the desktop, but does not work from the launcher. – Chaim Eliyah May 12 '19 at 8:21

open Chrome-> right click on chrome icon from dock -> "Add to favorites". Refer to this Image if you're using ubuntu 17.10IMAGE

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.