首页 > 其他 > 详细

Howto run google-chrome as root

时间:2016-03-08 13:13:03      阅读:222      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!