我尝试使用xrandr
1680x1050设置为VGA输出的新模式,但是它说:
sudo xrandr --addmode VGA-0 1680
X Error of failed request: BadMatch (invalid parameter attributes)
Major opcode of failed request: 140 (RANDR)
Minor opcode of failed request: 18 (RRAddOutputMode)
Serial number of failed request: 35
Current serial number in output stream: 36
VGA-0
。如果收到消息xrandr: cannot find output "VGA-0"
,请尝试运行以下命令:(xrandr | grep -e " connected [^(]" | sed -e "s/\([A-Z0-9]\+\) connected.*/\1/"
来源:ArchWiki上的xrandr)。该命令的输出应该是正确的设备标识符。