LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2003, 09:23 AM   #1
mindfrost82
Member
 
Registered: Apr 2003
Distribution: Slackware
Posts: 60

Rep: Reputation: 15
Question Changing Resolution of Linux command line


I was wondering if there's a way to change the resolution of the command line in Linux. NOT the GUI (Xserver), but the command line/terminal ...whatever you want to call it.
 
Old 07-02-2003, 09:36 AM   #2
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
The only way that I know to alter the command line screen size is by setting the vga= option from lilo (if you're using lilo as a boot manager, that is).

If using lilo, you can put vga=ask into the lilo.conf file, recompile and reboot, and you'll be asked at boot what resolution to use. For more information on this, consult man lilo.conf.

If you don't use lilo, you can use rdev/vidmode. I assume that the changes will require a reboot to take effect (don't ask me why it's this way, I think it's stupid, personally).

To alter the video mode, first run rdev to list the device on which you need to make the change (should return /dev/hda1, or something similar).

Then, run either:
rdev -v /dev/hda1 3 (3 to set to ask mode)
or
vidmode /dev/hda1 3

The -v makes rdev act like vidmode. You can learn more about these by consulting man rdev.

Hope this helps!
 
Old 07-02-2003, 09:38 AM   #3
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
Framebuffer HOWTO
 
Old 07-02-2003, 10:56 AM   #4
TheLinuxDuck
Member
 
Registered: Sep 2002
Location: Tulsa, OK
Distribution: Slack, baby!
Posts: 349

Rep: Reputation: 33
Qool, fancypiper! I had no idea that even existed! (=
I guess I should have known better..
 
Old 07-02-2003, 11:23 AM   #5
fancypiper
LQ Guru
 
Registered: Feb 2003
Location: Sparta, NC USA
Distribution: Ubuntu 10.04
Posts: 5,141

Rep: Reputation: 60
If you are going to do framebuffer, you may as well install zgv and the wb0 web browser while you are at it.

You may decide you don't really need X.

Last edited by fancypiper; 07-02-2003 at 11:36 AM.
 
Old 07-08-2003, 10:30 AM   #6
pijulius
Member
 
Registered: Jun 2003
Distribution: RedHat 9
Posts: 33

Rep: Reputation: 15
Hi Everyone

I want to set up 1400x1050 resolution in lilo, but i don't know the resolution code, i have a SonyVaio GRT100 with nVidia Geforce 4.

Please help
Thanks
Julius
 
Old 07-09-2003, 09:05 PM   #7
pijulius
Member
 
Registered: Jun 2003
Distribution: RedHat 9
Posts: 33

Rep: Reputation: 15
Talking Resolved 1400x1050 resolution

Ok, i have succesfully resolved this problem, You just need to download lfb.exe from this site: http://this.is.not-mediaways.net/but.i.am/flo/t21/ and run it, get the code for Your resolution and enter into the lilo.conf.

REMEMBER to add 0x200 to the code that You have get from the lfb.exe like this:
for me on the Geforce4 the 1400x1050 is 148h that means 0x148 and You must add 0x200 so You need to enter vga=0x348 in the lilo.conf

Enjoy
I doooooooo
 
  


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
Changing resolution in FC3. Which xorg.conf line do I edit? ColKurtz Linux - Newbie 2 02-18-2005 12:09 PM
Changing video resolution from command line? lhouk Linux - General 4 04-15-2004 02:16 PM
Setting Resolution from command line Teoryn Mandriva 5 01-23-2004 03:55 PM
Setting resolution from command line Teoryn Linux - General 1 01-23-2004 02:56 PM
How do i set my command line resolution greendusk Linux - General 1 09-26-2003 05:14 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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