解决办法如下:
终端下运行:gedit /usr/share/applications/google-chrome.desktop
找到 Exec 一行,将其值改为 /opt/google/chrome/google-chrome–user-data-dir=”/root/.config/google-chrome”
或者找到启动文件:/opt/google/chrome/google-chrome
编辑该文件,修改最后一行:
exec -a "$0" "$HERE/chrome""$@"
to,修改成下面这句:
exec -a "$0" "$HERE/chrome" "$@" --user-data-dir $HOME
OK!