1. Open google-chrome located in /usr/bin with 'gedit', 'kate' or your favorite text editor.
Code:
gedit /usr/bin google-chrome
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.
---------------------------------------------------------------------------------------------
老外不建議使用root根用戶來使用瀏覽器,我想是出於安全的考慮吧。不過自己的計算機,鼓搗鼓搗玩玩應該沒問題。如果是服務器之類的,還是安全第一。