xcalib错误 – 不支持的斜坡大小

我正在尝试使用命令xcalib -co 70更改xcalib的对比度,但是我收到以下错误:

 Error - unsupported ramp size 0 

这实际上是debian和其他各个地方上游报告的错误。 似乎更新版本的X导致了这一点。 用户报告了英特尔驱动程序的解决方法,它对我有用。

您需要创建一个xorg .conf文件来强制使用intel驱动程序。 创建一个文件/etc/X11/xorg.conf.d/20-intel.conf并将这些行放在那里。

 Section "Device" Identifier "Intel Graphics" Driver "intel" EndSection 

在Ubuntu 18.04及更高版本中,文件/etc/X11/xorg.conf应包含Section "Device"下的Driver "intel" Section "Device" 。 可以不同地调用Identifier

现在重启重启Xsudo systemctl restart display-manager )。