LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-11-2006, 04:14 AM   #1
sunpascal
Member
 
Registered: Jan 2005
Distribution: Debian
Posts: 104

Rep: Reputation: 15
how do I change the command line resulution?


hi,
how do I change the command line resulution on debian?
During boot up the command line resolution and font is ok, but half way through the boot up process it says something like "adjusting font" and the font and resolution is pretty ugly.
I once have svgatextmode installed, but deleted it, since it didn't give me what I needed.

-sunpascal
 
Old 03-11-2006, 04:52 AM   #2
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
You can append a line such as "vga=788" to your kernel section in your bootloader config file e.g.
Code:
title Mandriva 2006
kernel (hd0,0)/boot/vmlinuz root=/dev/hda1  resume=/dev/hda5 splash=silent vga=788
initrd (hd0,0)/boot/initrd.img
This thread has a list of vga modes and their corresponding resolution.
 
Old 03-11-2006, 08:17 AM   #3
sunpascal
Member
 
Registered: Jan 2005
Distribution: Debian
Posts: 104

Original Poster
Rep: Reputation: 15
thanks for your reply.
I am using grub by the way.
Are you sure, that the problem is with the boot loader, because the command line resolution is good right after the boot loader is done. It is only later that it gets messed up.
-pascal
 
Old 03-11-2006, 09:17 AM   #4
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
The vga modes work on grub and lilo. I am not sure exactly what the problem is, but tinker with your vga settings to see if there is a difference.
 
Old 03-11-2006, 09:27 AM   #5
sunpascal
Member
 
Registered: Jan 2005
Distribution: Debian
Posts: 104

Original Poster
Rep: Reputation: 15
were do I edit the config for grub though?
 
Old 03-11-2006, 09:28 AM   #6
sunpascal
Member
 
Registered: Jan 2005
Distribution: Debian
Posts: 104

Original Poster
Rep: Reputation: 15
do I have to run grub after making changes?
 
Old 03-11-2006, 09:33 AM   #7
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Your grub config file should be /boot/grub/menu.lst (/boot/grub.conf on some systems). You don't need to run the grub command after editing the grub config file.
 
Old 03-11-2006, 09:51 AM   #8
sunpascal
Member
 
Registered: Jan 2005
Distribution: Debian
Posts: 104

Original Poster
Rep: Reputation: 15
can I just add vga=ask to the following?

Code:
title		Debian GNU/Linux, kernel 2.4.27-2-386
root		(hd0,1)
kernel		/boot/vmlinuz-2.4.27-2-386 root=/dev/hda2 ro 
initrd		/boot/initrd.img-2.4.27-2-386
savedefault
boot
sorry, I'm afraid of messing up my pc...
 
Old 03-11-2006, 10:00 AM   #9
tomdkat
Member
 
Registered: May 2003
Location: S.F. Bay Area
Distribution: Ubuntu 9.04 AMD64
Posts: 595

Rep: Reputation: 30
Depending on the kind of terminal you're running (xterm, Eterm, rxvt, [whatever]-term), you might be able to adjust the font settings for the terminal itself.

I run Eterm and it has a "Font" pull-down menu I can use to change the font.

When you open a terminal window, see if the name of the kind of terminal appears in the window title. Once you know if you're running xterm or whatever, do a "man [terminal type]" to see what your configurability options are.

For example, "man xterm" listed several options relating to fonts, colors, and so on.

Peace...
 
Old 03-11-2006, 10:20 AM   #10
reddazz
LQ Guru
 
Registered: Nov 2003
Location: N. E. England
Distribution: Fedora, CentOS, Debian
Posts: 16,298

Rep: Reputation: 77
Quote:
can I just add vga=ask to the following?
Yes you can but remember that if you use vga=ask, you will be asked for the resolution ech time you boot your system.
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
change background via command line verbose Linux - General 10 07-19-2012 10:31 AM
how to change workspace by command line melinda_sayang Slackware 29 07-21-2011 03:51 AM
change the time from the command line juanb Linux - Newbie 3 10-31-2007 02:11 AM
Change workspace from command line 3saul Linux - Software 4 11-18-2005 06:02 PM
Can I change the console command line? coopns Linux - Newbie 3 06-16-2004 07:20 PM

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

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