1

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?

  • Try /opt/google/chrome/google-chrome --enable-plugins – Jim Dec 14 '16 at 7:24
  • @Liso But I do not want to enable plugins. – hasanghaforian Dec 14 '16 at 7:29
  • 2
    Remove --enable-plugins option then – Jim Dec 14 '16 at 7:31
  • @Liso OK! But why $ google-chrome does not work? – hasanghaforian Dec 14 '16 at 7:38
  • 2
    Try google-chrome-stable. – DK Bose Dec 14 '16 at 11:44
2

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.

1

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.

0

It's a hijack by slimjet. In /etc/alternatives/, for each google-chrome, gnome-www-browser, and x-www-browser, change the symlink to /usr/bin/google-chrome-stable, e.g.:

sudo ln -f -s /usr/bin/google-chrome-stable /etc/alternatives/google-chrome

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.