红联Linux门户
Linux帮助

在FC6 Linux中配置宽屏的LCD

发布时间:2006-12-04 09:28:49来源:红联作者:flycocoon
编辑一下/etc/X11/xorg.conf里的Section "Screen"。下面是我的,我很懒,就只设了一种:
引用:
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
DefaultDepth 24 (这里就是默认的模式,也就是我设的最下面一种)
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" (我只在这儿设了,其它的都没设,懒得很,不过我就用这种。)
EndSubSection
EndSection


注意一下,象我这样操作,不然把这个文件弄坏了。到时X起不起麻烦。
就用普通身份先弄出来:
cat /etc/X11/xorg.conf > ~/xorg.conf
现在你可以改了。把你要的分辩加进去,或进直接改。如"1024x768"改成“1280X800”保成好。
然后root身份备份:
cd /etc/X11/
mv xorg.conf xorg.conf.bak
然后把刚才哪个改了的弄过来:
mv ~/xong.conf /etc/X11/
记得修改下用户和权限。
chown root.root xorg.conf
chmod 644 xorg.conf
好了重启,设置下你用户用这个模式。看能行不。如果起不到X。就在命令模式把备份的还原过去,root身份执行
cd /etc/X11
mv xorg.conf.bak xorg.conf
然后只有另想办法。
文章评论

共有 2 条评论

  1. hwphoenix 于 2006-12-09 14:50:28发表:

    没有用啊!!!!我已经按照所述的弄了好几遍了啊!还是不行啊!!!:0(1

  2. XLooking 于 2006-12-04 10:32:57发表:

    看看,正用得着呢。