LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 12-17-2005, 07:12 PM   #1
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Rep: Reputation: 30
How to change resolution in terminal mode


I installed FC4 on my crappy laptop so I had to forgo the X windows system. However, I notice that the display is only using 640x480 when my laptop supports upto 800x600. Does how I can change the display to use 800x600?
 
Old 12-17-2005, 08:23 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
If you are using a framebuffer driver (as you likely should be for text mode on a notebook), you can append a vga= argument to the end of your kernel command line using lilo or grub. See their respective man pages for vga= values.

You can also look into setfont, if it is physically using the whole screen, but you want smaller text.
 
Old 12-17-2005, 09:07 PM   #3
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Original Poster
Rep: Reputation: 30
I've tried the vga= option but that just stretches the text it doesn't actually change the resolution. Basically, Linux is not currently using the entire screen space. I have "free space" around the screen. For example, when FC4 boots, the GRUB boot up screen which has a blue background has a thick black border around it since it's not using the entire screen. I hope that clears it up.
 
Old 12-18-2005, 06:48 AM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
As others have advised use the option of adding vga=XXX to your kernel line. Here an example and a table to assist you;

kernel /vmlinuz-2.4.18-19.8.0 vga=773 ro root=LABEL=/

In the example the screen resolution will be at 1024x768x256colors or
128 cols + 48 lines. See the table below for other resolutions and color
depths. (Best viewed with a mono-space font)

Colors 640x480 800x600 1024x768 1280x1024

256 769 771 773 775

32k 784 787 790 793

64k 785 788 791 794

16M 786 789 792 795
 
Old 12-18-2005, 07:15 PM   #5
aznluvsmc
Member
 
Registered: Aug 2004
Location: Newmarket, Ontario
Distribution: OpenSuse 10.2
Posts: 184

Original Poster
Rep: Reputation: 30
Thanks a lot Lenard. Where did you get the numerical values from?
 
Old 12-19-2005, 08:42 AM   #6
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Got them from;

http://www.tldp.org/HOWTO/Framebuffer-HOWTO.html

and converted them from hex to decimal using kcalc with logic active, example;

0x300 = 773

Just set for Hex enter the value 300 the select Dec

I forget where I read that it OK to use decimal values instead of hex values, it's been a number of (4-5) years since I read that. I keep a short cheat sheet handy.
 
  


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
Can't change resolution in text mode. sayantan Linux - Newbie 4 08-25-2010 07:26 PM
Change non-X (terminal) resolution? Bohiti Linux - Newbie 3 07-28-2005 02:22 PM
Trying to use "vidcontrol" to change resolution in console mode sether *BSD 2 09-10-2004 01:46 AM
how to change virtual terminal resolution? lothario Linux - Software 5 05-20-2004 07:25 AM
RedHat 7.3 / How to change resolution & how to logout and into a terminal fleshwound Linux - Software 1 07-09-2003 07:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 04:44 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