码迷,mamicode.com
首页 > 其他好文 > 详细

Howto run google-chrome as root

时间:2016-03-08 13:13:59      阅读:128      评论:0      收藏:0      [点我收藏+]

标签:

Just want to add a permanent solution to the problem:

1. Open google-chrome located in /usr/bin with ‘gedit‘, ‘kate‘ or your favorite text editor.

Code:
gedit /usr/bin chromium-browser

2. Add "--user-data-dir" (without the quotes) at the very end of the file. Mine looks like this:


exec -a "$0" "$HERE/chrome" "$@" --user-data-dir

3. Save, close and voilà, you‘re done. Enjoy your favorite browser.

Howto run google-chrome as root

标签:

原文地址:http://www.cnblogs.com/fuleying/p/5253503.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!