Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have remote box accessed by VNC and jwm desktop. No menus, not desktop icons, only a terminal window.

I have downloaded Chrome's .deb package and installed it. Now how can I run it from the terminal window?

share|improve this question
4  
You might be interested in this generalised question: How can I know which commands were installed with a package? –  Flimm Dec 31 '12 at 16:00

2 Answers 2

Well simply typing "google-chrome" works fine for me. It might not work if you installed Chromium. "chromium-browser" is for Chromium.

  • For Chrome:

    google-chrome

  • For Chromium:

    chromium-browser

However if it's a remote box... At least via ssh you must use -X when option connecting to be able to run windowed apps. Like this:

ssh -X username@server.lt

share|improve this answer

If you get the path where the application is installed then you can run the application from there

For example to know the path where google-chrome is located run this command:

whereis google-chrome

You will get the path like:

google-chrome: /usr/bin/google-chrome /usr/bin/X11/google-chrome /usr/share/man/man1/google-chrome.1

Now you can run chrome by either executing two commands:

/usr/bin/google-chrome
/usr/bin/X11/google-chrome

Note: it will be applied for all installed applications. Also, It would be possible that you would not get the path /usr/bin/X11 or would get something different.

Hope you like this way to find the path and run chrome :)

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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