runlevel 3 设置显示参数
2010-12-20 13:06
148 查看
Linux: How to change the text size or character size in runlevel 3 (text mode)
by LinuxTitli on September 6, 2006 · 0 commentsIf you have large size (21") or small size (14") monitor, it is
better to use large/small character size. But how do you setup
character size in runlevel 3 under Linux?
The answer is simple, use the kernel framebuffer. It allows you to
set the Linux text scree (console) to higher or lower resolution. The Linux framebuffer (fbdev)
is a graphic hardware-independent abstraction layer to show graphics on
a console without relying on system-specific libraries such as SVGALib
or the heavy overhead of the X Window System.
Open GRUB configuration file grub.conf
# vi grub.conf
Append line vga=0x318 (a 24-bit color depth @ 1024x768 display) to kernel line. At the end your modification should look like as follows:
title Debian Linux, AMD-VSNL (VMWARE) root (hd1,0) kernel /boot/vmlinuz-2.6.17.11-ROCKY-DEV-AMD root=/dev/hdb1 ro vga=0x318 initrd /boot/initrd.img-2.6.17.11-ROCKY-DEV-AMD savedefault boot
Save and close the file. Reboot the system:
# reboot
0x318 (hex) is a mode. Here are common modes:
相关文章推荐
- hwclock命令参数及用法详解--Linux显示/设置硬件时钟命令
- 第二十九节:数码管通过切换窗口来设置参数,并且不显示为0的高位。
- Tkinter 中 Toplevel 里 Label 参数里面设置的图片对象 不能正常显示
- python matplotlib 中文显示参数设置
- CURSOR游标显示和放大参数设置
- 使用SMARTFORM字段参数设置解决SMARTFORM中数量、金额字段显示问题
- window.open参数设置及如何全屏显示(转)
- 在IE中显示pdf文档的方法及参数设置
- linux hwclock命令参数及用法详解--linux显示/设置硬件时钟命
- python matplotlib 中文显示参数设置
- Android中关于view隐藏显示的参数设置
- Idea 设置显示当前方法参数提示
- TextView最多设置多少行,然后多出来打点显示(涉及的一些参数)
- oracle如何设置show parameter显示隐含参数
- 【转载】SMARTFORM字段参数设置 解决SMARTFORM中数量、金额字段显示 等问题
- 嵌入式 SQLite3 命令行参数设置与显示参数设置
- python matplotlib 中文显示参数设置
- echo命令选项及设置文字颜色显示详细参数
- U-boot中通过ENV设置显示设备(如LCD)参数的方法与格式
- 关于ImageLoader 设置圆角参数后不显示图片的问题