LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux 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
 
Search this Thread
Old 02-07-2004, 10:02 PM   #1
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Rep: Reputation: 30
Change terminal font


Hey all

I'm starting to use the virtual terminals (Ctrl-Alt F1-6) more now but i'd like to be able to change the font size (i'm used to higher res, more text on screen)... I've looked around google and also through LQ but can't find anything...

Cheers
 
Old 02-08-2004, 02:10 AM   #2
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
Do you use lilo? If so edit your lilo.conf and change the "vga=<something>" to "vga=ask". This will give you some options on boot. You can then remember which option you selected and put it into the "vga=" line. Remember to run lilo after ou edit lilo.conf.
 
Old 02-08-2004, 02:29 AM   #3
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Original Poster
Rep: Reputation: 30
K i didn't realise it had anything to do with it (well that's 4 things i've learned today)

I actually use Grub (nicer boot screen)... did a grep vga /boot/grub/* and there doesn't seem to be a vga setting in that folder....
 
Old 02-08-2004, 02:32 AM   #4
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Original Poster
Rep: Reputation: 30
I've added vga=ask to the grub conf:

Code:
# vi /boot/grub/grub.conf

title Red Hat Linux (2.4.20-8)
        root (hd0,5)
        kernel /vmlinuz-2.4.20-8 ro root=LABEL=/ hdd=ide-scsi vga=ask
        initrd /initrd-2.4.20-8.img
That should be ok, right? (i'm sure but not 100% lol)
 
Old 02-08-2004, 02:57 AM   #5
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
I'm not entirely sure about grub. I've only ever used lilo. It looks OK to me. Why don't you try it and see.
 
Old 02-08-2004, 03:01 AM   #6
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Original Poster
Rep: Reputation: 30
Tried it and worked - BUT when I change it to vga=030c it says "You passed an undefined mode number" and asks you to select it again...

Any ideas what you would change it to for lilo (for 132x60)...
 
Old 02-08-2004, 03:04 AM   #7
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Original Poster
Rep: Reputation: 30
K i've found something on it - it says to convert the o3oc to decimal (which turns out to be 780) so you have vga=780...

I'll try and post my results.
 
Old 02-08-2004, 03:09 AM   #8
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Original Poster
Rep: Reputation: 30
Worked

Thanks for the help adz
 
Old 02-08-2004, 03:17 AM   #9
adz
Senior Member
 
Registered: Jun 2003
Location: Sydney
Distribution: Debian, FreeBSD
Posts: 1,713

Rep: Reputation: 53
If I recall correctly you can also put an "0x" in front of it to specify a hexadecimal number.
 
Old 02-08-2004, 03:51 AM   #10
AMMullan
Member
 
Registered: Sep 2003
Location: United Kingdom
Distribution: Ubuntu, Arch
Posts: 437

Original Poster
Rep: Reputation: 30
http://www.usd.edu/~djennewe/blog/rh8.html

On that page it says to convert the hex value (030c) to a decimal (780)...
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
change font size in terminal window homerjpbody Linux - Newbie 3 08-08-2008 09:26 PM
init 3 and terminal font size ninjaz Red Hat 3 10-03-2005 04:35 PM
Changing terminal font size rose_bud4201 Linux - General 4 05-26-2005 08:17 AM
Terminal font and color berkay Linux - Newbie 10 09-23-2004 02:19 AM
System terminal font...which font is it? Dabria Linux - Software 1 06-30-2004 11:20 AM


All times are GMT -5. The time now is 01:31 PM.

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
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration