Howto run google-chrome as root

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.

posted on 2016-03-08 11:59  fuleying  阅读(228)  评论(0编辑  收藏  举报