修改Linux終端界面分辨率的方法
大步's Blog 發(fā)布時間:2015-07-16 16:35:57 作者:佚名
我要評論

這篇文章主要介紹了修改Linux終端界面分辨率的方法,雖然一片黑的界面沒有任何觀賞性...但分辨率適配屏幕以后起碼可以看起來舒服些....需要的朋友可以參考下
我的系統文本模式下默認的分辨率是800*600,用lynx瀏覽網頁的時候感覺字體太大了,想把這種模式下的分辨率調整下,就google了下,發(fā)現其實很簡單。
進入到/boot/grub/目錄下,然后就可以看到里面有個名為menu.lst的文件,用vim將其打開,可以看到以下內容:
復制代碼
代碼如下: # 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
#
# 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就是控制你的分辨率與色彩模式的,你可以把它改成你的顯示器支持的你喜歡的任意模式。數字對應的含義如下:
改變數值后保存,然后重啟次,再進來時在想要的分辨率下工作是不是舒服多了呢~~~
相關文章
- 這篇文章主要介紹了Linux中6個有趣的終端工具,這些命令行工具可以通過簡單的命令顯示出有趣的動畫效果,需要的朋友可以參考下2015-06-18
- 這篇文章主要介紹了在Linux終端中使用后臺運行模式啟動程序的方法,即通過通常的命令行GUI工具啟動后臺進程,需要的朋友可以參考下2015-06-09
- 這篇文章主要介紹了11個實用的Linux終端命令總結,第11條命令在國內注意網絡代理的使用,需要的朋友可以參考下2015-06-03