+ -
当前位置:首页 → 问答吧 → text mode的分辨率在安装时不小心选了1280x1024,请问如何把它改为1024x768???

text mode的分辨率在安装时不小心选了1280x1024,请问如何把它改为1024x768???

时间:2005-04-26

来源:互联网

text mode的分辨率在安装时不小心选了1280x1024,请问如何把它改为1024x768???

作者: rara   发布时间: 2005-04-26

/etc/X11/下编辑xorg.config

找到关于显示器的设置地方
将默认的1280x720改成10.24×768就可以了。保存,reboot

作者: ossymbian   发布时间: 2005-04-26

引用:
作者: ossymbian
/etc/X11/下编辑xorg.config

找到关于显示器的设置地方
将默认的1280x720改成10.24×768就可以了。保存,reboot
是指‘monitor section’里面吗?但是里面没有设分辨率的啊??
# **********************************************************************
# Monitor section
# **********************************************************************

# Any number of monitor sections may be present

Section "Monitor"

Identifier "My Monitor"

# HorizSync is in kHz unless units are specified.
# HorizSync may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

HorizSync 31.5 - 79.0

# HorizSync 30-64 # multisync
# HorizSync 31.5, 35.2 # multiple fixed sync frequencies
# HorizSync 15-25, 30-50 # multiple ranges of sync frequencies

# VertRefresh is in Hz unless units are specified.
# VertRefresh may be a comma separated list of discrete values, or a
# comma separated list of ranges of values.
# NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
# USER MANUAL FOR THE CORRECT NUMBERS.

VertRefresh 50-100

EndSection
??
‘screen section’如下: **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present. Each describes
# the configuration of a single screen. A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
Identifier "Screen 1"
Device "** NVIDIA (generic) [nv]"
Monitor "My Monitor"
DefaultDepth 24

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

作者: rara   发布时间: 2005-04-26

在x里面就正常在1024x768,但是在text模式下是1280x1024?

作者: rara   发布时间: 2005-04-26

有个配置命令
不好意思给忘了
我现在还没把sl安装上去

看精华贴吧
要不上irc问rose兄和北南老大

作者: Awei   发布时间: 2005-04-26

引用:
作者: rara
在x里面就正常在1024x768,但是在text模式下是1280x1024?
这个是因为你在安装时有个选项,就是在文本模式的分辨解析是多小,最好选800×600啦。应该是可以改的,不过,这个我不清楚。还是问问斑竹或北南兄吧。

作者: ossymbian   发布时间: 2005-04-26

文本模式的分辨率可以在 /etc/lilo.conf 里面用 vga=xxx 选项指定。
引用:
# Normal VGA console
# vga = normal
# VESA framebuffer console @ 1024x768x64k
# vga=791
# VESA framebuffer console @ 1024x768x32k
# vga=790
# VESA framebuffer console @ 1024x768x256
# vga=773
# VESA framebuffer console @ 800x600x64k
# vga=788
# VESA framebuffer console @ 800x600x32k
# vga=787
# VESA framebuffer console @ 800x600x256
# vga=771
# VESA framebuffer console @ 640x480x64k
# vga=785
# VESA framebuffer console @ 640x480x32k
# vga=784
# VESA framebuffer console @ 640x480x256
# vga=769
假如你想要 1024x768,16位色,则可以用
vga=791

PS. 文本界面的分辨率设置和X无关,不需要改变xorg.conf文件。

作者: windrose   发布时间: 2005-04-26

引用:
作者: windrose
文本模式的分辨率可以在 /etc/lilo.conf 里面用 vga=xxx 选项指定。

假如你想要 1024x768,16位色,则可以用
vga=791

PS. 文本界面的分辨率设置和X无关,不需要改变xorg.conf文件。
知道了,谢谢!!
我还想问一下,vga=xxx中的几个数字各代表什么意思?

作者: rara   发布时间: 2005-04-26

791=700+90+1,读作“七百九十一”,就是这个意思

作者: windrose   发布时间: 2005-04-27

我以前不知道是选的哪个选项,启动时有一个小企鹅的。又装了系统后,发再不再有了。
是不是和这个分辩率有关呢?我心智了791后没有什么变化。

作者: fou   发布时间: 2005-04-29

引用:
作者: fou
我以前不知道是选的哪个选项,启动时有一个小企鹅的。又装了系统后,发再不再有了。
是不是和这个分辩率有关呢?我心智了791后没有什么变化。
小企鹅需要你在编译内核时选择了framebuffer的支持。

作者: windrose   发布时间: 2005-04-29

vga=794,修改此值可以修改在文本模式下的分辨率
794=>1280x1024x16
vga=788 => 800*600*16

作者: tiansm   发布时间: 2008-02-28