Why "google-chrome" does not run chrome?

7,504

Solution 1

The command to start Google Chrome is /usr/bin/google-chrome-stable, or just google-chrome-stable if /usr/bin is in the PATH as it should. In general, to see what is the command to run a graphical application, use Nautilus to navigate to /usr/share/applications and examine the properties of the launcher, or, in a terminal, look for the line Exec= in the .desktop file.

Solution 2

It's a mess the installer of slimjet, a chromium-based browser (looks pretty much identical, that's probably what you're running sometimes), does in your system, replacing the actual chrome's symlink.

Share:
7,504

Related videos on Youtube

hasanghaforian
Author by

hasanghaforian

Updated on September 18, 2022

Comments

  • hasanghaforian
    hasanghaforian over 1 year

    I try to open Google Chrome by running this command, but the result is strange:

    $ google-chrome
    Please launch slimjet via the wrapper script: flashpeak-slimjet
    

    Why above command does not open Google Chrome and also what is the meaning of above result?

    Edit:

    Here is the result of which command:

    $ which google-chrome
    /usr/bin/google-chrome
    

    Also, /opt/google/chrome/google-chrome and google-chrome-stable both open Google Chrome. But again, my questions are why google-chrome does not?and why flashpeak-slimjet is proposed?

    • Liso
      Liso over 7 years
      Try /opt/google/chrome/google-chrome --enable-plugins
    • hasanghaforian
      hasanghaforian over 7 years
      @Liso But I do not want to enable plugins.
    • Liso
      Liso over 7 years
      Remove --enable-plugins option then
    • hasanghaforian
      hasanghaforian over 7 years
      @Liso OK! But why $ google-chrome does not work?
    • Parto
      Parto over 7 years
      Run this command and post the answer: which google-chrome
    • DK Bose
      DK Bose over 7 years
      Try google-chrome-stable.
    • hasanghaforian
      hasanghaforian over 7 years
      @Parto I added result of which command to question, please see it.