What command should I type to run Chrome from the terminal?
I have remote box accessed by
No menus, not desktop icons, only a terminal window.
I have downloaded Chrome's .deb package and installed it.
How can I run it from the terminal window?
You might be interested in this generalised question: How can I know which commands were installed with a package?
Well simply typing
google-chromeworks fine for me. It might not work if you installed Chromium.
chromium-browseris for Chromium.
However if it's a remote box... At least via ssh you must use
-Xwhen option connecting to be able to run windowed apps. Like this:
ssh -X [email protected]
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-chromeis located run this command:
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:
Note: it will be applied for all installed applications. Also, It would be possible that you would not get the path
/usr/bin/X11or would get something different.
Hope you like this way to find the path and run chrome :)