Tag Archive for 'debian'

How-To: Change Console Resolution

The standard size of the console is 80 columns and 25 lines, which is too big if you want to work easily in console and don’t even use a desktop environment (or use one but also prefer to do things in console rather than an X terminal). It will also look nicer when booting up the system.

To change the resolution and colour depth of the console you need to edit the /boot/grub/menu.lst file and add one parameter to the line containing the kernel to boot. On a Debian Lenny system, this should look something like:

title Debian GNU/Linux, kernel 2.6.24-1-686
root (hd0,0)
kernel /boot/vmlinuz-2.6.24-1-686 root=/dev/hda1 ro quiet vga=791
initrd /boot/initrd.img-2.6.24-1-686

The new parameter added is vga=791, which means a resolution of 1024×768 with a colour depth of 16 bits per pixel (65,536 colours). Some other VGA modes would be:

791 - 1024×768, 16 bit
792 - 1024×768, 24 bit
794 - 1280×1024, 16 bit
795 - 1280×1024, 24 bit

After you restart the system and boot in console mode (if a graphical desktop environment is loaded, just press CTRL+ALT+F1 to go into console mode, and CTRL+ALT+F7 to go back), you’ll notice the resolution is now changed, and you can see more now than the standard 80 columns and 25 lines.

Updated: June 10, 2008 (Created: June 10, 2008)

Most Popular Posts - May

Amarok 1.4.9.1 - Probably the Last 1.x Release
A review of the most popular audio player on Linux: Amarok.

20 Essential KDE Applications - Review
Review of 20 essential KDE applications, plus several additions. Included are Amarok, K3b, KTorrent, DigiKam, Akregator and many others.

10 Reasons to Love Debian
Reasons for why I love using Debian.

One of My Favourites: Wolfenstein: Enemy Territory
A review of one of the most popular online FPS (First Person Shooter) games: Enemy Territory.

3 Must-Have Amarok Scripts
As the title says. The chosen ones are ConTEXT, Lyriki-Wiki and Playlist2HTML.

10 Audio Players for Linux - Review
Review of ten most popular audio players on Linux.

Burn Your CDs and DVDs! K3b Review
Review of the latest version of K3b, 1.0.4.

Wine 1.0 RC2 Review
I tested World of WarCraft, DC++ and mIRC using the second release candidate of Wine. See the conclusion.

KTorrent 2.2.6 - One of the Best BitTorrent Clients
Review of the KDE most popular BitTorrent client.

It Takes a Convert to Make a Convert
An essay on how I switched to Linux and what prevents most of the Windows users to do so.

Updated: June 10, 2008 (Created: June 09, 2008)