- 论坛徽章:
- 0
|
@font-face{
font-family:"Times New Roman";
}
@font-face{
font-family:"宋体";
}
@font-face{
font-family:"Symbol";
}
@font-face{
font-family:"Arial";
}
@font-face{
font-family:"黑体";
}
@font-face{
font-family:"Courier New";
}
@font-face{
font-family:"Wingdings";
}
@font-face{
font-family:"Courier New CYR";
}
p.0{
margin:0pt;
margin-bottom:0.0001pt;
layout-grid-mode:char; text-align:justify;
font-size:10.5000pt; font-family:'Times New Roman'; }
div.Section0{
margin-top:72.0000pt;
margin-bottom:72.0000pt;
margin-left:90.0000pt;
margin-right:90.0000pt;
size:595.3000pt 841.9000pt;
}
03-08-2009 Sunday sunny
在fedora10 下对xorg.conf的配置
我的电脑是神舟天运Q1600.芯片组是sis的,显卡也是sis,因此兼容性很是不好,搞得我费了不少的周折。现在将我对x图形化配置做一简要描述。
1.在fedora10下没有自动生成xorg.conf文档,在终端下用root用户运行命令X -configure,在/root下便有xorg.conf.new 文档,直接以xorg.conf存储在/etc/X11/下。
2.对显示器行频(水平分辨率)和场频(垂直分辨率)的设置
在xorg.conf中有类似一段:
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "206STUDIO"
HorizSync 30.0 - 70.0
VertRefresh 50.0 - 160.0
EndSection
其中HorizSync,VertRefresh分别是显示器行频(水平分辨率)和场频(垂直分辨率)的设置
应该根据显示器的性能进行设置,他们的值决定了显示分辨率和刷新频率可能取值的范围。
这一步重要,我刚开始就很是郁闷,当我装好system-config-display,然后运行时,始终没有办法调整分辨率,最终是通过修改这个才能够最终修改成功的。要不然我现在还不得不在启动时就加入参数vga=9 xserver=vesa resolution=1280*800,很是麻烦。
接着是对首先和可选分辨率的设置
在xorg.conf中有类似一段:
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480" "1280x1024"
EndSubSection
EndSection
行 :
Modes "1024x768" "800x600" "640x480"
设置了三种可选的分辨率,排在最前面的就是首选的分辨率,也就是一般生效的分辨率。
X启动时如果首选的分辨率无效,比如过高,会依次尝试后面的分辨率。
这个例子中,最高的分辨率,排在最后,并不是首选的。
本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/60749/showart_1855317.html |
|