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
。
现在重启或重启X ( sudo systemctl restart display-manager
)。