修改Linux文本(命令列)模式的解析度

來源:互聯網
上載者:User

修改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/hdadefault=0timeout=5gfxmenu (hd0,0)/messagetitle RedFlag (2.6.22.6-1)root (hd0,0)kernel /vmlinuz-2.6.22.6-1 ro root=LABEL=/ vga=788 splash=silentinitrd /initrd-2.6.22.6-1.img 其中這個vga=788就是控制你的解析度與色彩模式的,你可以把它改成你的顯示器支援的你喜歡的任意模式。數字對應的含義如下:  改變數值後儲存,然後重啟次,再進來時在想要的解析度下工作是不是舒服多了呢~~~ 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.