使用命令行开关启动Chromium无效

d512

我在macOS 10.15.3上运行Chromium 85。

我正在尝试使用Chromium提供的各种命令行开关中的一些,但它们似乎都没有任何作用。例如

./Chromium --ignore-gpu-blacklist

启动时,我转到chrome://flags页面,该设置尚未启用:

在此处输入图片说明

我已经在多个版本的Chromium以及Windows上尝试了相同的结果。我似乎无法启用其中任何一个。

我确实在此页面上注意到它说

Note that if you look at chrome://flags to see if the command line option is active, the state might not be accurately reflected. Check chrome://version for the complete command line used in the current instance.

So maybe it is working and there's just no way to verify that? Checking the chrome://version page is not really sufficient to tell if a feature was successfully enabled. It's just echoing back what you passed into the command line.

Laurenz

As you noted, chrome://flags does not reflect the actual state. It only shows the flags that were enabled via that page. If you supply additional flags the page does not show them enabled, but they can still have an effect.

Try with

./Chromium --show-overdraw-feedback

and check the flags page. It will not show as enabled, but you can clearly see all the overlays everywhere.

So you can assume your original

./Chromium --ignore-gpu-blacklist

可能是正确的并且可行。

本文收集自互联网,转载请注明来源。

如有侵权,请联系 [email protected] 删除。

编辑于
0

我来说两句

0 条评论
登录 后参与评论

相关文章

使用命令行开关在Mac上启动Google Chrome

使用命令行开关/启动参数在Chrome中打印图像

使用命令行开关启动Chrome,而无需创建快捷方式

惊喜!外壳建议使用命令行开关

使用代理使用命令行启动Firefox

在启动时使用命令行?

使用命令行开关进行Bash通配符扩展

如何使用“开始”命令在Windows“ cmd”上使用命令行参数启动程序?

GIMP使用命令行

使用命令行断开VPN

Jade Agent使用命令行

使用命令行获取文件

如何在Linux上使用命令行从可启动ISO创建可启动USB?

如何使用命令行从可启动DVD制作可启动ISO?

使用命令行工具发送命令以在iOS设备中启动应用

使用命令行参数使用Selenium WebDriver启动Electron应用程序

使用命令行安全地重新启动/关闭

使用命令行在Virtualbox上启动Ubuntu虚拟来宾

如何使用命令行启动的Spring Boot自动重定向到https

如何使用命令行启动特定的Spring Batch作业

修改exe以使用命令行参数启动而不创建快捷方式

启动后,使用命令行重定向进程的STDERR / STDOUT?

IntelliJ:无法使用命令行启动Java应用程序

使用命令行参数启动.jar文件(但没有控制台窗口)

使用命令行参数启动时,Azure ACI 容器部署失败

使用命令行启动avd之后更改Android模拟器http代理

如何使用命令行编译和启动 Java undertow HTTP 服务器

如何使用命令行中已经输入的某些文本启动终端?

用命令行启动DropWizard服务器:我只想使用Maven jar插件