我正在尝试使用实用程序和转换选项对显示器进行梯形校正xrandr
。我使用的命令是
xrandr --output LVDS1 --fb 1366x768 --transform 1.171527,0.152543,-117.152659,0.000000,1.171527,0.000000,0.000000,0.000223,1.000000
基本上,我试图减少100
左上角和右上角的像素。我得到的输出仅包含线条。问题出在哪里?
答案1
我刚刚在笔记本电脑上尝试过。我收到了一些警告:
$ xrandr --output LVDS1 --fb 1366x768 --transform 1.171527,0.152543,-117.152659,0.000000,1.171527,0.000000,0.000000,0.000223,1.000000
xrandr: specified screen 1366x768 not large enough for output LVDS1 (1602x773+-118+0)
xrandr: specified screen 1366x768 not large enough for output VGA1 (1440x900+1366+0)
嗯,看来帧缓冲区应该足够大,可以容纳警告中提到的大小。所以这应该可行:
xrandr --output LVDS1 --fb 1602x773 --transform 1.171527,0.152543,-117.152659,0.000000,1.171527,0.000000,0.000000,0.000223,1.000000
对我来说,正如您所注意到的,我正在使用双显示器,我确实需要一个帧缓冲区来容纳两者。
xrandr --output LVDS1 --fb 3042x900 --transform 1.171527,0.152543,-117.152659,0.000000,1.171527,0.000000,0.000000,0.000223,1.000000 --output VGA1 --auto --right-of LVDS1
笔记:鼠标指针未显示在变换后的显示器上,但我可以注意到它在小部件上移动时的突出显示。
Dell Latitude E6430、英特尔第三代酷睿处理器图形控制器 (i915)、Ubuntu 15.10、KDE