每当我上班时,我都会打字
xrandr --auto
xrandr --output VGA1 --right-of LVDS1
Run Code Online (Sandbox Code Playgroud)
这让我的第二个显示器工作,但是现在我得到了
xrandr: cannot find crtc for output VGA1
Run Code Online (Sandbox Code Playgroud)
作为参考,这里是 xrandr 的输出,
Screen 0: minimum 320 x 200, current 3286 x 1080, maximum 8192 x 8192
LVDS1 connected 1366x768+1920+0 (normal left inverted right x axis y axis) 277mm x 156mm
1366x768 60.0*+
1360x768 59.8 60.0
1024x768 60.0
800x600 60.3 56.2
640x480 59.9
VGA1 connected (normal left inverted right x axis y axis)
1680x1050 59.9 +
1600x1200 60.0
1680x945 60.0
1400x1050 74.9 60.0
1600x900 60.0
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x960 60.0
1366x768 60.0
1360x768 60.0
1280x800 74.9 59.8
1152x864 75.0
1280x768 74.9 59.9
1280x720 60.0
1024x768 75.1 70.1 60.0
1024x576 60.0
832x624 74.6
800x600 72.2 75.0 60.3 56.2
848x480 60.0
640x480 72.8 75.0 66.7 60.0
720x400 70.1
HDMI1 disconnected (normal left inverted right x axis y axis)
DP1 disconnected (normal left inverted right x axis y axis)
HDMI2 disconnected (normal left inverted right x axis y axis)
HDMI3 disconnected (normal left inverted right x axis y axis)
DP2 disconnected 1920x1080+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
DP3 disconnected (normal left inverted right x axis y axis)
1920x1080 (0x1df) 148.5MHz
h: width 1920 start 2008 end 2052 total 2200 skew 0 clock 67.5KHz
v: height 1080 start 1084 end 1089 total 1125 clock 60.0Hz
Run Code Online (Sandbox Code Playgroud)
Eva*_*oll 17
发生这种情况是因为您有另一个屏幕已经处于活动状态,在这种情况下DP2。DP2这是一个从 DisplayPort 运行的显示器。笔记本电脑是联想 x230,它是用Ultrabase 3扩展坞启动的。
您只需使用以下命令关闭屏幕即可解决此问题,
xrandr --output DP2 --off
Run Code Online (Sandbox Code Playgroud)
现在,在 XFCE 或类似的工作站中,您应该会看到桌面区域缩小。然后你可以xrandr像往常一样继续运行你的命令,
xrandr --auto
xrandr ...
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
27856 次 |
| 最近记录: |