调整Linux操作系统屏幕分辨率

在命令行下运行: gtf 1024 768 60
 
  我的笔记本的刷新率是60Hz.
 
  [root@localhost ~]# gtf 1024 768 60
 
  # 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
 
  Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
 
  [root@localhost ~]#
 
  在 /etc/X11中的 xorg.conf 文件中修改 Section "Monitor" 为
 
  Section "Monitor"
 
  Identifier "Monitor0"
 
  VendorName "Monitor Vendor"
 
  ModelName "Unknown monitor"
 
  #HorizSync 31.5 - 37.9 [注释掉该行]
 
  #VertRefresh 50.0 - 70.0 [注释掉该行]
 
  Option "dpms"
 
  # 1024x768 @ 60.00 Hz (GTF) hsync: 47.70 kHz; pclk: 64.11 MHz
 
  Modeline "1024x768_60.00" 64.11 1024 1080 1184 1344 768 769 772 795 -HSync +Vsync
 
  EndSection
 
  并修改 Section "Screen" 为
 
  Section "Screen"
 
  Identifier "Screen0"
 
  Device "Videocard0"
 
  Monitor "Monitor0"
 
  DefaultDepth 24
 
  SubSection "Display"
 
  Viewport 0 0
 
  Depth 24
 
  Modes "1024x768" "800x600" "640x480"
 
  EndSubSection
 
  EndSection
 

你可能感兴趣的:(linux,操作系统,分辨率,休闲,linux知识)