rhel6修改Desktop分辨率

简介:

请先安装显卡驱动

# vi /etc/X11/xorg.conf

     ##Add the following codes:

Section "Monitor"
   Identifier "Monitor0"
   VendorName "Monitor Vendor"
   ModelName "Monitor Model"
   HorizSync 28.0 - 70.0
   VertRefresh 56.0 - 75.0
EndSection

Section "Device"
   Identifier "Card0"
   Driver  "vesa"
EndSection

Section "Screen"
   Identifier "Screen0"
   Device  "Card0"
   Monitor  "Monitor0"
  SubSection "Display"
      Viewport 0 0
      Depth  24
Modes  "1280x1024" "1024x768" "800x600"
  EndSubSection
EndSection

Then,Reboot the computer.




1. 执行 gtf 1440 900 60 -x

# 1440x900 @ 60.00 Hz (GTF) hsync: 55.92 kHz; pclk: 106.47 MHz
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync

2. 将 Modeline 那一行,复制到 /etc/X11/xorg.conf 文件中的 "Monitor" 段:
Section "Monitor"
Identifier "Monitor0"
ModelName "LCD Panel 1440x900"
HorizSync 31.5 - 56.0
VertRefresh 56.0 - 65.0
Option "dpms" "false"
Option "IgnoreEDID" "true"
Modeline "1440x900_60.00" 106.47 1440 1520 1672 1904 900 901 904 932 -HSync +Vsync
EndSection

3. 更改 /etc/X11/xorg.conf 的 “Screen" 段,关键是:Modes "1440x900_60.00" 这一段要和上面的 Modelline 后的那个名字一样。
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 16
Modes   "1440x900_60.00"
Virtual 1440 900
EndSubSection
EndSection

4. 重启Xwindow.












本文转自babylater51CTO博客,原文链接:http://blog.51cto.com/babylater/1391649 ,如需转载请自行联系原作者



相关文章
Ubuntu18.04设置系统默认音频设备:使用pavucontrol命令
Ubuntu18.04设置系统默认音频设备:使用pavucontrol命令
1832 0
Ubuntu18.04设置系统默认音频设备:使用pavucontrol命令
|
9月前
|
编解码 Ubuntu 虚拟化
ubuntu无法粘贴复制windows中的内容,分辨率无法自适应电脑自带系统
ubuntu无法粘贴复制windows中的内容,分辨率无法自适应电脑自带系统
|
编解码 Linux 虚拟化
无图形界面centos7修改字体大小和分辨率
无图形界面centos7修改字体大小和分辨率
|
Ubuntu
Ubuntu18.04使用Xorg创建虚拟屏幕
Ubuntu18.04使用Xorg创建虚拟屏幕
1014 0
|
编解码 Linux
解决方法:Linux装完显卡驱动后分辨率显示不正常
解决方法:Linux装完显卡驱动后分辨率显示不正常
211 0
|
编解码 Ubuntu Linux
linux实用技巧:获取当前系统显示分辨率"xrandr --current"
linux实用技巧:获取当前系统显示分辨率"xrandr --current"
linux实用技巧:获取当前系统显示分辨率"xrandr --current"