Debian Google Chrome
来源:互联网 发布:小白菜软件 编辑:程序博客网 时间:2024/06/15 08:07
deb http://dl.google.com/linux/deb/ stable main
wget -q -O - https://dl-ssl.google.com/linux/linux_signing_key.pub | sudo apt-key add -
apt-get update
apt-get install google-chrome-stable
Google Chrome can not be run as root
mkdir /home/chrome
chmod 777 /home/chrome
vi /usr/share/applications/google-chrome.desktop
[Desktop Entry]
Exec=/opt/google/chrome/google-chrome %U --user-data-dir=/home/chrome
Applications Menu - Settings - Preferred Applications, select google-chrome
vi ~/.local/share/xfce4/helpers/custom-WebBrowser.desktop
X-XFCE-Commands=/opt/google/chrome/google-chrome --user-data-dir=/home/chrome
Google Chrome isn't your default browser. Don't ask again.
I saw in my programs properties they have a "%u" in the end of the command, what does this do?
e.g. My Chrome have the command: /opt/google/chrome/google-chrome %U for what this %u is used here?
When you associate a file with a command, you can call this command with several arguments. %u simply means that the file name should go there. It is useful so you can put arguments after the filename. There are several other flags you can use.
http://superuser.com/questions/138433/what-is-the-u-command-in-all-my-programs-command
- Debian Google Chrome
- 在Ubuntu/Debian中安装 Google Chrome浏览器
- debian 下给谷歌浏览器 google-chrome 添加flash plugin
- Debian 8下google-chrome的adobe flash player out of date问题
- Debian 安装 chrome
- Debian 安装 chrome
- debian安装chrome出错
- Debian/Ubuntu 安装chrome
- Google Chrome
- Google Chrome
- Google Chrome
- Google Chrome
- Debian安装Chrome和Chromium
- [Chrome] Google Chrome 浏览器快捷键
- Google Chrome 新鲜试用
- google chrome 技术手册
- Google Chrome 初试手记
- Google chrome 中文版下载
- javascript关键字及未来关键字
- 判断年份是否是闰年
- JQuery文件引入MyEclipse 9.0时出现的问题解决
- ubuntu 解决 “E: Problem with MergeList /var/lib/apt/lists/”错误
- JSON 中文
- Debian Google Chrome
- C++: Sqlite3几种数据插入方式比较
- shell运算符
- android EditText控件如何禁止往里面输入内容?
- java 内存
- 可以让myeclipse后台代码修改后不必重新部署的方法(注:不包括配置文件的修改)
- Mac OS修改Hosts 文件的简便方法
- Linux工具大全_binutils
- Hadoop安全管理-java安全介绍