LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux > Linux - General
User Name
Password
Linux - General This forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Thread Tools
Old 12-26-2007, 12:27 AM   #1
mmcheese
LQ Newbie
 
Registered: Dec 2007
Posts: 5
Thanked: 0
smaller console font


[Log in to get rid of this advertisement]
hi i am using debian and when i switch to a console with ctrl-alt-f1 the font is huge and i was wondering if there is a way to make it smaller. please help me if you can and if possible with step-by-step instructions thanks
mmcheese is offline     Reply With Quote
Old 12-26-2007, 01:33 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: Dali, China
Distribution: Slackware
Posts: 6,620
Thanked: 50
Welcome to LQ!

In a terminal as root edit "/etc/lilo.conf" and change the console font. Here's mine:
Code:
mingdao@silas:~$ cat /etc/lilo.conf
# LILO configuration file
# generated by 'liloconfig'
#
# Start LILO global section
lba32 # Allow booting past 1024th cylinder with a recent BIOS
boot = /dev/sda
compact # faster, but won't work on all systems.
prompt
timeout = 50
# VESA framebuffer console @ 1024x768x256
#vga = 773
vga = 795
# Linux bootable partition config begins
image = /boot/vmlinuz
initrd = /boot/initrd.gz
root = /dev/mapper/cryptslackroot
label = Slackware
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/mapper/cryptslamdroot
label = Slamd64
read-only # Partitions should be mounted read-only for checking
# Linux bootable partition config ends
# Windows bootable partition config begins
other = /dev/sda1
label = Windows
# map-drive = 0x80
# to = 0x81
# map-drive = 0x81
# to = 0x80
table = /dev/sda
# Windows bootable partition config ends
The "vga = 795" line makes console 1280x1024x24 -- you can Google "set console font" or similar for other sizes.
Bruce Hill is offline     Reply With Quote
Old 12-26-2007, 01:49 AM   #3
mmcheese
LQ Newbie
 
Registered: Dec 2007
Posts: 5
Thanked: 0

Original Poster
thanks for the quick reply, however, i use grub as my bootloader. also, i've tried various vga values in the grub conf file but they just seem to make the font smaller for a few seconds during bootup then it reverts back.
any other suggestions?
mmcheese is offline     Reply With Quote
Old 12-26-2007, 05:28 AM   #4
SciYro
Senior Member
 
Registered: Oct 2003
Location: hopefully not here
Distribution: Gentoo
Posts: 2,038
Thanked: 12
Does it revert back before or after the kernel is done booting?
SciYro is offline     Reply With Quote
Old 12-26-2007, 02:00 PM   #5
mmcheese
LQ Newbie
 
Registered: Dec 2007
Posts: 5
Thanked: 0

Original Poster
to be honest, i'm not exactly sure.
early on in the dmesg there is a line with whatever res i choose at the beginning:
Code:
Console: colour VGA 132x60
console [tty0] enabled
then after a bunch more lines there is this:
Code:
Boot video device is 0000:00:01.0
vga16fb: initializing
vga16fb: mapped to 0xc00a0000
Console: switching to colour frame buffer device 80x30
fb0: VGA16 VGA frame buffer device
fb1: Virtual frame buffer device, using 1024K of video memory
i'm fairly sure this is where it switches to the smaller resolution with a penguin logo. after this there's a bunch more lines and it finishes and launches gdm. i'm not sure if that answers your question though
mmcheese is offline     Reply With Quote
Old 12-26-2007, 10:43 PM   #6
kzutter
Member
 
Registered: Nov 2007
Location: Carson City, NV USA
Distribution: Debian Lenny System: AMD32, nVidia Desktop: KDE ................. Servers: NX, MythTV, SlimServer
Posts: 68
Thanked: 0
Thumbs up

Well, it helps to know which font you want to switch to.
Look in /usr/share/consolefonts/ to see your default choices.

try this in a console window
Code:
consolechars -f cp857-8x8
You can learn more at:
http://dsl.org/cookbook/cookbook_20.html#SEC318

It was pretty easy to find on google.

To learn more about the consolechars command:

Code:
man consolechars
Have Fun!
kzutter is offline     Reply With Quote
Old 12-26-2007, 11:04 PM   #7
mmcheese
LQ Newbie
 
Registered: Dec 2007
Posts: 5
Thanked: 0

Original Poster
eh my bad, i should have titled my thread differently. i'm actually looking for a way to raise the resolution of the console. thanks for the suggestion though, i might stick with it if i can't get the console res up
mmcheese is offline     Reply With Quote
Old 12-26-2007, 11:21 PM   #8
mmcheese
LQ Newbie
 
Registered: Dec 2007
Posts: 5
Thanked: 0

Original Poster
ok to restate my question (because i didnt do a good job the first time): i have this graphics card:
Code:
00:01.0 VGA compatible controller: Intel Corporation 82810 CGC [Chipset Graphics Controller] (rev 03)
can anyone please tell me what i need to do in order to get the console to 1024x768 resolution. ie what do i need to compile into the kernel, what i need to put in my grub conf file, etc. whatever is necessary. if you have that information i will be incredibly grateful to you
mmcheese is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Smaller Font Size In HTML runnerpaul Programming 3 06-13-2007 07:20 AM
Smaller font during startup? Timmy66 Debian 6 12-13-2006 04:53 PM
smaller font with aterm lothario Linux - Software 2 11-06-2006 06:58 PM
how could i make my font size smaller in terminal Paxmaster Linux - Software 3 02-05-2005 09:43 PM
how to get smaller font on TTY browny_amiga Linux - General 2 06-10-2003 06:34 AM


All times are GMT -5. The time now is 12:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration