LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   changing the default resolution of tty (https://www.linuxquestions.org/questions/linux-hardware-18/changing-the-default-resolution-of-tty-325671/)

jaakkop 05-21-2005 09:59 AM

changing the default resolution of tty
 
How can I change the default resolution of tty? In start up I can change the resolution but when I go to X and come back to tty, the resolution has changed to default. Distro I use is Mepis.

Half_Elf 05-22-2005 01:18 PM

eeeh strange, how are your _changing_ your tty resolution at first? Usually it is about some options that need to be activated in kernel, then some boot options your boot loader gives to your kernel at boot. Usually, then, the resolution should not change... unless you use very strange X drivers?

jaakkop 05-23-2005 12:00 AM

Quote:

Originally posted by Half_Elf
eeeh strange, how are your _changing_ your tty resolution at first? Usually it is about some options that need to be activated in kernel, then some boot options your boot loader gives to your kernel at boot. Usually, then, the resolution should not change... unless you use very strange X drivers?
After choosing Linux in GRUB I get to choose how big the characters are. I want to know how to set the default.

This I meant.

Daylighthater 09-03-2005 10:14 AM

Hello,

My distro is Ubuntu. And I would like to change my resolution of my tty, can someone help me with this.

I have no clue where to do it, or how....


Thanks in advance!

Daylighthater 09-03-2005 12:07 PM

VMND I found it.

in grub place after the kernel start line vga=792

and the resolution is fine :D

cthulhufhtagn 08-06-2009 09:11 AM

Quote:

Originally Posted by Daylighthater (Post 1834158)
VMND I found it.

in grub place after the kernel start line vga=792

and the resolution is fine :D

And which file i have to edit to do that? I wannan know exactly the file and the positioon in the file, because I'm a beginner and don't wanna fuck up my linux... Would be a bummer.

EDIT: FORGET my question, I have found an VERY goot tutorial howto this:

Quote:

It's not very difficult to change the resolution. First,
install hwinfo, if it isn't already installed:
sudo apt-get install hwinfo

Then run:
sudo hwinfo --framebuffer

You'll see something like this:

Mode 0x0317: 1024x768 (+2048), 16 bits
Mode 0x0318: 1024x768 (+4096), 24 bits
Mode 0x031a: 1280x1024 (+2560), 16 bits
Mode 0x031b: 1280x1024 (+5120), 24 bits
Mode 0x0330: 320x200 (+320), 8 bits
Mode 0x0331: 320x400 (+320), 8 bits
Mode 0x0332: 320x400 (+640), 16 bits

Find the resolution you want and the hexadecimal equivalent of
the resolution.

For example, my choice of video resolution is 1280x1024 24 bit
so the relevant hexadecimal I need is "0x031b".

Then edit your /boot/grub/menu.lst and change your kernel
entry from this:

kernel /boot/vmlinuz-2.6.15-28-386 root=/dev/sda3 ro
quiet splash

to this:

kernel /boot/vmlinuz-2.6.15-28-386 root=/dev/sda3 ro
quiet vga=0x031b splash

Then when you enter tty mode (ctl-alt-f1 etc) you will have
high resolution tty.

Hope this helps!

Mike
and here is the site where i found that. I hope it'll help me and other Linux-Users :)


All times are GMT -5. The time now is 06:15 PM.