LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 981|回复: 9

请问如何实现全屏分辨率720x576,各位帮忙啊,先谢了!

[复制链接]
发表于 2005-3-3 19:00:53 | 显示全部楼层 |阅读模式
请问如何实现全屏分辨率720x576,在win下可以,还有800x600分辨率只能上到85hz,可是原本能上到100hz,请问怎么弄?
发表于 2005-3-3 19:04:41 | 显示全部楼层
# gedit /etc/X11/xorg.conf
在相应位置添加新的参数
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-3 19:11:07 | 显示全部楼层
我的系统是红旗linux4.1,/etc/X11/里没有这个文件
回复 支持 反对

使用道具 举报

发表于 2005-3-3 19:16:18 | 显示全部楼层
在/etc/X11/xorg.conf  (假定你用xorg-x11)
找Screen section,比如我的:
Section "Screen"
    Identifier  "Screen 1"
    Device      "mx400"
    Monitor     "107T"
    DefaultDepth 24

    Subsection "Display"
        Depth       8
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        ViewPort    0 0
    EndSubsection
EndSection

在其中一个子段(Subsection),可以用Virtual关键字指定虚拟分辨率,如下:
  Subsection "Display"
        Depth       24
        Modes       "1024x768" "800x600" "640x480"
        Virtual       720 576   //一般设大点吧,比如2000x1600 ;你这个不知道行否
        ViewPort    0 0
    EndSubsection


注意:记得配置Xorg的时候(用xorgconfig命令)其中有问是否启用virtual desktop,必须选“是”
回复 支持 反对

使用道具 举报

发表于 2005-3-3 19:17:10 | 显示全部楼层
在下重复了,呵呵
回复 支持 反对

使用道具 举报

发表于 2005-3-3 19:17:13 | 显示全部楼层
Post by superman
我的系统是红旗linux4.1,/etc/X11/里没有这个文件

那么应该是XF86Config-4 吧,配置方式差不多
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-3 19:29:22 | 显示全部楼层
有个XF86Config-4.save文件:# XFree86 4.0 configuration generated by Xconfigurator

Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Mouse1" "SendCoreEvents"
#        InputDevice    "Mouse2" "SendCoreEvents"
#        InputDevice    "Mouse3" "SendCoreEvents"
        InputDevice    "Keyboard0" "CoreKeyboard"
        InputDevice    "HWTablet" "SendCoreEvents"
EndSection

# By default, Red Flag Linux 2.0 and later use fonts paths
Section "ServerFlags"
        Option        "AllowMouseOpenFail" "yes"
EndSection

Section "Files"
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc"
        FontPath     "/usr/X11R6/lib/X11/fonts/TrueType"
        FontPath     "unix/:7100"
EndSection

# This loads all the modules...


Section "Module"
        Load  "dbe"
        Load  "xtt"
        Load  "extmod"
        Load  "record"
        Load  "v4l"
        Load  "type1"
        Load  "dri"
        Load  "glx"
EndSection

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbLayout"        "us"
EndSection

Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "Device" "/dev/mouse"
        Option      "Emulate3Buttons" "on"
        Option      "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
        Identifier  "Mouse1"
        Driver      "mouse"
        Option      "Device" "/dev/input/mice"
        Option      "rotocol" "IMPS/2"
        Option      "Emulate3Buttons" "on"
        Option      "ZAxisMapping" "4 5"
EndSection

#Section "InputDevice"
#        Identifier  "Mouse2"
#        Driver      "mouse"
#        Option      "Device" "/dev/ttyS0"
#        Option      "Emulate3Buttons" "on"
#        Option      "ZAxisMapping" "4 5"
#EndSection

#Section "InputDevice"
#        Identifier  "Mouse3"
#        Driver      "mouse"
#        Option      "Device" "/dev/ttyS1"
#        Option      "Emulate3Buttons" "on"
#        Option      "ZAxisMapping" "4 5"
#EndSection

Section "InputDevice"
        Identifier      "HWTablet"
        Driver          "HWUSBTablet"
        Option  "Device"        "/dev/input/hwmice"
        Option  "AlwaysCore"    "on"
        Option  "screenno"      "0"
        Option  "MinimumXPosition"      "1792"
        Option  "MaximumXPosition"      "8192"
        Option  "MinimumYPosition"      "1792"
        Option  "MaximumYPosition"      "8192"
        Option  "UntouchDelay"  "1"
        Option  "ReportDelay"   "1"
EndSection

Section "Monitor"
        Identifier "My Monitor"
        VendorName "Unknown"
        ModelName  "Unknown"
        HorizSync 31.5 - 50
        VertRefresh 50-70
EndSection

Section "Device"
        Identifier "My Card"
        Driver "vesa"
        BoardName "Unknown"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "My Card"
        Monitor "My Monitor"
        DefaultDepth 8
        Subsection "Display"
                Depth 8
                Modes "800x600"
        EndSubSection
EndSection

Section "DRI"
EndSection
回复 支持 反对

使用道具 举报

发表于 2005-3-3 19:31:48 | 显示全部楼层
把 XF86Config-4.save 改为 XF86Config-4 以后再修改保存。
然后startx试试看

记不真确了,不好意思~
回复 支持 反对

使用道具 举报

发表于 2005-3-3 19:32:04 | 显示全部楼层
不是这个,应该有类似下面的:
1024*768   800*600   640*480  
   ..........



又发在后面了,我是说不是楼主的那个,呵呵
回复 支持 反对

使用道具 举报

 楼主| 发表于 2005-3-3 20:23:57 | 显示全部楼层
加了一条指令 Virtual "720x576",重启后进入不了X-WINDOWS,幸亏红旗linux4.1有类似WINDOWS安全模式的东东,恢复了默认,可是现在却不能使用虚拟桌面,而且也不能更改分辨率
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表