我如何在 Wayland 上更改伽马

Mit*_*sch 5 configuration wayland gamma

在 X 上,我可以通过调整 xorg.conf 文件来更改 Gamma,并将具有正确值的“Gamma”行添加到“Monitor Section”。我如何在wayland上做到这一点?[编辑]或者:在 Wayland 中执行此操作的工具的名称是什么,如何使该配置持久化?·[/编辑]

Bra*_*ram 0

尝试ddcutil设置一下。

$ sudo su
# apt install ddcutil
# ddcutil getvcp color
Run Code Online (Sandbox Code Playgroud)

当我运行这个时,我得到了 Gamma 的控制:

VCP code 0x72 (Gamma                         ): 0x0000 - Mode: White absolute adjustment (sl=0x00), gamma=1.00 (sh=0x00)
Run Code Online (Sandbox Code Playgroud)

但我认为每个显示器都是不同的。我的 Dell 24" 似乎不允许更改该条目,但它确实允许我设置亮度,例如,ddcutil setvcp ...

因此,您的里程可能会有所不同,但值得一试。

另外,我还没有弄清楚伽玛是你为显示器设置的,还是为显卡设置的?如果您使用的是 nvidia,您也可以尝试该nvidia-settting工具。