[Exchange and share] chrome浏览器每次打开都有警告 Resolved
Tofloor
poster avatar
steerer
deepin
2022-11-22 01:53
Author

deepin23在玲珑下载chrome后,每次打开出现警告:你使用的是不受支持的命令行--no-sandbox
image.png

有什么办法可以消除警告呢?

Reply Favorite View the author
All Replies
steerer
deepin
2022-11-22 02:14
#1

当然要是还能消除这个无法更新的警告就更好了,不想每次打开都点掉两个警告。
image.png

Reply View the author
g5rz90
deepin
2022-11-22 03:41
#2

是从玲珑商店安装的吗?我记得玲珑商店安装的是这个样子的,要么就是deb版本。有点忘记了。去下载bate版本。啥问题也没有。

Reply View the author
hotime
deepin
2022-11-22 03:53
#3

如果你使用玲珑安装的Chrome浏览器,那就跳转到以下目录,编辑google-chrome.desktop文件,删除其中的--no-sandbox参数。

cd persistent/linglong/entries/share/applications
sudo vim google-chrome.desktop

Exec所在行中,删除参数“ --no-sandbox”

另外,如果你要屏蔽“chrome版本过旧的提示”,可以增加参数“ --disable-background-networking”。

也就是由:
Exec=ll-cli run cn.google.chrome --exec "/opt/apps/cn.google.chrome/files/google-chrome --no-sandbox" %U
变成:
Exec=ll-cli run cn.google.chrome --exec "/opt/apps/cn.google.chrome/files/google-chrome --disable-background-networking" %U

Reply View the author