[问题]分辨率问题

CPU/显卡/打印机/USB设备等硬件问题
回复
头像
sdjkx
帖子: 30
注册时间: 2008-03-27 22:30
来自: 深圳
联系:

[问题]分辨率问题

#1

帖子 sdjkx » 2008-03-27 22:33

intel 865G集成显卡,装完ubuntu后,启动x时花屏,找到xorg.conf
发现分辨率列表中有我的显示器支持不到的分辨率,删除之,startx,可以成功
但启动后是1280 X 1024的,我是17' CRT显示器,希望使用1024 X 768,于是通过GUI改成
1024 768的,重启后发现在登录前分辨率还是1280 X 1024,登录后变成1024 x 768
请问如何将登录前的分辨率也改为1024 x 768?

Section "Device"
Identifier "Generic Video Card"
Boardname "vesa"
Busid "PCI:0:2:0"
Driver "vesa"
Screen 0
EndSection

Section "Monitor"
Identifier "SyncMaster"
Vendorname "Samsung"
Modelname "Samsung SyncMaster 753DF(X)/703DF(X)/783DF(X)/CD173A(T)"
Horizsync 30-71
Vertrefresh 50-160
modeline "1152x864@75" 108.0 1152 1216 1344 1600 864 865 868 900 +hsync
+vsync
modeline "1280x960@60" 102.1 1280 1360 1496 1712 960 961 964 994 -hsync
+vsync
modeline "1280x1024@60" 108.0 1280 1328 1440 1688 1024 1025 1028 1066 +hsync
+vsync
modeline "1400x1050@60" 122.61 1400 1488 1640 1880 1050 1051 1054 1087
-hsync +vsync
Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "SyncMaster"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1400 1050
Modes "1024x768@85" "1024x768@75" "832x624@75" "1024x768@70" "1024x768@60"
"800x600@85" "1024x768@43" "800x600@75" "1152x864@75" "800x600@72"
-hsync +vsync
Gamma 1.0
EndSection

Section "Screen"
Identifier "Default Screen"
Device "Generic Video Card"
Monitor "SyncMaster"
Defaultdepth 24
SubSection "Display"
Depth 24
Virtual 1400 1050
Modes "1024x768@85" "1024x768@75" "832x624@75" "1024x768@70" "1024x768@60"
"800x600@85" "1024x768@43" "800x600@75" "1152x864@75" "800x600@72"
"1280x960@60" "800x600@56" "1280x1024@60" "1400x1050@60"
EndSubSection
EndSection
swordfish
帖子: 125
注册时间: 2007-04-01 8:36

#2

帖子 swordfish » 2008-03-28 22:36

试试

代码: 全选

/etc/x11/xorg.conf
文件
里面有GDM启动时的分辨率。
swordfish
帖子: 125
注册时间: 2007-04-01 8:36

#3

帖子 swordfish » 2008-03-29 13:49

代码: 全选

Section "Screen" 
Identifier "Default Screen" 
Device "Generic Video Card" 
Monitor "SyncMaster" 
Defaultdepth 24 
SubSection "Display" 
  Depth 24 
  Modes "1024x768" 
EndSubSection 
EndSection
改为:

代码: 全选

Section "Screen" 
Identifier "Default Screen" 
Device "Generic Video Card" 
Monitor "SyncMaster" 
Defaultdepth 24 

代码: 全选

DefaultModes "1024x768"
[/color]

代码: 全选

 
SubSection "Display" 
  Depth 24 
  Modes "1024x768" 
EndSubSection 
EndSection
我成功了。
回复