@ZeroGeek
2015-12-09T11:18:09.000000Z
字数 949
阅读 2004
linux
参考 :https://wiki.archlinux.org/index.php/Xrandr_(%E7%AE%80%E4%BD%93%E4%B8%AD%E6%96%87)
zero@zero-dh:~$ xrandr
Screen 0: minimum 8 x 8, current 1920 x 1080, maximum 32767 x 32767
VGA1 connected primary 1920x1080+0+0 (normal left inverted right x axis y axis) 509mm x 286mm
1920x1080 60.0*+
1680x1050 60.0
1280x1024 75.0 60.0
1440x900 75.0 59.9
1280x720 60.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 72.8 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)
VIRTUAL1 disconnected (normal left inverted right x axis y axis)
DVI-1-0 connected
1280x1024 60.0 + 75.0
1152x864 75.0
1024x768 75.1 60.0
800x600 75.0 60.3
640x480 75.0 60.0
720x400 70.1
注意每个设备标识,所有操作都要依据自己电脑上设备的标识,这里以上面为例。
xrandr --addmode DVI-1-0 1280x1024
xrandr --output DVI-1-0 --right-of VGA1 --auto
xrandr --output DVI-1-0 --off
xrandr -s 0