使用命令xrandr设置当前系统的显示分辨率及显示的旋转脚本
#!/bin/bashecho "try to set 800x600" xrandr -s 8sleep 10echo "try to set 1680x1050"xrandr -s 2sleep 10echo "try to set 1440x900"xrandr -s 4sleep 10 echo "try to set 1280x1024"xrandr -s 3sleep 10echo