LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-17-2006, 05:36 AM   #1
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Rep: Reputation: 31
How do you change the resolution in the console(tty) ?


Does anyone know how to change the resolution or font size in the console? That font is way too large and sometimes I need to fix some things in the console. I need to do this on FC5. Thank you.
 
Old 05-17-2006, 05:43 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
you know, i'm not totally sure in fc5. the standard way is to use a framebuffer resolution to do this. here you would pass an option like "vga=791" on the grub kernel options and that would give you a nice 1024x768 framebuffer terminal, instead of a direct 48x80 terminal or whatever that resolution is. try this but i think that the rhgb module (redhat graphical boot) disables this, or the default fedora kernels do not support vga framebuffers. i find the latter unlikely as it's a fairly big thing, but try that vga option and see how it goes. if that doesn't do anything then try removing the rhgb option as well.
 
Old 05-17-2006, 06:08 AM   #3
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Original Poster
Rep: Reputation: 31
Quote:
Originally Posted by acid_kewpie
here you would pass an option like "vga=791" on the grub kernel options and that would give you a nice 1024x768 framebuffer terminal
That worked. I don't use rhgb option because I don't like it anyway. I still have another question: 1024x768 is exactly the resolution I wanted, but I'm just curious how does it know to make the connection between 791 and 1024x768 and how would you do if you wanted another resolution. Thanks in advance.
 
Old 05-17-2006, 06:42 AM   #4
ethics
Senior Member
 
Registered: Apr 2005
Location: London
Distribution: Arch - Latest
Posts: 1,522

Rep: Reputation: 45
no idea how it works it out but check the grub.conf/menu.lst.

Mine (arch) is commented with a table for different resolutions and their corresponding frame buffer sizes
 
Old 05-17-2006, 06:54 AM   #5
zahadumy
Member
 
Registered: May 2005
Location: Cluj, Romania
Distribution: Fedora Core 6
Posts: 226

Original Poster
Rep: Reputation: 31
Oka. 10x guys.
 
Old 05-17-2006, 07:05 AM   #6
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
there is a table which defines which size and color depths to use in the framebuffer howto, which i normally google for. you can specify 791 which is a decimal value, opr the hex equivalent, which is 0x319 or something very similar.
 
  


Reply



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
Change resolution in TTY Daylighthater Ubuntu 1 09-03-2005 12:09 PM
How to change console resolution? Lurker01 *BSD 11 05-20-2005 06:27 PM
How to change the console resolution? ssobeht Debian 3 03-09-2005 01:02 PM
How to change console resolution? 386 Linux - Software 6 10-15-2004 09:28 AM
change tty => system crashes (ati driver/tty resolution) mosca Debian 6 08-05-2004 07:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:16 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration