PDA

View Full Version : Changing console resolution?


o_fortuna
February 22nd, 2006, 01:36 AM
Does anyone know how to change the console resolution (ie, when I press Ctrl-Alt-F1 to get to the console)? The resolution is too tall on my 1024x768 LCD, so I can't see the very bottom or top of the screen (like, I run nano to edit a text file, but all of the keyboard shortcuts across the bottom are off the screen). Also, usplash is really ugly because it's stretched vertically. And, my monitor doesn't have vertical/horizontal size controls. So I couldn't change that.

roshan.s
February 22nd, 2006, 06:16 AM
You can use the "vga" kernel parameter in GRUB. To make the change permanent, edit /boot/grub/menu.lst and add "vga=792" to the end of the kopt line. (792 is for 1024x768x32)

Edit: Forgot to mention, you need to run "sudo update-grub" after modifying menu.lst

Before:
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/mapper/VolGroup00-LogVol01 ro

After:
## e.g. kopt=root=/dev/hda1 ro
# kopt=root=/dev/mapper/VolGroup00-LogVol01 ro vga=792

Also, in Dapper, while booting the install CD or the live CD, you can press F3 (for VGA) at the bootloader screen and select the desired resolution. If you do this while installing Dapper, the setting will be remembered after installation.