linux 终端打开chrome,我应该输入什么命令来从终端运行Chrome? |
您所在的位置:网站首页 › linux中如何用命令打开火狐浏览器 › linux 终端打开chrome,我应该输入什么命令来从终端运行Chrome? |
问题描述 我有VNC和jwm桌面访问的远程盒子。没有菜单,没有桌面图标,只有终端窗口。 我已经下载了Chrome的.deb软件包并进行了安装。 如何从终端窗口运行它? 最佳解决思路 简单地输入google-chrome对我来说很好。如果您安装了Chromium,它可能无法正常工作。 chromium-browser用于 chrome 。 对于Chrome: google-chrome 对于 chrome : chromium-browser 但是,如果它是一个远程盒子…至少通过ssh你必须使用-X连接选项才能运行窗口应用程序。像这样: ssh -X [email protected] 次佳解决思路 如果您获得安装应用程序的路径,则可以从那里运行应用程序 例如,要知道google-chrome所在的路径,请运行以下命令: whereis google-chrome 您将获得如下路径: google-chrome: /usr/bin/google-chrome /usr/bin/X11/google-chrome /usr/share/man/man1/google-chrome.1 现在,您可以通过执行两个命令来运行chrome: /usr/bin/google-chrome /usr/bin/X11/google-chrome 注意:它将应用于所有已安装的应用程序。此外,您可能无法获得路径/usr/bin/X11或者会得到不同的东西。 希望你喜欢这种方式找到路径并运行chrome 🙂 第三种解决思路 在Ubuntu 15.10中,这个命令非常有效 google-chrome www.google.com 您可以使用更多选项 google-chrome --help 第四种思路 输入打开google-chrome,然后输入exit google-chrome关闭Chrome浏览器 参考资料 |
今日新闻 |
推荐新闻 |
CopyRight 2018-2019 办公设备维修网 版权所有 豫ICP备15022753号-3 |