修改Linux文本(命令行)模式的分辨率


修改Linux文本(命令行)模式的分辨率
 
我的系统文本模式下默认的分辨率是800*600,用lynx浏览网页的时候
感觉字体太大了,想把这种模式下的分辨率调整下,就google了下,发现
其实很简单。  www.2cto.com  
 
进入到/boot/grub/目录下,然后就可以看到里面有个名为menu.lst的
文件,用vim将其打开,可以看到以下内容:
  www.2cto.com  
# grub.conf generated by anaconda
#
# Note that you do not have to rerun grub after making changes to this file
# NOTICE: You have a /boot partition. This means that
# all kernel and initrd paths are relative to /boot/, eg.
# root (hd0,0)
# kernel /vmlinuz-version ro root=/dev/hda2
# initrd /initrd-version.img
#boot=/dev/hda
default=0
timeout=5
gfxmenu (hd0,0)/message
title RedFlag (2.6.22.6-1)
root (hd0,0)
kernel /vmlinuz-2.6.22.6-1 ro root=LABEL=/ vga=788 splash=silent
initrd /initrd-2.6.22.6-1.img
 
其中这个vga=788就是控制你的分辨率与色彩模式的,你可以把它改成你的显示器支持的你喜欢的任意模式。数字对应的含义如下:
 
 
改变数值后保存,然后重启次,再进来时在想要的分辨率下工作是不是舒服多了呢~~~
 

相关内容

    暂无相关文章