1, 不知是Cable线问题, 还是显示器问题,无法调整到合适的分辨率, 只能修改配置文件了。
网上有使用cvt, xrandr方案修改分辨率, 但重启后又恢复到原来的小分辨率了。
结合Archlinux上的方案,整理如下:
将如下内容保存到文件, 命名为10-monitor.conf,
并放到/usr/share/X11/xorg.conf.d目录下, 重启即可。
其中Modeline一行是用cvt命令生成的, 分辨率可以设为当按硬件显示器件按钮调节时的建议值
(Xorg, Xserver为基本的显示框架,而lightdm为显示管理,大约有android的server/manager之意)
(可查询,man Xorg, man xorg.conf)
# Resolution above showed is the suggestion
# when you adjust display monitor using button.
# xrandr --newmode, --addmode is not permanently sadly,
# so add this file.
# JUST REPLACE the Modeline
Section "Monitor"
Identifier "Monitor0"
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
EndSection
Section "Device"
Identifier "Device0"
Driver "vesa" #Choose the driver used for this monitor
EndSection
Section "Screen"
Identifier "Screen0" #Collapse Monitor and Device section to Screen section
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24 #Choose the depth (16||24)
SubSection "Display"
Depth 24
#Modes "1680x1050_60.00" #Choose the resolution
EndSubSection
EndSection
网上有使用cvt, xrandr方案修改分辨率, 但重启后又恢复到原来的小分辨率了。
结合Archlinux上的方案,整理如下:
将如下内容保存到文件, 命名为10-monitor.conf,
并放到/usr/share/X11/xorg.conf.d目录下, 重启即可。
其中Modeline一行是用cvt命令生成的, 分辨率可以设为当按硬件显示器件按钮调节时的建议值
(Xorg, Xserver为基本的显示框架,而lightdm为显示管理,大约有android的server/manager之意)
(可查询,man Xorg, man xorg.conf)
# Resolution above showed is the suggestion
# when you adjust display monitor using button.
# xrandr --newmode, --addmode is not permanently sadly,
# so add this file.
# JUST REPLACE the Modeline
Section "Monitor"
Identifier "Monitor0"
Modeline "1680x1050_60.00" 146.25 1680 1784 1960 2240 1050 1053 1059 1089 -hsync +vsync
EndSection
Section "Device"
Identifier "Device0"
Driver "vesa" #Choose the driver used for this monitor
EndSection
Section "Screen"
Identifier "Screen0" #Collapse Monitor and Device section to Screen section
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24 #Choose the depth (16||24)
SubSection "Display"
Depth 24
#Modes "1680x1050_60.00" #Choose the resolution
EndSubSection
EndSection
2, 使用KDE桌面环境时分辨率出现了问题, 尝试使用cvt/xrandr更换分辨率出现如下错误:
X Error of failed request: BadMatch (invalid parameter attributes)
...
修正方法: 打开Kickoff ->Computer -> System Settings -> Driver Manager显卡driver管理,
可能是NVIDIA驱动有问题,而且还是比较老的显卡,所以切换成X.org的nouveau驱动,点击OK,重启,发现可以了.
(注: 上面的文件还是需要的)